/* Authentication Pages CSS */

.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px); /* Adjust based on header/footer height */
    padding: 40px 20px;
}

.auth-container {
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    padding: 40px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-primary-dark);
}

.auth-subtitle {
    font-size: 15px;
    color: var(--color-muted);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-text-main);
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #f9f9f9;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(104, 135, 69, 0.15);
    background-color: #ffffff;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--color-text-main);
    cursor: pointer;
}

.form-check input {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.auth-links {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
}

.auth-link {
    color: var(--color-primary);
    font-weight: 500;
    transition: color 0.2s ease;
}

.auth-link:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

.text-danger {
    color: #dc3545;
    font-size: 13px;
    margin-top: 4px;
    display: block;
}

/* External Logins (if any) */
.auth-separator {
    margin: 24px 0;
    border-top: 1px solid #e0e0e0;
    position: relative;
}

.auth-separator span {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    padding: 0 12px;
    color: var(--color-muted);
    font-size: 13px;
}

/* Password Toggle */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-toggle {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: var(--color-muted, #6c757d);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.password-toggle:focus {
    outline: none;
    color: var(--color-primary);
}

.password-wrapper .form-input {
    padding-right: 48px;
}
