/* Auth Specific Styles - EDU ERP */

/* Architectural Vibrant Mesh Background */
.studio-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
    background: var(--dark-bg);
    overflow: hidden;
}

.mesh-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    z-index: -1;
    animation: drift 15s infinite alternate ease-in-out;
}
/* Vibrant Colors */
.mesh-1 { width: 500px; height: 500px; background: #FF9F43; top: -10%; left: -10%; }
.mesh-2 { width: 600px; height: 600px; background: #8b5cf6; bottom: -10%; right: -10%; animation-delay: -3s; }
.mesh-3 { width: 400px; height: 400px; background: #ec4899; top: 30%; right: 20%; animation-delay: -7s; }
.mesh-4 { width: 450px; height: 450px; background: #06b6d4; bottom: 20%; left: 15%; animation-delay: -10s; }

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(10%, 15%) scale(1.05); }
    100% { transform: translate(-10%, 5%) scale(1.1); }
}

/* Studio-Grade Login Card */
.auth-card {
    width: 100%;
    max-width: 480px;
    padding: 3rem;
    background: var(--card-bg);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.1), 
                inset 0 0 0 1px rgba(255,255,255,0.2);
    position: relative;
    z-index: 10;
}

/* Accent Glow Line */
.auth-card::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 120px; height: 5px;
    background: linear-gradient(90deg, #FF9F43, #ec4899, #8b5cf6);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 25px rgba(236, 72, 153, 0.5);
}

.header-brand {
    text-align: center;
    margin-bottom: 2.5rem;
}

.logo-box-premium {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 22px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.auth-greeting {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    background: linear-gradient(90deg, #FF9F43, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.auth-title {
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--text-main);
    margin: 0;
}

/* Modern Inputs with Bootstrap form-floating */
.form-floating > .form-control.auth-input {
    border-radius: 18px;
    background: var(--input-field);
    border: 2px solid transparent;
    padding-left: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    height: 65px;
    transition: all 0.3s ease;
}

.form-floating > .form-control.auth-input:focus {
    background: var(--card-bg);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.15);
}

.form-floating > label {
    padding-left: 1.5rem;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
}

.password-toggle {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    transition: 0.2s;
    padding: 10px;
}
.password-toggle:hover {
    color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.btn-authorize {
    width: 100%;
    padding: 1.1rem;
    border-radius: 18px;
    border: none;
    background: linear-gradient(135deg, var(--primary), #ec4899);
    color: #fff;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    box-shadow: 0 15px 30px rgba(236, 72, 153, 0.3);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 1.5rem;
    display: flex; align-items: center; justify-content: center; gap: 0.8rem;
    position: relative;
    overflow: hidden;
}

.btn-authorize:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(236, 72, 153, 0.4);
}

.btn-authorize::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.5s;
}
.btn-authorize:hover::after { left: 100%; }

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

@media (max-width: 500px) {
    .auth-card { padding: 2.5rem 1.5rem; margin: 15px; border-radius: 25px; }
    .auth-title { font-size: 2rem; }
}
