.elementor-34036 .elementor-element.elementor-element-437aec8{--display:flex;}.elementor-34036 .elementor-element.elementor-element-e01ed44{--display:flex;}/* Start custom CSS *//* AI4GOOD Student Profile - Glassmorphism Theme */
/* Couleurs: Magenta, Violet, Bleu Marine */

:root {
    --student-navy: #0a1628;
    --student-violet: #8b5cf6;
    --student-magenta: #ec4899;
    --student-purple: #7c3aed;
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.08);
}

.student-profile-wrapper {
    background: linear-gradient(135deg, var(--student-navy) 0%, #1a1040 50%, #0d0d2b 100%);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #fff;
    min-height: 100vh !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding: 60px 20px !important;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Éléments décoratifs d'arrière-plan */
.student-profile-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.student-profile-wrapper::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

/* Toast Notifications */
.student-toast {
    position: fixed;
    top: 30px;
    right: 30px;
    padding: 16px 24px;
    border-radius: 16px;
    background: rgba(15, 20, 35, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    transform: translateX(150%);
    transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.student-toast.show {
    transform: translateX(0);
}

.student-toast.success {
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(139, 92, 246, 0.15);
}

.student-toast.error {
    border-color: rgba(236, 72, 153, 0.5);
    background: rgba(236, 72, 153, 0.15);
}

/* Conteneur principal */
.student-dashboard-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Header */
.student-header {
    text-align: center;
    margin-bottom: 50px;
}

.student-header h1 {
    margin: 0;
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, var(--student-violet) 50%, var(--student-magenta) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.student-header p {
    color: rgba(255, 255, 255, 0.5);
    margin-top: 12px;
    font-size: 16px;
}

/* Carte Glassmorphism */
.student-glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 45px;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 50px 100px -20px rgba(0, 0, 0, 0.5),
        0 0 80px -30px var(--student-violet);
    position: relative;
    overflow: hidden;
}

.student-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* Champs de formulaire */
.student-field-box {
    margin-bottom: 28px !important;
}

.student-field-box label {
    display: block !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: rgba(255, 255, 255, 0.4) !important;
    margin-bottom: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
}

.student-field-box input,
.student-field-box select {
    width: 100% !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    padding: 16px 20px !important;
    color: #fff !important;
    font-size: 16px !important;
    outline: none !important;
    box-sizing: border-box !important;
    color-scheme: dark !important;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1) !important;
}

/* Fix pour les options des selects - texte lisible */
.student-field-box select option {
    background: #1a1040 !important;
    color: #fff !important;
    padding: 12px !important;
}

.student-field-box select option:hover,
.student-field-box select option:focus,
.student-field-box select option:checked {
    background: linear-gradient(135deg, #8b5cf6, #ec4899) !important;
    color: #fff !important;
}

.student-field-box input::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
}

/* Focus avec halo violet/magenta */
.student-field-box input:focus,
.student-field-box select:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(139, 92, 246, 0.5) !important;
    box-shadow: 
        0 0 0 1px rgba(139, 92, 246, 0.3),
        0 0 30px -5px var(--student-violet),
        15px 0 40px -15px var(--student-magenta),
        -15px 0 40px -15px var(--student-purple) !important;
    transform: scale(1.01) !important;
}

/* Ligne de champs côte à côte */
.student-field-row {
    display: flex !important;
    gap: 16px !important;
}

.student-field-row .student-field-box {
    flex: 1;
}

/* Grille de sélection du genre */
.student-gender-grid {
    display: flex !important;
    gap: 12px !important;
}

.student-gender-btn {
    flex: 1 !important;
    padding: 18px 12px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    cursor: pointer !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.3s ease !important;
    color: rgba(255, 255, 255, 0.35) !important;
}

.student-gender-btn:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.student-gender-btn.active {
    color: #fff !important;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2)) !important;
    border-color: var(--student-violet) !important;
    box-shadow: 
        0 0 25px -5px var(--student-magenta),
        inset 0 0 20px rgba(139, 92, 246, 0.1) !important;
}

.student-gender-btn svg {
    width: 26px !important;
    height: 26px !important;
    fill: currentColor !important;
}

.student-gender-btn span {
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
}

/* Bouton de sauvegarde */
.student-btn-save {
    width: 100%;
    padding: 20px;
    border-radius: 16px;
    border: none;
    background: linear-gradient(135deg, var(--student-navy) 0%, var(--student-violet) 50%, var(--student-magenta) 100%);
    background-size: 200% 200%;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.student-btn-save::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.student-btn-save:hover:not(:disabled) {
    background-position: 100% 50%;
    transform: translateY(-2px);
    box-shadow: 
        0 15px 35px -10px rgba(139, 92, 246, 0.5),
        0 10px 25px -10px rgba(236, 72, 153, 0.4);
}

.student-btn-save:hover:not(:disabled)::before {
    left: 100%;
}

.student-btn-save:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.student-profile-wrapper .student-glass-card #student-delete-btn.student-btn-delete,
.student-profile-wrapper button#student-delete-btn.student-btn-delete {
    width: 100% !important;
    display: block !important;
    padding: 16px !important;
    margin-top: 14px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(236, 72, 153, 0.45) !important;
    background: rgba(236, 72, 153, 0.12) !important;
    color: #ffd8ea !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    box-shadow: none !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}

.student-profile-wrapper .student-glass-card #student-delete-btn.student-btn-delete:hover,
.student-profile-wrapper button#student-delete-btn.student-btn-delete:hover {
    background: rgba(236, 72, 153, 0.2) !important;
    border-color: rgba(236, 72, 153, 0.7) !important;
    color: #ffe6f2 !important;
}

.student-profile-wrapper #student-delete-modal.student-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 100000 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    margin: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(8, 10, 20, 0.72) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.student-profile-wrapper #student-delete-modal.student-modal-overlay.student-modal-open {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.student-profile-wrapper #student-delete-modal .student-modal-card {
    width: 100% !important;
    max-width: 460px !important;
    background: rgba(18, 20, 42, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 20px !important;
    padding: 26px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45) !important;
}

.student-profile-wrapper #student-delete-modal .student-modal-card h3 {
    margin: 0 0 12px 0 !important;
    font-size: 22px !important;
    color: #fff !important;
}

.student-profile-wrapper #student-delete-modal .student-modal-card p {
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.75) !important;
    line-height: 1.45 !important;
}

.student-profile-wrapper #student-delete-modal .student-modal-actions {
    margin-top: 22px !important;
    display: flex !important;
    gap: 12px !important;
}

.student-profile-wrapper #student-delete-modal button.student-btn-cancel,
.student-profile-wrapper #student-delete-modal button.student-btn-confirm {
    flex: 1 !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    cursor: pointer !important;
    transition: 0.2s ease !important;
}

.student-profile-wrapper #student-delete-modal button.student-btn-cancel {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}

.student-profile-wrapper #student-delete-modal button.student-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

.student-profile-wrapper #student-delete-modal button.student-btn-confirm {
    background: linear-gradient(135deg, #b91c1c, #ec4899) !important;
    color: #fff !important;
}

.student-profile-wrapper #student-delete-modal button.student-btn-confirm:hover {
    filter: brightness(1.1) !important;
}

.student-profile-wrapper #student-delete-modal button.student-btn-confirm:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
}

/* Loader */
.student-loader {
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top: 3px solid #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: studentSpin 0.8s linear infinite;
}

@keyframes studentSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Loader de page */
.student-page-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px;
}

.student-page-loader .student-loader {
    width: 40px;
    height: 40px;
    border-width: 4px;
}

/* Séparateur */
.student-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.3), transparent);
    margin: 35px 0;
}

/* Section titre */
.student-section-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--student-violet);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.student-section-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, var(--student-violet), var(--student-magenta));
    border-radius: 2px;
}

/* Responsive */
@media (max-width: 600px) {
    .student-profile-wrapper {
        padding: 30px 15px !important;
    }
    
    .student-glass-card {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .student-header h1 {
        font-size: 28px;
    }
    
    .student-field-row {
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    .student-gender-grid {
        flex-wrap: wrap !important;
    }
    
    .student-gender-btn {
        min-width: calc(33% - 8px) !important;
    }
    
    .student-toast {
        left: 15px;
        right: 15px;
        top: 15px;
    }
}

/* Animation d'entrée */
@keyframes studentFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.student-glass-card {
    animation: studentFadeIn 0.6s ease-out;
}

/* Info helper */
.student-field-helper {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 8px;
    padding-left: 5px;
}

/* Badge de session */
.student-session-badge {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    border: 1px solid var(--student-violet);
    color: #fff;
}

.student-session-badge.may {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(59, 130, 246, 0.25));
    border-color: #3b82f6;
}

.student-session-badge.nov {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(249, 115, 22, 0.25));
    border-color: #f97316;
}

/* Warning session change */
.student-session-warning {
    color: #f97316 !important;
    font-weight: 600;
}

.e-con-inner {
   padding: 0 !important;
}/* End custom CSS */