@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

:root {
    --primary-green: #059669; 
    --dark-green: #064e3b;
    --soft-mint: #ecfdf5;
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at center, #065f46 0%, #022c22 100%);
    height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Intro Animations */
@keyframes heartPop { 
    0% { transform: scale(0); opacity: 0; } 
    50% { transform: scale(1.4); opacity: 1; } 
    70% { transform: scale(0.9); } 
    100% { transform: scale(1); } 
}

@keyframes slideUpFade { 
    from { opacity: 0; transform: translateY(30px); } 
    to { opacity: 1; transform: translateY(0); } 
}

.heart-container { animation: heartPop 1s cubic-bezier(0.26, 1.36, 0.74, 1) forwards; }
.hidden-intro { display: none !important; }

/* The Card Styling */
.auth-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 40px;
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    width: 90%;
    max-width: 420px;
    text-align: center;
    color: white;
    animation: slideUpFade 0.8s ease-out forwards;
}

/* Inputs and UI elements */
input[type="text"], 
input[type="password"] {
    width: 100%;             
    padding: 16px;           
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-sizing: border-box; 
    font-size: 1rem;
    color: white;
    outline: none;
    transition: all 0.3s ease;
}

input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #34d399;
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.1);
}

.login-btn {
    width: 100%;
    background-color: white;
    color: var(--dark-green);
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.login-btn:hover {
    background-color: #f0fdf4;
    transform: translateY(-2px);
}