/* Base Page & Background - The "Natural" Morning Sky Look */
html, body {
    width: 100%;
    overflow-x: hidden;
    position: relative;
    margin: 0;
    padding: 0;
    height: 100vh;
}

* {
    box-sizing: border-box;
}

body { 
    font-family: 'Inter', -apple-system, sans-serif; 
    background: linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%); 
    color: #1e293b; 
    padding: 40px; 
    display: flex; 
    justify-content: center; 
    align-items: center;
}

/* Glassmorphism Card - Light Theme */
.card { 
    background: rgba(255, 255, 255, 0.7); 
    padding: 40px; 
    border-radius: 24px; 
    backdrop-filter: blur(20px); 
    width: 100%; 
    max-width: 500px; 
    border: 1px solid rgba(255, 255, 255, 0.5); 
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

/* Input Fields - Optimized for Light Theme */
.input-group { position: relative; margin-bottom: 20px; width: 100%; }

input { 
    width: 100%; 
    padding: 16px; 
    background: rgba(255, 255, 255, 0.6); 
    border: 1px solid rgba(0, 0, 0, 0.1); 
    color: #1e293b; 
    border-radius: 12px; 
    font-weight: 500; 
    font-size: 18px; 
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: #2563eb;
    background: rgba(255, 255, 255, 0.9);
}

/* Button with Shine Effect */
button { 
    width: 100%; 
    padding: 16px; 
    font-size: large; 
    background: #2563eb; 
    border: none; 
    border-radius: 12px; 
    font-weight: bold; 
    cursor: pointer; 
    color: white; 
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

button::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* Password Toggle */
#togglePassword {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1.2rem;
    color: #64748b;
    transition: color 0.2s;
}

#togglePassword:hover { color: #1e293b; }

/* Mobile Responsiveness */
@media (max-width: 768px) {
    body { padding: 20px 15px; }
    .card { padding: 25px; border-radius: 20px; }
    input { font-size: 16px; }
}