/* Authentication Pages Styling */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: #fdfbfd; /* Fallback */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}

/* Reuse hero blob animation if hero.css is loaded, otherwise fallback */
.blob {
    position: absolute;
    z-index: -1;
}

.login-container {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.6);
    width: 100%;
    max-width: 420px;
    text-align: center;
    position: relative;
    z-index: 10;
    margin: 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #2c3e50;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.logo-symbol {
    color: #8e44ad;
}

h2 {
    margin: 0 0 0.5rem;
    color: #2c3e50;
    font-size: 1.8rem;
}

.subtitle {
    color: #666;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.input-group {
    text-align: left;
    margin-bottom: 1.2rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #444;
    font-weight: 500;
    font-size: 0.9rem;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.9);
    box-sizing: border-box;
}

.input-group input:focus {
    border-color: #8e44ad;
    outline: none;
    box-shadow: 0 0 0 4px rgba(142, 68, 173, 0.1);
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
}

.toggle-password:hover {
    color: #8e44ad;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #666;
    text-align: left;
}

.checkbox-group input {
    width: 16px;
    height: 16px;
    accent-color: #8e44ad;
}

.login-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 1rem;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(142, 68, 173, 0.25);
}

.login-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.google-btn {
    width: 100%;
    padding: 12px;
    background: white;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #444;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    margin-bottom: 1.5rem;
}

.google-btn:hover {
    background: #f8f9fa;
    border-color: #ddd;
}

.links {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.links.space-between {
    display: flex;
    justify-content: space-between;
}

.links a {
    color: #8e44ad;
    text-decoration: none;
    font-weight: 500;
}

.links a:hover {
    text-decoration: underline;
}

.back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.back-home:hover {
    color: #8e44ad;
}

/* Responsive */
@media (max-width: 480px) {
    .login-container {
        padding: 2rem 1.5rem;
        margin: 15px;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}