/* Auth Pages specific styles */

body.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background-color: var(--bg-secondary); /* Matches login.html dark bg preference */
}

.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.auth-box {
    background-color: #1e1e1e;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
    width: 300px;
    max-width: 100%;
}

.auth-box.register-box {
    width: 350px;
}

.auth-box h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.auth-box input,
.auth-box button {
    width: 100%;
    padding: 0.6rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
}

.auth-box input {
    background-color: #2a2a2a; /* Slightly lighter input bg for visibility */
    color: var(--text-color);
}

.auth-box button {
    background-color: var(--primary-color);
    color: var(--bg-secondary);
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.2s;
}

.auth-box button:hover {
    opacity: 0.9;
}

.auth-box button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.error {
    color: #ff4444;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 14px;
}

.error-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.error-list li {
    margin-bottom: 0.5rem;
}

.success {
    color: #44ff44;
    text-align: center;
    margin-bottom: 1rem;
}

.link {
    text-align: center;
    margin-top: 1rem;
    font-size: 14px;
}

.link a {
    color: var(--primary-color);
    text-decoration: none;
}

.link a:hover {
    text-decoration: underline;
}

/* Specific to Logo on Auth pages if needed different from Global */
.wrapper .logo {
    font-size: 48px;
}

.wrapper .baseline {
    margin-bottom: 20px;
    font-size: 12px;
}
