/* ═══════════════════════════════════
           PAGE BODY
        ═══════════════════════════════════ */
.auth-page-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 24px 48px;
}

/* ═══════════════════════════════════
           NOTICE BOX
        ═══════════════════════════════════ */
.notice-box {
    width: 100%;
    max-width: 218px;
    /* align with form — same max-width container */
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 14px 16px;
    font-size: 0.76rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 20px;
}

.notice-box p {
    margin-bottom: 8px;
}
.notice-box p:last-child {
    margin-bottom: 0;
}

.notice-box strong {
    font-weight: 700;
    color: #111;
}

.notice-box ul {
    list-style: disc;
    padding-left: 16px;
    margin: 6px 0 8px;
}

.notice-box ul li {
    margin-bottom: 4px;
}

/* ═══════════════════════════════════
    LOGIN FORM
═══════════════════════════════════ */
.auth-login-wrap {
    width: 100%;
    max-width: 218px;
}

.auth-form-group {
    margin-bottom: 13px;
}

.auth-form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    color: #374151;
    margin-bottom: 5px;
}

.auth-form-input {
    width: 100%;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.83rem;
    color: #1f2937;
    background: #fff;
    outline: none;
    transition:
        border-color 0.15s,
        box-shadow 0.15s;
}

.auth-form-input::placeholder {
    color: #9ca3af;
}

.auth-form-input:focus {
    border-color: #1a6644;
    box-shadow: 0 0 0 2px rgba(26, 102, 68, 0.1);
}

.auth-forgot-link {
    display: block;
    font-size: 0.8rem;
    color: #374151;
    margin-bottom: 14px;
    transition: color 0.15s;
}
.auth-forgot-link:hover {
    color: #111;
    text-decoration: underline;
}

/* Or divider */
.or-row {
    text-align: center;
    font-size: 0.8rem;
    color: #9ca3af;
    margin-bottom: 14px;
}

/* Don't have an account row */
.auth-register-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: #374151;
}

.auth-btn-register {
    height: 32px;
    padding: 0 16px;
    background-color: #1e4d35;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
}
.auth-btn-register:hover {
    background: #163d29;
}

.auth-login-card {
    width: 100%;
    max-width: 480px;
}

.auth-login-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--green-dark);
    margin-bottom: 4px;
}

.auth-login-subtitle {
    font-size: 0.9375rem;
    color: #9ca3af;
    margin-bottom: 28px;
}

/* ── Alerts ── */
.alert {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 18px;
}

.alert-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

/* ── Form ── */
.auth-form-group {
    margin-bottom: 20px;
}

.auth-form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.auth-form-input {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
    color: #1f2937;
    background: #ffffff;
    outline: none;
    transition:
        border-color 0.15s,
        box-shadow 0.15s;
}

.auth-form-input::placeholder {
    color: #9ca3af;
}

.auth-form-input:focus {
    border-color: #2d6a4f;
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

.auth-forgot-password {
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
    text-decoration: none;
    margin-bottom: 20px;
    margin-top: -8px;
}

.auth-forgot-password:hover {
    color: #374151;
    text-decoration: underline;
}

.auth-btn-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 32px;
}

.auth-btn-login {
    height: 40px;
    padding: 0 20px;
    background-color: var(--green-mid);
    color: #ffffff;
    border: 1px solid var(--green-mid);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s;
}

.auth-btn-login:hover {
    background-color: var(--green-dark);
}

.auth-btn-register {
    height: 40px;
    padding: 0 20px;
    background-color: #ffffff;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 400;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition:
        background-color 0.15s,
        border-color 0.15s;
}

.auth-btn-register:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
}
