/* ===========================
   CJCA 2026 - Inscription Premium CSS
   =========================== */

/* Page Header */
.page-header {
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #2341AF 0%, #1C358E 50%, #152A70 100%);
}

.page-header-bg {
    position: absolute;
    inset: 0;
}

.page-header-bg .floating-shapes .shape {
    filter: blur(80px);
    opacity: 0.3;
}

.page-header-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.page-tag i {
    color: #5BC0DE;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.page-header h1 em {
    font-style: normal;
    color: #5BC0DE;
}

.page-header p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    max-width: 500px;
    margin: 0 auto;
}

/* Inscription Main */
.inscription-main {
    padding: 60px 0 80px;
    background: #F5F7FA;
    min-height: 100vh;
}

.inscription-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

/* Form Section */
.form-section {
    width: 100%;
}

.form-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* Form Progress */
.form-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid #E5E7EB;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #F3F4F6;
    border: 2px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #9CA3AF;
    transition: var(--transition);
    position: relative;
}

.step-check {
    display: none;
}

.progress-step.active .step-circle {
    background: linear-gradient(135deg, #2341AF, #3A5AC0);
    border-color: #2341AF;
    color: #fff;
    box-shadow: 0 4px 20px rgba(35, 65, 175, 0.35);
}

.progress-step.completed .step-circle {
    background: #22C55E;
    border-color: #22C55E;
    color: #fff;
}

.progress-step.completed .step-number {
    display: none;
}

.progress-step.completed .step-check {
    display: block;
}

.step-label {
    font-size: 0.8rem;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
    color: #2341AF;
    font-weight: 600;
}

.progress-connector {
    width: 80px;
    height: 2px;
    background: #E5E7EB;
    margin: 0 16px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.progress-connector::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #2341AF, #5BC0DE);
    transition: var(--transition-slow);
}

.progress-step.completed + .progress-connector::after {
    width: 100%;
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-header {
    margin-bottom: 32px;
}

.step-header h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: #1F2937;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.step-header h2 i {
    color: #2341AF;
}

.step-header p {
    color: #6B7280;
    font-size: 0.95rem;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 0;
}

.form-group.full-width {
    grid-column: span 2;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.form-group label .required {
    color: #EF4444;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    font-size: 1rem;
    transition: var(--transition);
    z-index: 1;
}

.input-wrapper.textarea-wrapper i {
    top: 16px;
    transform: none;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: #F9FAFB;
    border: 1.5px solid #E5E7EB;
    border-radius: 12px;
    color: #1F2937;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.input-wrapper textarea {
    resize: vertical;
    min-height: 100px;
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
    color: #9CA3AF;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    outline: none;
    border-color: #2341AF;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(35, 65, 175, 0.1);
}

.input-wrapper input:focus + i,
.input-wrapper:has(input:focus) i,
.input-wrapper:has(select:focus) i,
.input-wrapper:has(textarea:focus) i {
    color: #2341AF;
}

.input-wrapper select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%239CA3AF' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.input-wrapper select option {
    background: #fff;
    color: #1F2937;
    padding: 12px;
}

.form-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 0.8rem;
    color: #6B7280;
}

.form-hint i {
    color: #2341AF;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #E5E7EB;
}

/* Photo Section */
.photo-section {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.photo-preview-container {
    position: relative;
}

.photo-preview {
    width: 200px;
    height: 240px;
    background: #F3F4F6;
    border: 2px dashed #D1D5DB;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #9CA3AF;
    overflow: hidden;
    transition: var(--transition);
}

.photo-preview.has-photo {
    border-style: solid;
    border-color: #2341AF;
}

.photo-preview i {
    font-size: 3rem;
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-badge-preview {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #2341AF;
    color: #fff;
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.photo-upload-options {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.photo-hint {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #EFF6FF;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    color: #374151;
    font-size: 0.9rem;
    border: 1px solid #DBEAFE;
}

.photo-hint i {
    color: #2341AF;
    margin-top: 2px;
}

.upload-buttons {
    display: flex;
    gap: 12px;
}

.upload-buttons .btn {
    flex: 1;
}

/* Terms Section */
.terms-section {
    margin-bottom: 24px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    cursor: pointer;
    padding: 16px;
    background: #F9FAFB;
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid #E5E7EB;
}

.checkbox-container:hover {
    background: #EFF6FF;
    border-color: #DBEAFE;
}

.checkbox-container input {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: #fff;
    border: 2px solid #D1D5DB;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    color: transparent;
    transition: var(--transition);
}

.checkbox-container input:checked + .checkmark {
    background: #2341AF;
    border-color: #2341AF;
}

.checkbox-container input:checked + .checkmark::after {
    color: #fff;
}

.checkbox-text {
    color: #4B5563;
    font-size: 0.9rem;
    line-height: 1.6;
}

.checkbox-text a {
    color: #2341AF;
    text-decoration: underline;
}

/* Info Section */
.info-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 120px;
}

/* ===== Sidebar Cards ===== */
.sidebar-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 24px;
    overflow: hidden;
    word-wrap: break-word;
}

.sidebar-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 14px;
}

.sidebar-card p {
    color: #6B7280;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.sidebar-icon {
    width: 44px;
    height: 44px;
    background: #EFF6FF;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #2341AF;
    margin-bottom: 14px;
}

/* Sidebar - Informations list */
.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4B5563;
    font-size: 0.88rem;
    padding: 6px 0;
}

.sidebar-list li i {
    color: #22C55E;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Sidebar - Événement (highlight) */
.sidebar-highlight {
    background: linear-gradient(135deg, #2341AF, #1C358E);
    border-color: transparent;
}

.sidebar-highlight h3 {
    color: #fff;
}

.sidebar-highlight .sidebar-icon {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.sidebar-event {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sidebar-event-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.sidebar-event-row:last-child {
    border-bottom: none;
}

.sidebar-event-row span {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
}

.sidebar-event-row strong {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}

/* Sidebar - Contact */
.sidebar-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4B5563;
    font-size: 0.85rem;
    padding: 6px 0;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.sidebar-contact i {
    color: #2341AF;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.sidebar-contact:hover {
    color: #2341AF;
}

/* Camera Modal */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 24px;
    backdrop-filter: blur(10px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 24px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    position: relative;
    animation: modalIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: #EF4444;
    border-color: #EF4444;
    color: #fff;
}

.modal-content h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: #1F2937;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-content h3 i {
    color: #2341AF;
}

.camera-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
}

.camera-container video {
    width: 100%;
    display: block;
}

.camera-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.camera-frame {
    width: 180px;
    height: 220px;
    border: 3px solid #2341AF;
    border-radius: 16px;
    box-shadow: 0 0 0 1000px rgba(0, 0, 0, 0.5);
}

.camera-actions {
    display: flex;
    gap: 12px;
}

.camera-actions .btn {
    flex: 1;
}

/* Success Modal */
.success-modal {
    text-align: center;
    max-width: 450px;
}

.success-animation {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 32px;
}

.success-circle {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    position: relative;
    z-index: 1;
    animation: successPop 0.5s ease;
}

@keyframes successPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.success-rings {
    position: absolute;
    inset: -20px;
}

.ring {
    position: absolute;
    inset: 0;
    border: 2px solid #22C55E;
    border-radius: 50%;
    animation: ringPulse 1.5s ease infinite;
}

.ring-1 { animation-delay: 0s; }
.ring-2 { animation-delay: 0.3s; }
.ring-3 { animation-delay: 0.6s; }

@keyframes ringPulse {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.success-modal h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: #1F2937;
    margin-bottom: 12px;
}

.success-modal p {
    color: #6B7280;
    margin-bottom: 24px;
}

.participant-info {
    background: #F0F9FF;
    border: 1px solid #BAE6FD;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 32px;
}

.participant-info .info-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6B7280;
    margin-bottom: 8px;
}

.participant-info .info-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #2341AF;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-actions .btn {
    width: 100%;
    justify-content: center;
}

/* Mini Footer */
.mini-footer {
    padding: 24px 0;
    background: #1F2937;
}

.mini-footer .footer-bottom {
    padding: 0;
}

.mini-footer .footer-bottom p {
    color: #9CA3AF;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .inscription-wrapper {
        grid-template-columns: 1fr;
    }
    
    .info-section {
        position: static;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .sidebar-card {
        padding: 18px;
        min-width: 0;
    }

    .sidebar-card h3 {
        font-size: 0.95rem;
    }

    .sidebar-event-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        padding: 8px 0;
    }

    .sidebar-event-row span {
        font-size: 0.75rem;
    }

    .sidebar-event-row strong {
        font-size: 0.82rem;
    }

    .sidebar-contact {
        font-size: 0.75rem;
    }

    .sidebar-list li {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .form-card {
        padding: 28px 20px;
    }
    
    .form-progress {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .progress-connector {
        display: none;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .photo-section {
        grid-template-columns: 1fr;
    }
    
    .photo-preview-container {
        display: flex;
        justify-content: center;
    }
    
    .upload-buttons {
        flex-direction: column;
    }
    
    .info-section {
        grid-template-columns: 1fr;
    }

    .sidebar-card {
        padding: 24px;
    }

    .sidebar-card h3 {
        font-size: 1.1rem;
    }

    .sidebar-event-row {
        flex-direction: row;
        align-items: center;
    }

    .sidebar-event-row span {
        font-size: 0.82rem;
    }

    .sidebar-event-row strong {
        font-size: 0.9rem;
    }

    .sidebar-contact {
        font-size: 0.85rem;
    }

    .sidebar-list li {
        font-size: 0.88rem;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 12px;
    }
    
    .form-navigation .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========== HOTEL SELECTION ========== */
.hotel-section-hint {
    font-size: 13px;
    color: #64748B;
    margin: -4px 0 16px 0;
}

/* === Dates + Accompagnants === */
.dates-section,
.accompagnants-section {
    background: rgba(35,65,175,0.03);
    border: 1px solid rgba(35,65,175,0.12);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 8px;
}
.dates-section label:first-child,
.accompagnants-section > label:first-child {
    font-weight: 700;
    color: #2341AF;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 4px;
}
.btn-add-accompagnant {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 9px 18px;
    background: linear-gradient(135deg, #2341AF, #3a5bd9);
    color: #fff;
    border: none;
    border-radius: 22px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}
.btn-add-accompagnant:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(35,65,175,0.3); }
.accompagnant-item {
    background: #fff;
    border: 1px solid rgba(35,65,175,0.15);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 10px;
}
.accompagnant-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2341AF;
    font-size: 0.88rem;
}
.btn-remove-accompagnant {
    background: rgba(231,76,60,0.1);
    border: none;
    color: #E74C3C;
    width: 28px; height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex; align-items: center; justify-content: center;
}
.btn-remove-accompagnant:hover { background: rgba(231,76,60,0.2); }

/* === Langue Selection === */
.langue-first {
    background: linear-gradient(135deg, rgba(35,65,175,0.06), rgba(232,149,47,0.05));
    border: 2px dashed rgba(35,65,175,0.25);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 24px;
    position: relative;
}
.langue-first label {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2341AF;
}
.langue-hint {
    font-size: 0.88rem;
    color: #5a6577;
    margin: 6px 0 14px;
    line-height: 1.45;
}
.langue-selection {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.langue-option {
    cursor: pointer;
    flex: 0 0 auto;
}

.langue-option input[type="radio"] {
    display: none;
}

.langue-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 12px;
    border: 2px solid #E2E8F0;
    background: #fff;
    transition: all 0.3s ease;
    position: relative;
}

.langue-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.langue-flag {
    font-size: 22px;
}

.langue-name {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

.langue-check {
    font-size: 16px;
    color: #CBD5E1;
    transition: all 0.3s;
    margin-left: 4px;
}

/* Couleurs par langue */
.langue-option[data-langue="fr"] input:checked ~ .langue-card {
    border-color: #5BC0DE; background: rgba(91,192,222,0.08); box-shadow: 0 4px 16px rgba(91,192,222,0.2);
}
.langue-option[data-langue="fr"] input:checked ~ .langue-card .langue-check { color: #5BC0DE; }
.langue-option[data-langue="fr"] input:checked ~ .langue-card .langue-name { color: #5BC0DE; }

.langue-option[data-langue="en"] input:checked ~ .langue-card {
    border-color: #1C358E; background: rgba(28,53,142,0.06); box-shadow: 0 4px 16px rgba(28,53,142,0.15);
}
.langue-option[data-langue="en"] input:checked ~ .langue-card .langue-check { color: #1C358E; }
.langue-option[data-langue="en"] input:checked ~ .langue-card .langue-name { color: #1C358E; }

.langue-option[data-langue="ar"] input:checked ~ .langue-card {
    border-color: #E74C3C; background: rgba(231,76,60,0.06); box-shadow: 0 4px 16px rgba(231,76,60,0.15);
}
.langue-option[data-langue="ar"] input:checked ~ .langue-card .langue-check { color: #E74C3C; }
.langue-option[data-langue="ar"] input:checked ~ .langue-card .langue-name { color: #E74C3C; }

.langue-option[data-langue="pt"] input:checked ~ .langue-card {
    border-color: #2ECC71; background: rgba(46,204,113,0.06); box-shadow: 0 4px 16px rgba(46,204,113,0.15);
}
.langue-option[data-langue="pt"] input:checked ~ .langue-card .langue-check { color: #2ECC71; }
.langue-option[data-langue="pt"] input:checked ~ .langue-card .langue-name { color: #2ECC71; }

.langue-option[data-langue="sw"] input:checked ~ .langue-card {
    border-color: #F1C40F; background: rgba(241,196,15,0.08); box-shadow: 0 4px 16px rgba(241,196,15,0.2);
}
.langue-option[data-langue="sw"] input:checked ~ .langue-card .langue-check { color: #D4AC0D; }
.langue-option[data-langue="sw"] input:checked ~ .langue-card .langue-name { color: #D4AC0D; }

.langue-option[data-langue="ru"] input:checked ~ .langue-card {
    border-color: #8E44AD; background: rgba(142,68,173,0.08); box-shadow: 0 4px 16px rgba(142,68,173,0.2);
}
.langue-option[data-langue="ru"] input:checked ~ .langue-card .langue-check { color: #8E44AD; }
.langue-option[data-langue="ru"] input:checked ~ .langue-card .langue-name { color: #8E44AD; }

/* Hover par langue */
.langue-option[data-langue="fr"]:hover .langue-card { border-color: #5BC0DE; }
.langue-option[data-langue="en"]:hover .langue-card { border-color: #1C358E; }
.langue-option[data-langue="ar"]:hover .langue-card { border-color: #E74C3C; }
.langue-option[data-langue="pt"]:hover .langue-card { border-color: #2ECC71; }
.langue-option[data-langue="sw"]:hover .langue-card { border-color: #F1C40F; }
.langue-option[data-langue="ru"]:hover .langue-card { border-color: #8E44AD; }

@media (max-width: 600px) {
    .langue-selection {
        gap: 8px;
    }
    .langue-card {
        padding: 10px 14px;
    }
    .langue-name {
        font-size: 12px;
    }
}

.hotel-selection {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.hotel-card {
    cursor: pointer;
    position: relative;
}

.hotel-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.hotel-card-inner {
    background: #FFFFFF;
    border: 2px solid #E5E7EB;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.hotel-card:hover .hotel-card-inner {
    border-color: #2341AF;
    box-shadow: 0 8px 25px rgba(35, 65, 175, 0.12);
    transform: translateY(-3px);
}

.hotel-card input[type="radio"]:checked ~ .hotel-card-inner {
    border-color: #2341AF;
    box-shadow: 0 8px 30px rgba(35, 65, 175, 0.2);
    transform: translateY(-3px);
}

.hotel-card input[type="radio"]:checked ~ .hotel-card-inner .hotel-check {
    opacity: 1;
    transform: scale(1);
}

.hotel-img {
    position: relative;
    height: 140px;
    overflow: hidden;
}

.hotel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hotel-card:hover .hotel-img img {
    transform: scale(1.05);
}

.hotel-badge-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(35, 65, 175, 0.9);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.hotel-info {
    padding: 14px 16px;
}

.hotel-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 4px;
}

.hotel-info p {
    font-size: 12px;
    color: #64748B;
    display: flex;
    align-items: center;
    gap: 4px;
}

.hotel-info p i {
    color: #E8952F;
    font-size: 10px;
}

.hotel-check {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    background: #2341AF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
    z-index: 2;
}

.hotel-check i {
    color: #fff;
    font-size: 14px;
}

@media (max-width: 768px) {
    .hotel-selection {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .hotel-img {
        height: 120px;
    }
}
