* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    padding: 20px;
}

.container {
    background: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Header Sanofi */
.sanofi-header {
    background: white;
    /* padding: 20px 40px; */
    border-bottom: 3px solid #4963af;
    text-align: right;
}

.sanofi-logo {
    height: 40px;
}

/* Content area */
.content {
    padding: 40px;
}

/* Titles */
.page-title {
    color: #333;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.section-title {
    font-size: 18px;
    color: #4b63ae;
    font-weight: 700;
    margin: 30px 0 20px 0;
    text-transform: uppercase;
}

.validation-message {
    color: #4b63ae;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 30px;
}

/* Material Design Floating Labels */
.form-field {
    position: relative;
    margin-bottom: 24px;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 7px 0;
    border: none;
    /* border-bottom: 1px solid #ccc; */
    background: rgb(246, 244, 244);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
    text-indent: 1rem;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    /* border-bottom: 2px solid rgb(73, 99, 175); */
    background: rgb(246, 244, 244);
}

.form-field label {
    position: absolute;
    left: 8px;
    top: 8px;
    font-size: 14px;
    color: #717070;
    pointer-events: none;
    transition: all 0.2s ease;
    background: transparent;
}

/* Label flottant quand focus ou rempli */
.form-field input:focus ~ label,
.form-field input:not(:placeholder-shown) ~ label,
.form-field select:focus ~ label,
.form-field textarea:focus ~ label,
.form-field textarea:not(:placeholder-shown) ~ label,
.form-field.has-value label {
    top: -5px;
    font-size: 11px;
    /* color: rgb(73, 99, 175); */
    color: rgba(0,0,0,0.5);
    font-weight: 500;
    transition: all 0.2s ease;
}

/* Champs requis */
.form-field label .required {
    color: #d32f2f;
}

/* État erreur de validation */
.form-field.error label {
    color: #d32f2f !important;
    font-weight: 600;
}

.form-field.error input {
    background: #fff0f0;
    border-bottom: 2px solid #d32f2f;
}

/* Grid layout pour 2 colonnes */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-row-single {
    display: grid;
    grid-template-columns: 1fr;
}

/* Buttons */
.btn {
    padding: 12px 32px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-family: inherit;
}

.btn-primary {
    background: rgb(73, 99, 175);
    color: white;
}

.btn-primary:hover {
    background: #6C00CB;
    color: rgb(230, 230, 230);
    box-shadow: 0 4px 8px rgba(123, 0, 231, 0.3);
    transition: all 0.15s ease;
}

.btn-primary:disabled {
    background-color: #cfcfcf !important;
    cursor: not-allowed;
}

.btn-secondary-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.btn-secondary {
    background: #003061;
    color: white;
    font-size: 14px;
    padding: 10px 24px;
    border-radius: 0px !important;
}

.btn-secondary:hover {
    background: #6C00CB;
    color: rgb(230, 230, 230);
    transition: all 0.15s ease;
}

.btn-center {
    display: block;
    margin: 30px auto;
}

/* Links */
.link-help {
    color: rgb(73, 99, 175);
    text-decoration: underline;
    font-size: 14px;
    font-style: italic;
    display: inline-block;
    margin-top: 10px;
    cursor: pointer;
}

.link-help:hover {
    color: #4a3a8f;
}

/* Info icon */
.info-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: rgb(73, 99, 175);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 14px;
    font-weight: bold;
    margin-left: 10px;
    cursor: help;
    vertical-align: middle;
}

/* Help text */
.help-text {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
    line-height: 1.5;
}

/* Required indicator */
.required-note {
    font-size: 13px;
    color: #666;
    margin: 20px 0;
}

/* Separator */
.separator {
    height: 3px;
    background: rgb(73, 99, 175);
    margin: 30px 0;
}

/* Date picker styling */
input[type="date"] {
    color: #666;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
}

/* Navigation buttons */
.navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 10px;
}

#prevBtn {
    background: #f5f5f5;
    color: #666;
}

#prevBtn:hover {
    background: #e0e0e0;
}

#nextBtn {
    background: rgb(73, 99, 175);
    color: white;
    margin-left: auto;
}

#nextBtn:hover {
    background: #4a3a8f;
}

/* Progress indicator (optional, can be hidden) */
.progress-bar {
    display: none;
}

/* Success page */
.success-page {
    text-align: center;
    padding: 60px 20px;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    margin: 0 auto 30px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.success-page h2 {
    color: #4CAF50;
    margin-bottom: 15px;
    font-size: 28px;
}

.success-page p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/* Footer info */
.footer-info {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    font-size: 13px;
    line-height: 1.6;
    color: #666;
}

.footer-info strong {
    color: #333;
}

.phone-number {
    background: #4CAF50;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    margin-left: 8px;
    font-weight: bold;
}

.service-label {
    font-size: 11px;
    background: #4CAF50;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 4px;
}

/* Legal links */
.legal-links {
    margin-top: 30px;
    text-align: center;
}

.legal-links a {
    color: rgb(73, 99, 175);
    text-decoration: underline;
    font-size: 14px;
}

.legal-links a:hover {
    color: #4a3a8f;
}

/* Legal text */
.legal-text {
    margin-top: 30px;
    font-size: 11px;
    line-height: 1.6;
    color: #666;
    text-align: justify;
}

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .content {
        padding: 20px;
    }

    .sanofi-header {
        padding: 15px 20px;
    }
}

/* Animation */
.step {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
