* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #F5F5F4;
    color: #1A1A1A;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/*HEADER*/
.header {
    background: #0082C3;
    color: white;
    padding: 16px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
}

.nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.nav-link:hover { text-decoration: underline; }

.nav-user { font-size: 14px; opacity: 0.9; }

/*MAIN*/
main {
    padding: 40px 0;
    min-height: calc(100vh - 130px);
}

main h1 { margin-bottom: 16px; font-size: 28px; }
main h2 { margin: 24px 0 12px; font-size: 22px; }
main p { margin-bottom: 12px; }

/*ALERTS*/
.alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.alert-success {
    background: #D9F3E0;
    color: #0F6E2E;
    border: 1px solid #0F6E2E;
}

.alert-error {
    background: #FBDADA;
    color: #A32D2D;
    border: 1px solid #A32D2D;
}

/*BOUTONS*/
.btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
}

.btn-primary { background: #0C447C; color: white; }
.btn-primary:hover { background: #073060; }

.btn-secondary { background: transparent; color: white; border: 1px solid white; }

/*FOOTER*/
.footer {
    background: #1A1A1A;
    color: white;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
}



/* FORMULAIRES AUTH */
.auth-container {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.08);
}

.auth-card-large {
    max-width: 540px;
}

.auth-card h1 {
    text-align: center;
    color: #0C447C;
    margin-bottom: 4px;
}

.auth-subtitle {
    text-align: center;
    color: #6B6B68;
    margin-bottom: 24px;
    font-size: 14px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: #1A1A1A;
}

.form-group .required {
    color: #E24B4A;
}

.form-group input {
    padding: 11px 14px;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group input:focus {
    outline: none;
    border-color: #0082C3;
    box-shadow: 0 0 0 3px rgba(0,130,195,0.15);
}

.btn-block {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    margin-top: 8px;
}

.auth-footer-link {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: #6B6B68;
}

.auth-footer-link a {
    color: #0082C3;
    font-weight: 500;
    text-decoration: none;
}

.auth-footer-link a:hover {
    text-decoration: underline;
}

.alert ul {
    margin-left: 20px;
}