/* /css/login.css */

#auth-app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.auth-container {
    width: 100%;
    max-width: 24rem;
    padding: 1rem;
    margin: auto;
    /* Center the container vertically and horizontally */
}

.card {
    background-color: var(--card-color);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    border-radius: 0.75rem;
    padding: 1.5rem;
    position: relative;
    transition: background-color 0.3s ease;
}

.card-subtitle {
    font-size: 1.125rem;
    font-weight: 500;
    text-align: center;
    color: var(--text-secondary);
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.form-container {
    transition: opacity 0.3s ease;
}

.hidden {
    display: none;
}

.form-group:last-of-type {
    margin-bottom: 1.25rem;
}

.message-area {
    min-height: 20px;
    text-align: center;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0;
    font-size: 0.875rem;
}

.message-area.success {
    color: var(--success-color);
}

.message-area.error {
    color: var(--error-color);
}

.info-tip {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 1rem;
}

.toggle-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 1.25rem;
    margin-bottom: 0;
}

.toggle-link {
    font-weight: 700;
    color: var(--emerald-500);
    cursor: pointer;
}

.toggle-link:hover {
    color: var(--emerald-600);
}