/* Login Page Specific Styles */

/* Main Content */
.main-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 110px;
}

/* Match login card with navbar gradient */
.glass-card {
    background: var(--navbar-bg);
    border: 1px solid var(--navbar-border);
    box-shadow: 0 18px 40px rgba(0, 77, 64, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

body.dark-mode .glass-card {
    background: var(--navbar-bg);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    
}

/* Logo Container in Main Card */
.main-logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.main-logo-circle {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px; 
    background: linear-gradient(135deg, #00796B, #004D40);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: logoFloat 3s ease-in-out infinite;
    transition: all 0.3s ease;
}


.main-logo-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 121, 107, 0.3);
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

.main-logo-circle i {
    color: #ffffff;
    font-size: 28px;
}

.logo-text {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0, 121, 107, 0.15);
    color: var(--primary-color); /* Fallback color */
    padding-bottom: 2px; /* Reduces gap to the underline */
}

.logo-text-wrapper {
    position: relative;
    display: inline-block; /* Ensures wrapper fits the text width */
    border-bottom: 2px solid rgba(0, 121, 107, 0.2);
    margin-bottom: 20px; /* Space below the slogan */
}

.logo-subtitle {
    position: absolute;
    bottom: -20px; /* Positioned below the underline */
    right: 0;
    font-size: 0.7rem;
    font-weight: 500;
    font-style: italic; /* Makes the slogan italic */
}

/* Dark Mode Overrides for Login Page */
body.dark-mode .main-logo-circle {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: 0 6px 20px rgba(68, 68, 68, 0.3);
}

body.dark-mode .main-logo-circle:hover {
    box-shadow: 0 8px 25px rgba(0, 121, 107, 0.3);
}

body.dark-mode .logo-text {
    background: linear-gradient(45deg, var(--primary-color), #00BFA5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 8px rgba(0, 121, 107, 0.3);
}

body.dark-mode .logo-text-wrapper {
    border-bottom-color: rgba(0, 191, 255, 0.2);
}

/* Mobile Responsive for Login Page */
@media (max-width: 768px) {
    .main-content {
        padding-bottom: calc(30px + env(safe-area-inset-bottom));
    }
}
@media (max-width: 480px) {
    .main-logo-circle {
        width: 60px;
        height: 60px;
    }
    
    .main-logo-circle i {
        font-size: 24px;
    }
    
    .logo-text {
        font-size: 1.8rem;
    }
}


