/* Modern Dark Theme Variables */
:root {
    --primary: #0088cc; /* Telegram Blue */
    --primary-hover: #0077b5;
    --background: #0f172a; /* Deep Blue/Black */
    --card-bg: rgba(30, 41, 59, 0.7); /* Glass effect */
    --text-main: #e2e8f0;
}

body {
    background-color: var(--background);
    background-image: radial-gradient(at 0% 0%, hsla(253,16%,7%,1) 0, transparent 50%), 
                      radial-gradient(at 50% 0%, hsla(225,39%,30%,1) 0, transparent 50%), 
                      radial-gradient(at 100% 0%, hsla(339,49%,30%,1) 0, transparent 50%);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* The Glass Card Container */
main.container {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-width: 450px;
    width: 90%;
    animation: fadeIn 0.5s ease-out;
}

/* Typography & Elements */
h1, h2, h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

input {
    background-color: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    margin-bottom: 1rem !important;
}

button {
    background-color: var(--primary) !important;
    border: none !important;
    font-weight: 600;
    width: 100%;
    margin-top: 1rem;
    transition: transform 0.1s;
}

button:active {
    transform: scale(0.98);
}

a {
    color: var(--primary);
    text-decoration: none;
    display: block;
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
}

a:hover {
    text-decoration: underline;
}

.alert {
    background: rgba(220, 38, 38, 0.2);
    border: 1px solid rgba(220, 38, 38, 0.5);
    color: #fca5a5;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}