/**
 * Styles des pages d'authentification - Design "Neuro-Tech"
 * Cohérent avec la page contact
 */

@import url("../../web/css/variables.fab5f50268aa.css");

/* ======================================
   AUTH SECTION BACKGROUND
====================================== */
.auth-page-section {
    background: #1e293b; /* Dark slate */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    background-attachment: fixed;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) inset, 0 10px 30px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background glow effect */
.auth-page-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1000px;
    height: 100%;
    max-height: 1000px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.auth-page-section .container {
    position: relative;
    z-index: 1;
}

/* ======================================
   AUTH CARD STYLES
====================================== */
.auth-page-section .card {
    background: rgba(15, 23, 42, 0.8) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

.auth-page-section .card-body {
    background: transparent !important;
}

/* ======================================
   AUTH HEADER STYLES
====================================== */
.auth-page-section .card-body img {
    filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.2));
    transition: all 0.3s ease;
}

.auth-page-section .card-body img:hover {
    filter: drop-shadow(0 0 15px rgba(6, 182, 212, 0.4));
}

.auth-page-section h1 {
    color: white !important;
    font-weight: 800 !important;
    font-size: 2rem !important;
    margin: 1rem 0 0.5rem 0 !important;
    background: none !important;
    -webkit-text-fill-color: unset !important;
}

.auth-page-section .card-body > .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.95rem !important;
}

.auth-page-section p.text-muted {
    color: rgba(255, 255, 255, 0.5) !important;
}

.text-muted {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* ======================================
   AVATAR STYLES
====================================== */

.auth-page-section .avatar {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid rgba(6, 182, 212, 0.2);
}

.auth-page-section .avatar-circle {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
}

.auth-page-section .avatar-circle-border {
    border: 4px solid rgba(6, 182, 212, 0.2);
}

.auth-page-section .avatar-circle-border-hover {
    border: 4px solid rgba(6, 182, 212, 0.4);
}

.auth-page-section .avatar-circle-border-hover:hover {
    border: 4px solid rgba(6, 182, 212, 0.6);
}

.auth-page-section .avatar-circle-border-hover:hover:active {
    border: 4px solid rgba(6, 182, 212, 0.8);
}

/* ======================================
   FORM STYLES
====================================== */
.auth-page-section .form-control {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: white !important;
    padding: 0.75rem 1rem !important;
    transition: all 0.2s ease !important;
}

.auth-page-section .form-control:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15) !important;
    color: white !important;
}

.auth-page-section .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

.auth-page-section label {
    color: white !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
}

.auth-page-section .form-text {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.875rem !important;
}

/* ======================================
   BUTTON STYLES
====================================== */
.auth-page-section .btn-primary {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 0.75rem 1.5rem !important;
    transition: all 0.3s ease !important;
}

.auth-page-section .btn-primary:hover {
    background: #0891b2 !important;
    border-color: #0891b2 !important;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4) !important;
    transform: translateY(-2px) !important;
}

.auth-page-section .btn-outline-secondary {
    color: rgba(255, 255, 255, 0.7) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease !important;
}

.auth-page-section .btn-outline-secondary:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

.auth-page-section .btn-outline-danger {
    color: rgba(255, 255, 255, 0.7) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
    background: rgba(239, 68, 68, 0.05) !important;
    font-weight: 600 !important;
    padding: 0.75rem 1.5rem !important;
    transition: all 0.3s ease !important;
}

.auth-page-section .btn-outline-danger:hover {
    color: white !important;
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: #ef4444 !important;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.3) !important;
}

/* ======================================
   LIST GROUP STYLES
====================================== */
.auth-page-section .list-group-item {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: white !important;
    padding: 0.75rem 1rem !important;
    transition: all 0.2s ease !important;
}


.auth-page-section .list-group-item:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    color: white !important;
}


/* ======================================
   DIVIDER STYLES
====================================== */
.auth-page-section hr {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.auth-page-section .position-absolute.bg-white {
    background: #1e293b !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

/* ======================================
   LINK STYLES
====================================== */
.auth-page-section a {
    color: var(--primary-color) !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.auth-page-section a:hover {
    color: #0891b2 !important;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.3) !important;
}

/* ======================================
   CHECKBOX/RADIO STYLES
====================================== */
.auth-page-section .form-check-input {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    cursor: pointer !important;
}

.auth-page-section .form-check-input:checked {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.auth-page-section .form-check-label {
    color: rgba(255, 255, 255, 0.8) !important;
    cursor: pointer !important;
}

/* ======================================
   RESPONSIVE
====================================== */
@media (max-width: 768px) {
    .auth-page-section {
        min-height: auto;
        padding: 2rem 0;
    }

    .auth-page-section h1 {
        font-size: 1.5rem !important;
    }

    .auth-page-section .card-body {
        padding: 2rem 1rem !important;
    }
}

