/* ===================================
   FORMULAIRE D'INSCRIPTION
   Styles pour inscription-invite.html et inscription-sponsor.html
   =================================== */

/* Form Hero */
.form-hero {
    background: linear-gradient(135deg, #004a7c 0%, #0066a1 100%);
    padding: 110px 0 40px;
    color: white;
    margin-top: 0;
}

.sponsor-hero {
    background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb i {
    font-size: 0.7rem;
    opacity: 0.7;
}

.breadcrumb span {
    opacity: 1;
    font-weight: 600;
}

.form-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.form-subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    opacity: 0.95;
    max-width: 800px;
}

/* Form Section */
.form-section {
    padding: 50px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.form-wrapper {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 25px;
    align-items: start;
}

/* Sidebar */
.form-sidebar {
    position: sticky;
    top: 100px;
}

.benefits-card,
.event-info-card,
.contact-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
}

.benefits-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #004a7c, #0066a1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 20px;
}

.sponsor-benefits .benefits-icon {
    background: linear-gradient(135deg, #e67e22, #f39c12);
}

.benefits-card h3,
.event-info-card h4,
.contact-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    color: #555;
}

.benefits-list i {
    color: #0066a1;
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.event-info-card h4 {
    font-size: 1.1rem;
    text-align: left;
    margin-bottom: 8px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-info-card h4:first-child {
    margin-top: 0;
}

.event-info-card p,
.contact-card p {
    color: #666;
    margin-bottom: 12px;
    line-height: 1.6;
}

.selected-package {
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.1), rgba(243, 156, 18, 0.1));
    padding: 20px;
    border-radius: 12px;
    margin: 16px 0;
}

.selected-package p {
    margin-bottom: 8px;
    color: #333;
}

.package-note {
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
    text-align: center;
}

/* Form Main */
.form-main {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.registration-form {
    max-width: 100%;
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 3px solid #e67e22;
}

/* Form Groups */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066a1;
    box-shadow: 0 0 0 3px rgba(0, 102, 161, 0.1);
}

.sponsor-form input:focus,
.sponsor-form select:focus,
.sponsor-form textarea:focus {
    border-color: #e67e22;
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Checkbox and Radio Groups */
.checkbox-group,
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-label,
.radio-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.checkbox-label:hover,
.radio-label:hover {
    background: #f8f9fa;
}

.checkbox-label input,
.radio-label input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.consent-label {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
}

.consent-label input {
    margin-right: 12px;
}

/* Confirmation Box */
.confirmation-box {
    background: linear-gradient(135deg, rgba(0, 102, 161, 0.1), rgba(0, 74, 124, 0.1));
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 32px;
    border: 2px solid rgba(0, 102, 161, 0.2);
}

.sponsor-confirmation {
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.1), rgba(243, 156, 18, 0.1));
    border-color: rgba(230, 126, 34, 0.2);
}

.confirmation-box i {
    font-size: 3rem;
    color: #0066a1;
    margin-bottom: 16px;
}

.sponsor-confirmation i {
    color: #e67e22;
}

.confirmation-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.confirmation-box p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.btn-prev,
.btn-next,
.btn-submit {
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-prev {
    background: #f0f0f0;
    color: #666;
}

.btn-prev:hover {
    background: #e0e0e0;
    transform: translateX(-3px);
}

.btn-next,
.btn-submit {
    background: linear-gradient(135deg, #004a7c, #0066a1);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 102, 161, 0.3);
}

.sponsor-form .btn-next,
.sponsor-form .btn-submit {
    background: linear-gradient(135deg, #e67e22, #f39c12);
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.btn-next:hover,
.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 161, 0.4);
}

.sponsor-form .btn-next:hover,
.sponsor-form .btn-submit:hover {
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.4);
}

/* Step Indicators */
.step-indicators {
    display: flex;
    gap: 12px;
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.step-dot.active {
    background: #0066a1;
    width: 32px;
    border-radius: 6px;
}

.sponsor-form .step-dot.active {
    background: #e67e22;
}

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

    .form-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .form-hero {
        padding: 50px 0 30px;
    }

    .form-title {
        font-size: 2rem;
    }

    .form-subtitle {
        font-size: 1rem;
    }

    .form-main {
        padding: 30px 24px;
    }

    .step-title {
        font-size: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .form-sidebar {
        grid-template-columns: 1fr;
    }

    .form-navigation {
        flex-wrap: wrap;
        gap: 16px;
    }

    .btn-prev,
    .btn-next,
    .btn-submit {
        flex: 1;
        justify-content: center;
        min-width: 120px;
    }

    .step-indicators {
        order: -1;
        width: 100%;
        justify-content: center;
    }
}