/* Luxury Student Login Theme - Premium Design */

/* Luxury Typography for Student Login */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');

/* Luxury Variables for Student Login */
:root {
    --luxury-gold: #D4AF37;
    --luxury-gold-light: #F7E98E;
    --luxury-gold-dark: #B8860B;
    --luxury-black: #0a0a0a;
    --luxury-dark: #1a1a1a;
    --luxury-darker: #2c2c2c;
    --luxury-cream: #F5F5DC;
    --luxury-pearl: #F8F6F0;
    --luxury-bronze: #CD7F32;
    --luxury-silver: #C0C0C0;
    --luxury-platinum: #E5E4E2;
    --luxury-accent: #8B4513;
    --luxury-shadow: rgba(212, 175, 55, 0.3);
    --luxury-glow: rgba(212, 175, 55, 0.6);
    --luxury-error: #8B0000;
    --luxury-emerald: #50C878;
    --luxury-emerald-dark: #228B22;
}

/* Body & Background - Luxury Student */
.luxury-student-theme {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(ellipse at center, var(--luxury-black) 0%, var(--luxury-dark) 25%, var(--luxury-darker) 50%, var(--luxury-dark) 75%, var(--luxury-black) 100%);
    background-attachment: fixed;
    background-size: 400% 400%;
    animation: luxuryStudentBackgroundShift 45s ease infinite;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
    color: var(--luxury-cream);
}

.luxury-student-theme::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(80, 200, 120, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(139, 69, 19, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

@keyframes luxuryStudentBackgroundShift {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
}

/* Loading Screen - Luxury Student */
.luxury-student-loading-screen {
    background: linear-gradient(135deg, var(--luxury-black) 0%, var(--luxury-dark) 50%, var(--luxury-black) 100%);
    position: relative;
}

.luxury-student-loading-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
    animation: luxuryStudentLoadingPulse 3s ease-in-out infinite;
}

.luxury-student-loading-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    padding: 12px;
    background: linear-gradient(135deg, var(--luxury-emerald) 0%, var(--luxury-emerald-dark) 100%);
    box-shadow: 
        0 0 40px rgba(80, 200, 120, 0.4),
        0 0 80px rgba(80, 200, 120, 0.2),
        inset 0 2px 10px rgba(255, 255, 255, 0.2);
    animation: luxuryStudentLogoFloat 4s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.luxury-student-loading-text {
    color: var(--luxury-emerald);
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    margin-top: 25px;
    text-shadow: 
        0 0 20px rgba(80, 200, 120, 0.6),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    animation: luxuryStudentTextShimmer 3s ease-in-out infinite;
    letter-spacing: 1.5px;
}

.luxury-student-loading-spinner {
    width: 45px;
    height: 45px;
    border: 4px solid rgba(80, 200, 120, 0.2);
    border-top: 4px solid var(--luxury-emerald);
    border-radius: 50%;
    animation: luxuryStudentSpin 1.5s linear infinite;
    margin-top: 20px;
    box-shadow: 0 0 20px rgba(80, 200, 120, 0.3);
}

@keyframes luxuryStudentLoadingPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); }
}

@keyframes luxuryStudentLogoFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-6px) rotate(1deg); }
    75% { transform: translateY(-2px) rotate(-1deg); }
}

@keyframes luxuryStudentTextShimmer {
    0%, 100% { 
        text-shadow: 0 0 20px rgba(80, 200, 120, 0.6), 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
    50% { 
        text-shadow: 0 0 30px rgba(80, 200, 120, 0.8), 0 0 40px rgba(80, 200, 120, 0.6), 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
}

@keyframes luxuryStudentSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Main Container - Luxury Student */
.luxury-student-container {
    background: linear-gradient(145deg, 
        rgba(42, 42, 42, 0.95) 0%, 
        rgba(52, 52, 52, 0.95) 50%, 
        rgba(42, 42, 42, 0.95) 100%);
    backdrop-filter: blur(25px);
    border-radius: 30px;
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.7),
        0 0 100px rgba(212, 175, 55, 0.1),
        inset 0 2px 20px rgba(212, 175, 55, 0.1),
        inset 0 -2px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-width: 1100px;
    width: 90%;
    min-height: 650px;
    display: flex;
    position: relative;
    border: 2px solid rgba(212, 175, 55, 0.3);
    animation: luxuryStudentFadeInScale 1s ease-out;
}

.luxury-student-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(80, 200, 120, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.luxury-student-container::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.2), transparent, rgba(80, 200, 120, 0.2), transparent);
    border-radius: 32px;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.luxury-student-container:hover::after {
    opacity: 1;
}

@keyframes luxuryStudentFadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Logo Section - Luxury Student */
.luxury-student-logo-section {
    background: linear-gradient(135deg, var(--luxury-emerald) 0%, var(--luxury-emerald-dark) 100%);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    min-width: 400px;
    border-right: 2px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
    animation: luxuryStudentSlideInLeft 1s ease-out;
}

.luxury-student-logo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    z-index: 1;
}

@keyframes luxuryStudentSlideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Logo Container - Luxury Student */
.luxury-student-logo-container {
    position: relative;
    z-index: 3;
    margin-bottom: 35px;
}

.luxury-student-logo-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: luxuryStudentLogoGlow 4s ease-in-out infinite;
}

.luxury-student-logo-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    padding: 15px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(255, 255, 255, 0.1),
        inset 0 2px 15px rgba(255, 255, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.luxury-student-logo-image:hover {
    transform: scale(1.08) rotateY(8deg);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(255, 255, 255, 0.2),
        inset 0 2px 15px rgba(255, 255, 255, 0.3);
}

@keyframes luxuryStudentLogoGlow {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

/* Brand Text - Luxury Student */
.luxury-student-brand-text {
    position: relative;
    z-index: 3;
}

.luxury-student-brand-title {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.5),
        2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.luxury-student-school-name {
    color: rgba(255, 255, 255, 0.95);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    opacity: 0.95;
    line-height: 1.4;
}

/* Form Section - Luxury Student */
.luxury-student-form-section {
    padding: 60px 50px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    position: relative;
    z-index: 2;
    animation: luxuryStudentSlideInRight 1s ease-out;
}

@keyframes luxuryStudentSlideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Form Title - Luxury Student */
.luxury-student-form-title {
    color: var(--luxury-gold);
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 
        0 0 30px var(--luxury-glow),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, var(--luxury-gold) 0%, var(--luxury-gold-light) 50%, var(--luxury-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: luxuryStudentTitleShine 4s ease-in-out infinite;
    position: relative;
}

.luxury-student-form-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--luxury-emerald), transparent);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(80, 200, 120, 0.6);
}

@keyframes luxuryStudentTitleShine {
    0%, 100% { 
        background-position: 0% 50%; 
        text-shadow: 0 0 30px var(--luxury-glow), 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
    50% { 
        background-position: 100% 50%; 
        text-shadow: 0 0 40px var(--luxury-glow), 0 0 60px var(--luxury-glow), 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
}

.luxury-student-form-subtitle {
    color: var(--luxury-platinum);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 400;
    line-height: 1.5;
}

/* Input Groups - Luxury Student */
.luxury-student-input-group {
    position: relative;
    margin-bottom: 30px;
    animation: luxuryStudentFadeInUp 0.8s ease-out;
}

.luxury-student-input-group:nth-child(4) { animation-delay: 0.1s; }
.luxury-student-input-group:nth-child(5) { animation-delay: 0.2s; }
.luxury-student-input-group:nth-child(6) { animation-delay: 0.3s; }

@keyframes luxuryStudentFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.luxury-student-input-label {
    display: block;
    color: var(--luxury-platinum);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.luxury-student-input-field {
    width: 100%;
    padding: 18px 25px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.9));
    color: var(--luxury-cream);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    position: relative;
    box-shadow: 
        inset 0 2px 8px rgba(0, 0, 0, 0.3),
        0 2px 15px rgba(0, 0, 0, 0.2);
}

.luxury-student-input-field:focus {
    border-color: var(--luxury-emerald);
    background: linear-gradient(145deg, rgba(25, 25, 25, 0.95), rgba(15, 15, 15, 0.95));
    box-shadow: 
        inset 0 2px 8px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(80, 200, 120, 0.3),
        0 2px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.luxury-student-input-field::placeholder {
    color: rgba(229, 228, 226, 0.6);
    font-style: italic;
    font-weight: 300;
}

.luxury-student-input-group.focused .luxury-student-input-label {
    color: var(--luxury-emerald);
}

/* Login Button - Luxury Student */
.luxury-student-login-btn {
    width: 100%;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--luxury-emerald) 0%, var(--luxury-emerald-dark) 50%, #1a7a1a 100%);
    border: 2px solid var(--luxury-emerald);
    border-radius: 15px;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 
        0 8px 25px rgba(80, 200, 120, 0.4),
        inset 0 2px 10px rgba(255, 255, 255, 0.2);
    animation: luxuryStudentFadeInUp 0.8s ease-out 0.4s both;
}

.luxury-student-login-btn::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;
}

.luxury-student-login-btn:hover {
    background: linear-gradient(135deg, #40d67c 0%, var(--luxury-emerald) 50%, var(--luxury-emerald-dark) 100%);
    border-color: #40d67c;
    transform: translateY(-3px);
    box-shadow: 
        0 12px 35px rgba(80, 200, 120, 0.6),
        inset 0 2px 10px rgba(255, 255, 255, 0.3);
}

.luxury-student-login-btn:hover::before {
    left: 100%;
}

.luxury-student-login-btn:active {
    transform: translateY(-1px);
    box-shadow: 
        0 6px 20px rgba(80, 200, 120, 0.5),
        inset 0 2px 10px rgba(255, 255, 255, 0.2);
}

.luxury-student-login-btn i {
    margin-right: 12px;
    font-size: 1.3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Alert - Luxury Student */
.luxury-student-alert {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.9), rgba(165, 42, 42, 0.9));
    border: 2px solid rgba(139, 0, 0, 0.7);
    color: white;
    border-radius: 15px;
    padding: 18px 22px;
    margin-bottom: 25px;
    box-shadow: 
        0 8px 25px rgba(139, 0, 0, 0.3),
        inset 0 2px 10px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    animation: luxuryStudentAlertSlide 0.5s ease-out;
}

.luxury-student-alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.luxury-student-alert i {
    margin-right: 12px;
    color: #ff6b6b;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

@keyframes luxuryStudentAlertSlide {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Responsive - Luxury Student */
@media (max-width: 768px) {
    .luxury-student-container {
        flex-direction: column;
        margin: 20px;
        width: calc(100% - 40px);
        min-height: auto;
        border-radius: 25px;
    }
    
    .luxury-student-logo-section {
        min-width: auto;
        padding: 40px 30px;
        border-right: none;
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    }
    
    .luxury-student-logo-image {
        width: 100px;
        height: 100px;
        padding: 12px;
    }
    
    .luxury-student-brand-title {
        font-size: 1.1rem;
    }
    
    .luxury-student-school-name {
        font-size: 1rem;
    }
    
    .luxury-student-form-section {
        padding: 40px 30px;
    }
    
    .luxury-student-form-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .luxury-student-input-field {
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .luxury-student-login-btn {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .luxury-student-container {
        margin: 15px;
        width: calc(100% - 30px);
        border-radius: 20px;
    }
    
    .luxury-student-logo-section {
        padding: 30px 20px;
    }
    
    .luxury-student-logo-image {
        width: 80px;
        height: 80px;
        padding: 10px;
    }
    
    .luxury-student-brand-title {
        font-size: 1rem;
    }
    
    .luxury-student-school-name {
        font-size: 0.9rem;
    }
    
    .luxury-student-form-section {
        padding: 30px 20px;
    }
    
    .luxury-student-form-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .luxury-student-form-subtitle {
        font-size: 0.9rem;
    }
    
    .luxury-student-input-field {
        padding: 14px 18px;
        font-size: 0.95rem;
    }
    
    .luxury-student-login-btn {
        padding: 14px 25px;
        font-size: 1rem;
    }
}

/* Enhanced Animation Classes */
.luxury-student-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: luxuryStudentFadeIn 0.8s ease-out forwards;
}

.luxury-student-fade-in-delay {
    opacity: 0;
    transform: translateY(20px);
    animation: luxuryStudentFadeIn 0.8s ease-out 0.2s forwards;
}

.luxury-student-fade-in-delay-2 {
    opacity: 0;
    transform: translateY(20px);
    animation: luxuryStudentFadeIn 0.8s ease-out 0.4s forwards;
}

@keyframes luxuryStudentFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Luxury Scrollbar for Student Login */
.luxury-student-theme ::-webkit-scrollbar {
    width: 8px;
}

.luxury-student-theme ::-webkit-scrollbar-track {
    background: var(--luxury-black);
    border-radius: 4px;
}

.luxury-student-theme ::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--luxury-emerald), var(--luxury-emerald-dark));
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(80, 200, 120, 0.3);
}

.luxury-student-theme ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #40d67c, var(--luxury-emerald));
}

/* Selection styling for Student Login */
.luxury-student-theme ::selection {
    background: var(--luxury-emerald);
    color: white;
}

.luxury-student-theme ::-moz-selection {
    background: var(--luxury-emerald);
    color: white;
}

/* Floating Animation Elements */
.luxury-student-container::after {
    animation: luxuryStudentFloat 6s ease-in-out infinite;
}

@keyframes luxuryStudentFloat {
    0%, 100% { 
        background-position: 0% 50%; 
        opacity: 0.3;
    }
    50% { 
        background-position: 100% 50%; 
        opacity: 0.6;
    }
}
