html {
    overflow-y: scroll;
}

.auth-container { 
    max-width: 400px; 
    margin: 50px auto; 
    padding: 30px; 
    background: var(--card); 
    border: 1px solid var(--border); 
    border-radius: 12px;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}
.auth-container h1 { 
    text-align: center; 
    font-size: 1.5em; 
    margin-bottom: 20px;
    color: var(--text);
    transition: color 0.25s ease;
}
.form-group { 
    margin-bottom: 15px; 
}
.form-group label { 
    display: block; 
    margin-bottom: 5px; 
    font-weight: 500;
    color: var(--text);
    transition: color 0.25s ease;
}
.form-group input { 
    width: 100%; 
    padding: 10px; 
    border-radius: 8px; 
    border: 1px solid var(--border); 
    background: var(--card);
    color: var(--text);
    box-sizing: border-box;
    transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.form-group input:focus {
    outline: none;
    border-color: var(--text);
}
.form-group .form-errors { 
    color: #ff4444; 
    font-size: 0.85em; 
    margin-top: 5px; 
}
.auth-btn {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1.2px solid var(--border);
    background: var(--button-primary-bg);
    color: var(--button-primary-text);
    font-size: 1.1em;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.18s, border-color 0.18s, color 0.25s ease;
}
.auth-btn:hover {
    background: var(--button-hover-bg);
    border-color: var(--border);
}
.auth-switch { 
    text-align: center; 
    margin-top: 15px; 
}
.auth-grey-text { 
    color: var(--text-muted);
    transition: color 0.25s ease;
}
.auth-bw-link { 
    color: var(--text) !important; 
    text-decoration: underline; 
    filter: grayscale(1); 
    transition: filter 0.2s, color 0.25s ease; 
}
.auth-bw-link:hover { 
    filter: none; 
}

/* Messages styling */
.messages {
    margin-bottom: 20px;
}
.message {
    padding: 12px 16px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 0.95em;
}
.message.success {
    background-color: rgba(4, 120, 87, 0.1);
    color: #10b981;
    border: 1px solid rgba(4, 120, 87, 0.3);
}
.message.error {
    background-color: rgba(211, 47, 47, 0.1);
    color: #ff4444;
    border: 1px solid rgba(211, 47, 47, 0.3);
}
.message.info {
    background-color: rgba(12, 84, 96, 0.1);
    color: #06b6d4;
    border: 1px solid rgba(12, 84, 96, 0.3);
}
.message.warning {
    background-color: rgba(133, 100, 4, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(133, 100, 4, 0.3);
}

/* Description text */
.reset-description {
    color: var(--text-muted);
    font-size: 0.95em;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: center;
    transition: color 0.25s ease;
}
