/* Minification failed. Returning unminified contents.
(16,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(17,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(18,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(19,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(21,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(22,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(23,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(24,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(25,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(27,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(28,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(30,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(31,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(32,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(33,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(35,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(36,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(51,28): run-time error CSS1039: Token not allowed after unary operator: '-canvas'
(52,17): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(68,17): run-time error CSS1039: Token not allowed after unary operator: '-brand'
(71,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(72,23): run-time error CSS1039: Token not allowed after unary operator: '-brand-hover'
(81,28): run-time error CSS1039: Token not allowed after unary operator: '-brand'
(89,22): run-time error CSS1039: Token not allowed after unary operator: '-header-h'
(156,28): run-time error CSS1039: Token not allowed after unary operator: '-line'
(157,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(158,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(166,35): run-time error CSS1039: Token not allowed after unary operator: '-line'
(168,17): run-time error CSS1039: Token not allowed after unary operator: '-brand'
(179,22): run-time error CSS1039: Token not allowed after unary operator: '-brand'
(194,21): run-time error CSS1039: Token not allowed after unary operator: '-control-fs'
(200,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(213,17): run-time error CSS1039: Token not allowed after unary operator: '-danger'
(231,22): run-time error CSS1039: Token not allowed after unary operator: '-surface'
(232,32): run-time error CSS1039: Token not allowed after unary operator: '-line'
(233,17): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(259,22): run-time error CSS1039: Token not allowed after unary operator: '-surface'
(260,28): run-time error CSS1039: Token not allowed after unary operator: '-line'
(261,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(262,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow'
(276,58): run-time error CSS1039: Token not allowed after unary operator: '-success'
(277,58): run-time error CSS1039: Token not allowed after unary operator: '-danger'
(285,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(293,34): run-time error CSS1039: Token not allowed after unary operator: '-muted'
 */
/* ============================================================
   AFAB EHS — Hazard Reporting System
   Global stylesheet. Bundled as ~/Content/css (see Bundle.config)
   and shared by every page that uses Site.Master, so this file is
   the single source of truth for the app's layout and design.

   Layers, top to bottom:
     1. Design tokens         5. Form controls
     2. Base + typography     6. Footer
     3. App shell             7. Status pages (success / error)
     4. Cards / form sections
   ============================================================ */

/* 1. Design tokens ----------------------------------------- */
:root {
    --brand:        #1a2853; /* company navy — header, headings, primary accents */
    --brand-strong: #121c3d;
    --brand-hover:  #24356b;
    --accent:       #2c89c9; /* secondary blue — links, focus rings */

    --ink:          #1f2733; /* body copy */
    --muted:        #5b6472; /* secondary copy */
    --line:         #e3e7ee; /* hairline borders */
    --surface:      #ffffff; /* cards / panels */
    --canvas:       #f4f6f9; /* page background */

    --danger:       #dc3545;
    --success:      #198754;

    --radius:       .5rem;
    --radius-sm:    .375rem;
    --shadow-sm:    0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
    --shadow:       0 4px 12px rgba(16, 24, 40, .08);

    --header-h:     64px;
    --control-fs:   .9rem;
}

/* 2. Base + typography ------------------------------------- */
html {
    position: relative;
    min-height: 100%;
    font-size: 16px;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--canvas);
    color: var(--ink);
    font-family: 'Maven Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: .95rem;
    line-height: 1.5;
}

/* The WebForms <form> wraps the entire shell; make it the flex column
   so the footer can stick to the bottom of the viewport on short pages. */
#formMain {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--brand);
}

a { color: var(--accent); }
a:hover { color: var(--brand-hover); }

.font-maven { font-family: 'Maven Pro', Arial, Helvetica, sans-serif; }

/* 3. App shell --------------------------------------------- */
.app-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: var(--brand);
    box-shadow: 0 2px 8px rgba(16, 24, 40, .18);
}

.app-header__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: var(--header-h);
    max-width: 1200px;
    margin: 0 auto;
    padding: .5rem 1.25rem;
}

.app-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
    color: #fff;
}
.app-brand:hover,
.app-brand:focus { color: #fff; }

.app-brand__logo {
    height: 38px;
    width: auto;
    display: block;
}

.app-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.app-brand__text strong {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .04em;
}
.app-brand__text span {
    font-size: .78rem;
    color: rgba(255, 255, 255, .8);
}

.app-tagline {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: rgba(255, 255, 255, .9);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.app-tagline i { color: #7fc4a8; } /* subtle safety-green accent */

@media (max-width: 575.98px) {
    .app-tagline { display: none; }
    .app-brand__text strong { font-size: .95rem; }
}

/* Content region grows to push the footer down. */
#content-wrapper { flex: 1 0 auto; }

.body-content {
    padding-top: 1.5rem;
    padding-bottom: 2.5rem;
}

#body-wrapper { width: 100%; }

/* 4. Cards / form sections --------------------------------- */
.card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.form-card > .card-header {
    display: flex;
    align-items: center;
    gap: .6rem;
    background-color: #f7f9fc;
    border-bottom: 1px solid var(--line);
    font-weight: 600;
    color: var(--brand);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
}

/* 5. Form controls ----------------------------------------- */
.form-label {
    font-weight: 600;
    color: #33415c;
    margin-bottom: .3rem;
}

.form-control,
.form-select {
    font-size: var(--control-fs);
    border-color: #d5dbe6;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 .2rem rgba(44, 137, 201, .2);
}

.form-control::placeholder { color: #9aa4b5; }

textarea.form-control { resize: vertical; }

.btn { font-weight: 600; }

/* Required-field marker: append a red asterisk to any labelled control. */
.required::after {
    content: " *";
    color: var(--danger);
    font-weight: 700;
}

/* Off-screen honeypot: invisible to humans, tempting to bots. */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

/* 6. Footer ------------------------------------------------- */
.app-footer {
    flex-shrink: 0;
    background: var(--surface);
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .8rem;
}

.app-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.25rem;
}

/* 7. Status pages (success / error outcomes) --------------- */
.status-wrap {
    display: flex;
    justify-content: center;
    padding: 2rem 0 3rem;
}

.status-card {
    width: 100%;
    max-width: 620px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2.75rem 2rem;
}

.status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    margin-bottom: 1.25rem;
    border-radius: 50%;
    font-size: 2.4rem;
}
.status-icon--success { background: #e7f4ee; color: var(--success); }
.status-icon--error   { background: #fdecec; color: var(--danger); }

.status-eyebrow {
    margin-bottom: .6rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
}

.status-card h1 {
    font-size: 1.6rem;
    margin-bottom: .5rem;
}

.status-card .lead { color: var(--muted); }

