/* Shared account pages: independent of the nutrition manager's content. */
.auth-intro h1 { max-width: 600px; }
.auth-intro .login-features { max-width: 600px; text-align: left; }
.auth-public-note { color: #fffaf0; line-height: 1.6; margin: 22px 0 0; max-width: 600px; }
.auth-public-note p { margin: 0; }
.auth-public-note p + p { margin-top: 12px; }
.auth-return-note { padding: 14px 16px; margin: 0 0 20px; border: 1px solid #d7e5d2; border-radius: 12px; background: #f3f8ef; color: #23432c; font-size: 15px; line-height: 1.6; }
.auth-account-note { color: #425c43; line-height: 1.6; margin: 12px 0; }
.auth-session-note { line-height: 1.6; }
.auth-back-link { display: block; margin-top: 14px; color: #355c3e; text-align: center; }
.auth-modal-page .auth-return-note { text-align: center; }
.login-form .login-extra-actions a { box-sizing: border-box; text-align: center; }
.account-page .login-layout { align-items: center; }
.account-page .login-form-panel { align-items: center; justify-content: center; }
.account-page .login-form-stack { height: auto; justify-content: center; }
.account-page .login-card { margin-top: 0; box-sizing: border-box; }
.account-page .auth-intro .auth-return-note { width: 100%; box-sizing: border-box; margin: 18px 0 0; }
.horsefeeding-heading-prefix { display: block; font-size: 0.65em; margin-bottom: 8px; }
.horsefeeding-page .login-layout { align-items: stretch; }
.horsefeeding-page .login-form-panel { align-self: stretch; align-items: stretch; justify-content: center; }
.horsefeeding-page .login-form-stack {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    justify-content: flex-start;
    height: auto;
    gap: 18px;
}
.horsefeeding-page .login-nrc-card { flex: 0 0 auto; min-height: 168px; }
.horsefeeding-page .horsefeeding-functions {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
}
.horsefeeding-functions-text { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; }
.horsefeeding-functions-text p { margin: 0 0 14px; font-size: 14px; line-height: 1.6; color: #253c2e; }
.horsefeeding-functions-text p:last-child { margin-bottom: 0; }
.horsefeeding-actions { margin-top: 20px; text-align: center; }
.horsefeeding-actions .button-link { box-sizing: border-box; }
.horsefeeding-page .horsefeeding-entry-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1180px;
    flex-shrink: 0;
    min-height: 62px;
    box-sizing: border-box;
    margin: 0 auto 22px;
    padding: 14px 22px;
    border-radius: 999px;
    text-align: center;
    font-weight: 800;
    line-height: 1.4;
    background: #e2efdf;
    color: #183c28;
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.horsefeeding-page .horsefeeding-entry-button:hover {
    background: #d6e7d1;
    color: #14351f;
}
.horsefeeding-page .horsefeeding-entry-button:focus-visible {
    outline: 3px solid #b5d9a6;
    outline-offset: 4px;
}
@media (max-width: 980px) {
    .horsefeeding-page .login-form-stack { max-width: 100%; }
}
@media (max-width: 720px) {
    .auth-intro { padding: 22px 18px; }
    .auth-intro h1 { font-size: 30px; }
    .auth-intro .login-brand-text { font-size: 16px; }
    .auth-intro .login-feature-card { padding: 12px; min-height: 72px; }
    .auth-return-note { padding: 12px; }
}
