/* Auth/Login specific styles */
.auth-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 2rem;
    border-radius: 8px;
    background-color: var(--card-bg-light);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
body.dark-mode .auth-container {
    background-color: var(--card-bg-dark);
    border: 1px solid #444;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}
.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: var(--input-bg-light);
    color: var(--text-light);
}
body.dark-mode .form-group input {
    background: var(--input-bg-dark);
    color: var(--text-dark);
    border-color: #555;
}
.btn-primary {
    width: 100%;
    padding: 0.75rem;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}
.btn-primary:hover {
    background-color: #1d4ed8;
}
.error-message {
    color: #dc2626;
    margin-bottom: 1rem;
    text-align: center;
}
.form-help {
    margin-top: 0.35rem;
    font-size: 0.82rem;
    color: #6b7280; /* gray-500 */
    line-height: 1.25;
}
body.dark-mode .form-help {
    color: #9ca3af; /* gray-400 */
}
.toggle-auth {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
}
.toggle-auth a {
    color: #2563eb;
    text-decoration: none;
}
.toggle-auth a:hover {
    text-decoration: underline;
}

.captcha-wrap {
    display: flex;
    justify-content: center;
}

.captcha-wrap .cf-turnstile {
    width: 100%;
}

/* Remove inline styles from templates/login.html */
.auth-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.auth-logo {
    font-size: 2.5rem;
}

.auth-title {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8rem;
    color: #888;
    width: 100%;
    display: block;
}

