/* TFP Nutrition HR portal. Colors and fonts match the feed ordering portal. */
:root {
    --brand-blue: #1B4B9B;
    --brand-blue-dark: #123A7D;
    --brand-red: #C41230;
    --ink: #1C2434;
    --muted: #5B6472;
    --paper: #F5F6F8;
    --card: #FFFFFF;
    --line: #DDE1E8;
    --ok: #1E7B34;
    --radius: 12px;
    --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
    font: 16px/1.5 "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
}
h1, h2, h3 { font-family: "Barlow Condensed", "Barlow", sans-serif; line-height: 1.2; }
h1 { font-size: 28px; margin: 0 0 12px; }
h2 { font-size: 20px; margin: 0 0 6px; }
a { color: var(--brand-blue); }

/* Header: white bar, logo left, red rule underneath (same as the feed portal). */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 16px;
    padding: 10px 16px;
    background: var(--card);
    border-bottom: 3px solid var(--brand-red);
}
.brand img { display: block; height: 44px; width: auto; }
@media (max-width: 480px) { .brand img { height: 34px; } }
.header-links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-weight: 600; }
.header-links a { text-decoration: none; }
.header-links .who { color: var(--muted); font-weight: 400; }
form.inline { display: inline; margin: 0; }
.linklike { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--brand-blue); cursor: pointer; }

.page { max-width: 1120px; margin: 0 auto; padding: 20px 16px 40px; }
.lead { color: var(--muted); margin: 0 0 18px; }
.muted { color: var(--muted); }
.center { text-align: center; }

.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.card.narrow { max-width: 440px; margin: 24px auto; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }

/* Forms */
label.f { display: block; font-size: 14px; font-weight: 600; margin: 14px 0 4px; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=date],
input[type=number], select, textarea {
    width: 100%;
    font: inherit;
    padding: 10px 12px;
    min-height: 44px;
    border: 1px solid #C8CFDB;
    border-radius: 8px;
    background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 3px solid #C9D8F5; border-color: var(--brand-blue); }
.err { display: block; font-size: 13px; color: var(--brand-red); margin-top: 4px; }
.alert { background: #FDE8EB; color: #8A0D22; border-radius: 8px; padding: 10px 12px; }

.btn {
    display: inline-block;
    border: 0;
    border-radius: 10px;
    padding: 11px 18px;
    min-height: 44px;
    font: inherit;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.btn.primary { background: var(--brand-blue); color: #fff; }
.btn.primary:hover { background: var(--brand-blue-dark); }
.btn.full { width: 100%; margin-top: 18px; }
