/* =====================================================
   File: admin.css
   Stylesheet for index.php (Admin Portal & Login Screen)
   Refined Executive Aesthetic (Matching Invoice UX/UI)
   ===================================================== */

/* ── LOCAL OCR FONTS + INTER TYPOGRAPHY ── */
@font-face {
    font-family: 'OCR-A BT';
    src: url('fonts/OCRAEXT.TTF') format('truetype'),
         url('fonts/OCR-a_.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'OCR A Extended';
    src: url('fonts/OCRAEXT.TTF') format('truetype'),
         url('fonts/OCR-a_.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'OCR-B';
    src: url('fonts/OCR-B.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary:       #111111;
    --primary-dark:  #000000;
    --accent:        #b01e2a;
    --accent-dark:   #8f1620;
    --accent-light:  #fff5f6;
    --bg:            #ffffff;
    --card:          #ffffff;
    --border:        #e2e2e2;
    --border-input:  #cbd5e1;
    --text:          #1a1a1a;
    --muted:         #555555;
    --success:       #15803d;
    --warning:       #b45309;
    --danger:        #b01e2a;
    --font-main:     'Inter', 'Segoe UI', Arial, sans-serif;
    --font-ocr:      'OCR-A BT', 'OCR A Extended', 'OCR-B', monospace;
}

body {
    background: #ffffff;
    color: var(--text);
    font-family: var(--font-main);
    font-size: 9.5pt;
    line-height: 1.5;
    max-width: 1280px;
    margin: auto;
    -webkit-font-smoothing: antialiased;
}

/* =====================================================
   LOGIN SCREEN STYLES (body.login-page)
   ===================================================== */
body.login-page {
    min-height: 100vh;
    background: #ffffff;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    font-family: var(--font-main);
    padding: 44px 16px 32px;
}
.login-card {
    background: #ffffff;
    border: 1px solid #e2e2e2;
    border-top: 5px solid var(--accent);
    border-radius: 4px;
    width: 100%;
    max-width: 440px;
    padding: 32px 30px 26px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.login-logo {
    text-align: center;
    margin-bottom: 18px;
}
.login-logo img {
    max-width: 195px;
    width: 100%;
    height: auto;
}
.login-title {
    text-align: center;
    font-size: 7pt;
    font-weight: 600;
    color: #111111;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e2e2e2;
    border-top: 1px solid #e2e2e2;
    background: #fafafa;
    padding: 8px 0;
}
.security-notice {
    background: #fafafa;
    border: 1px solid #e2e2e2;
    border-left: 3.5px solid var(--accent);
    border-radius: 3px;
    padding: 3px 12px;
    font-size: 8pt;
    color: #444444;
    margin-bottom: 14px;
    line-height: 1.45;
}
.security-notice strong {
    color: #111111;
    text-transform: uppercase;
}
.lockout-banner {
    background: #fff5f6;
    border: 1px solid #f3c2c6;
    border-left: 4px solid var(--accent);
    border-radius: 4px;
    padding: 12px 14px;
    margin-bottom: 16px;
    color: #222222;
    font-size: 8.5pt;
    line-height: 1.45;
}
.lockout-banner .lock-head {
    color: var(--accent);
    font-weight: 800;
    font-size: 9.2pt;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}
.lockout-timer {
    font-family: var(--font-ocr);
    font-size: 10.5pt;
    font-weight: 700;
    color: var(--accent);
    background: #ffffff;
    border: 1px solid #e2b4b8;
    border-radius: 3px;
    display: inline-block;
    padding: 3px 10px;
    margin: 6px 0;
}
.login-field {
    position: relative;
    margin-bottom: 14px;
}
.login-field label {
    display: block;
    font-size: 7.5pt;
    font-weight: 700;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 5px;
}
.login-field input {
    width: 100%;
    padding: 9px 38px 9px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
    font-size: 9.5pt;
    font-family: var(--font-main);
    font-weight: 500;
    color: #111827;
    background: #ffffff;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.login-field input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(176, 30, 42, 0.14);
}
.login-field input:disabled {
    background: #f3f4f6;
    color: #6b7280;
    cursor: not-allowed;
}
.toggle-pw {
    position: absolute;
    right: 10px;
    bottom: 9px;
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    line-height: 1;
}
.toggle-pw:hover { color: var(--accent); }
.login-error {
    background: #fff5f6;
    border: 1px solid #f3c2c6;
    border-left: 3.5px solid var(--accent);
    color: var(--accent);
    border-radius: 3px;
    padding: 9px 12px;
    font-size: 8.5pt;
    font-weight: 600;
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 7px;
    line-height: 1.4;
}
.login-success {
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    border-left: 3.5px solid #15803d;
    color: #15803d;
    border-radius: 3px;
    padding: 9px 12px;
    font-size: 8.5pt;
    font-weight: 600;
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 7px;
    line-height: 1.4;
}
.login-btn {
    width: 100%;
    padding: 10px 14px;
    background: var(--accent);
    color: #ffffff;
    border: 1px solid var(--accent);
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 8.8pt;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all .15s;
    margin-top: 2px;
}
.login-btn:hover { background: #111111; border-color: #111111; }
.login-btn:disabled {
    background: #9ca3af;
    border-color: #9ca3af;
    cursor: not-allowed;
}
.login-actions-bar {
    margin-top: 11px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.sub-action-btn {
    width: 100%;
    padding: 7px 10px;
    background: #ffffff;
    color: #1f2937;
    border: 2px solid #b01e2a;
    border-radius: 3px;
    font-family: var(--font-main);
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 6px;
    transition: all .15s;
}
.sub-action-btn i { color: var(--accent); }
.sub-action-btn:hover {
    background: #111827;
    border-color: #111827;
    color: #ffffff;
}
.sub-action-btn:hover i { color: #ffffff; }
.recovery-box {
    display: none;
    margin-top: 12px;
    padding: 12px 14px;
    background: #fafafa;
    border: 1px solid #e2e2e2;
    border-top: 3px solid var(--accent);
    border-radius: 4px;
}
.recovery-box h4 {
    font-size: 8.2pt;
    font-weight: 800;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.recovery-box h4 i { color: var(--accent); }
.recovery-box p {
    font-size: 7.8pt;
    color: #4b5563;
    line-height: 1.45;
    margin-bottom: 10px;
}
@media (max-width: 480px) {
    .login-card { padding: 24px 18px 20px; }
    .login-logo img { max-width: 160px; }
}

/* =====================================================
   MAIN ADMIN PORTAL STYLES (INVOICE UX/UI AESTHETIC)
   ===================================================== */

/* ── CLEAN TOP HEADER WITH RED ACCENT STRIP ── */
header {
    background: #ffffff;
    border: 1px solid #e2e2e2;
    border-top: 5px solid var(--accent);
    border-radius: 4px;
    margin: 12px 24px 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 8px;
    z-index: 100;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 22px;
    max-width: 1400px;
    margin: 0 auto;
    gap: 16px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--primary);
}
.logo-img {
    height: 46px;
    width: auto;
    max-width: 185px;
    object-fit: contain;
    display: block;
}
.logo-divider {
    width: 1px;
    height: 34px;
    background: #e2e2e2;
}
.logo-text strong {
    font-size: 12.5pt;
    font-weight: 800;
    display: block;
    color: #111111;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: normal;
    margin-top: 6px;
}
.logo-text span {
    font-size: 7.5pt;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.header-nav {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    margin-left: auto;
}
.nav-btn {
    color: #1f2937;
    background: #ffffff;
    text-decoration: none;
    padding: 6px 11px;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
    font-family: var(--font-main);
    font-size: 8pt;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all .15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    box-sizing: border-box;
    white-space: nowrap;
    flex-shrink: 0;
}
.nav-btn i { color: var(--accent); font-size: 9pt; transition: color .15s; }
.nav-btn:hover {
    background: #111827;
    border-color: #111827;
    color: #ffffff;
}
.nav-btn:hover i { color: #ffffff; }
.nav-btn.btn-logout {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
    font-weight: 700;
}
.nav-btn.btn-logout i { color: #ffffff; }
.nav-btn.btn-logout:hover {
    background: var(--accent);
    border-color: var(--accent);
}

/* ── LAYOUT ── */
.container { max-width: 1400px; margin: 0 auto; padding: 16px 24px 24px; }

/* ── LAYMAN GUIDE BANNER (SOFT INVOICE BILL-ROW AESTHETIC) ── */
.guide-box {
    background: #ebebeb;
    border: 1px solid #e2e2e2;
    border-left: 4px solid var(--accent);
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 18px;
    margin-top: 0px;
}
.guide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 6px;
}
.guide-header h3 {
    font-size: 8.5pt;
    font-weight: 800;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: flex;
    align-items: center;
    gap: 7px;
}
.guide-header h3 i { color: var(--accent); }
.guide-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.guide-step {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 3px;
    padding: 10px 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.guide-step-num {
    background: var(--accent);
    color: #ffffff;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    font-family: var(--font-main);
    font-size: 7.8pt;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.guide-step-text strong {
    display: block;
    font-size: 8.2pt;
    font-weight: 700;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}
.guide-step-text span {
    font-size: 8pt;
    color: #555555;
    line-height: 1.45;
    display: block;
}

/* ── MESSAGES ── */
.message {
    padding: 10px 14px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 9pt;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.success { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; border-left: 4px solid #15803d; }
.error   { background: #fff5f6; color: var(--accent); border: 1px solid #f3c2c6; border-left: 4px solid var(--accent); }

/* ── CARDS (CLEAN INVOICE SHEET AESTHETIC) ── */
.card {
    background: #ffffff;
    border: 1px solid #e2e2e2;
    border-top: 4px solid var(--accent);
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 22px;
    overflow: hidden;
    position: relative;
}
.card-header {
    background: #fafafa;
    color: #111111;
    padding: 11px 18px;
    font-size: 9pt;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    border-bottom: 1px solid #e2e2e2;
}
.card-header i {
    color: var(--accent);
}
.card-header .badge-count {
    margin-left: auto;
    font-family: var(--font-main);
    font-size: 7.5pt;
    font-weight: 700;
    letter-spacing: 0.8px;
    background: #ffffff;
    color: var(--accent);
    border: 1.5px solid var(--accent);
    padding: 2px 10px;
    border-radius: 3px;
    text-transform: uppercase;
}
.card-body { padding: 18px; }

/* ── SHIPMENT TYPE SELECTOR (REFINED TACTILE CARDS) ── */
.type-selector-wrapper {
    background: #ebebeb;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 18px;
}
.type-selector-prompt {
    font-size: 8.2pt;
    font-weight: 800;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: block;
    align-items: center;
    gap: 7px;
    line-height: normal;
}
.type-selector-prompt i { color: var(--accent); font-size: 10pt; }
.type-selector-prompt span.prompt-hint {
    font-weight: 500;
    text-transform: none;
    color: #555555;
    font-size: 8pt;
}
.type-selector {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.type-option {
    flex: 1;
    min-width: 250px;
    max-width: 420px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    cursor: pointer;
    background: #ffffff;
    transition: all .15s ease;
    color: #111827;
    user-select: none;
}
.type-option:hover {
    border-color: var(--accent);
    box-shadow: 0 2px 8px rgba(176, 30, 42, 0.10);
}
.type-option .type-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 4px;
    background: #f3f4f6;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    border: 1px solid #e5e7eb;
    transition: all .15s;
}
.type-option-label { flex: 1; }
.type-option-label strong {
    font-size: 9.8pt;
    font-weight: 800;
    display: block;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.type-option-label span {
    font-size: 7.8pt;
    color: #6b7280;
    font-weight: 500;
    display: block;
}
.type-option .click-badge {
    font-family: var(--font-main);
    font-size: 7.2pt;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 3px 8px;
    border-radius: 3px;
    background: #f9fafb;
    color: #4b5563;
    border: 1px solid #d1d5db;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.type-option.active-sea,
.type-option.active-air {
    border-color: var(--accent);
    border-left: 4px solid var(--accent);
    background: #fffafa;
    box-shadow: 0 2px 8px rgba(176, 30, 42, 0.08);
}
.type-option.active-sea .type-option-label strong,
.type-option.active-air .type-option-label strong {
    color: var(--accent);
}
.type-option.active-sea .type-icon-box,
.type-option.active-air .type-icon-box {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}
.type-option.active-sea .click-badge,
.type-option.active-air .click-badge {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

/* ── 3-COLUMN FORM GRID (SOFT INVOICE SECTION BOXES) ── */
.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.form-section-box {
    background: #ebebeb;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    padding: 14px 16px;
}
.section-title {
    font-size: 7.8pt;
    font-weight: 700;
    color: var(--accent);
    border-bottom: 1px solid #e2e2e2;
    padding: 0 0 7px;
    margin-bottom: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.section-title i { color: var(--accent); font-size: 9pt; }
.form-group {margin-bottom: 5px;}
.form-group:last-child { margin-bottom: 0; }
label {
    display: block;
    font-family: var(--font-main);
    font-size: 7.4pt;
    font-weight: 700;
    color: #4b5563;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
input, select, textarea {
    width: 100%;
    padding: 6px 9px;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
    font-size: 8.8pt;
    font-family: var(--font-main);
    font-weight: 500;
    color: #111827;
    background: #ffffff;
    transition: border-color .15s, box-shadow .15s;
}
input::placeholder, textarea::placeholder {
    font-family: var(--font-main);
    font-weight: 400;
    color: #9ca3af;
    font-size: 8.2pt;
}
input[readonly] {
    background: #f3f4f6;
    color: #6b7280;
    border-color: #e5e7eb;
    cursor: default;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--accent);
    outline: none;
    background: #fffbeb;
    box-shadow: 0 0 0 2px rgba(176, 30, 42, 0.14);
}
textarea { resize: vertical; min-height: 52px; }

/* ── BUTTONS (INVOICE ACTION-BIG-BTN AESTHETIC) ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--accent);
    color: #ffffff;
    border: 1px solid var(--accent);
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 8.8pt;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    text-decoration: none;
    transition: all .15s;
}
.btn:hover {
    background: #111111;
    border-color: #111111;
}
.btn-secondary {
    background: #111111;
    border-color: #111111;
}
.btn-secondary:hover {
    background: #374151;
    border-color: #374151;
}
.btn-block { width: 100%; margin-top: 16px; }

/* ── RECORDS TABLE (PERFECT FIT, COMPACT SINGLE-LINE HEIGHT) ── */
.table-container { width: 100%; overflow-x: auto; }
.records-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.records-table th {
    background: #111111;
    color: #ffffff;
    padding: 7px 8px;
    text-align: left;
    font-family: var(--font-main);
    font-size: 7.2pt;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    line-height: 1.2;
    vertical-align: middle;
    white-space: nowrap;
}
.records-table td {
    padding: 6px 8px;
    border-bottom: 1px solid #ebebeb;
    font-size: 8pt;
    vertical-align: middle;
    line-height: 1.25;
    color: #222222;
}
.records-table tr:nth-child(even) td { background: #fbfbfb; }
.records-table tr:hover td { background: rgba(186, 12, 47, 0.04); }

/* SKR Depository Table Column Specifications (Sum = 100%) */
.col-skr-id      { width: 20%; }
.col-skr-owner   { width: 24%; }
.col-skr-asset   { width: 22%; }
.col-skr-val     { width: 14%; text-align: right; }
.col-skr-status  { width: 10%; text-align: center; }
.col-skr-pay     { width: 4%;  text-align: center; }
.col-skr-actions { width: 6%;  text-align: center; }

.skr-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.skr-val-highlight {
    font-family: var(--font-ocr);
    font-weight: 700;
    color: #ba0c2f;
    font-size: 8.6pt;
    white-space: nowrap;
}

.route-cell {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.route-point {
    font-size: 7.8pt;
    font-weight: 600;
    color: #222222;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.route-dest {
    color: #555555;
    font-size: 7.5pt;
    font-weight: 500;
}
.cell-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
    color: #222222;
}

/* ── BADGES (REFINED PILLS) ── */
.badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: var(--font-main);
    font-size: 7pt;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
}
.badge-sea     { background: #f3f4f6; color: #1f2937; border: 1px solid #d1d5db; }
.badge-air     { background: #fff5f6; color: var(--accent); border: 1px solid #f3c2c6; }
.badge-success { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.badge-warning { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.badge-danger  { background: #fff5f6; color: var(--accent); border: 1px solid #f3c2c6; }
.badge-info    { background: #f3f4f6; color: #111827; border: 1px solid #d1d5db; }
.badge-default { background: #f9fafb; color: #4b5563; border: 1px solid #e5e7eb; }

/* ── ACTION BUTTONS (CLEAN TABLE CONTROLS) ── */
.action-cell { display: flex; gap: 4px; justify-content: flex-start; flex-wrap: nowrap; }
.action-btn {
    padding: 3px 7px;
    border-radius: 3px;
    text-decoration: none;
    font-family: var(--font-main);
    font-size: 7.2pt;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #ffffff;
    white-space: nowrap;
    transition: all .15s;
}
.action-btn:hover { opacity: .9; }
.view-btn   { background: #15803d; }
.edit-btn   { background: #1f2937; }
.edit-btn:hover { background: var(--accent); }
.delete-btn { background: var(--accent); }
.delete-btn:hover { background: var(--accent-dark); }

.hidden-field { display: none !important; }

/* ── FOOTER (INVOICE INV-FOOTER DARK STRIP WITH BOTTOM RED ACCENT) ── */
footer {
    background: #111111;
    border-bottom: 3px solid var(--accent);
    color: #cccccc;
    text-align: center;
    padding: 12px 24px;
    margin: 12px 24px 24px;
    border-radius: 4px;
    font-size: 8.2pt;
    letter-spacing: 0.3px;
}
footer strong { color: #ffffff; }

/* ── DATEPICKER ── */
.datepicker { font-size: 8.8pt; }
.ui-datepicker table { font-size: .88em; }
.datepicker-dropdown { z-index: 10000 !important; }

/* ── RESPONSIVE / MOBILE FRIENDLY ── */
@media (max-width: 1250px) {
    .nav-btn { padding: 5px 8px; font-size: 7.5pt; gap: 4px; }
    .logo-text span { font-size: 7pt; }
}
@media (max-width: 1100px) {
    .form-grid { grid-template-columns: repeat(2, 1fr); }
    .guide-steps { grid-template-columns: 1fr; }
    .logo-text span { display: none; }
}
@media (max-width: 720px) {
    header { margin: 8px 12px 0; }
    footer { margin: 12px 12px 18px; }
    .container { padding: 12px; }
    .header-content { flex-direction: column; align-items: flex-start; padding: 10px 12px; }
    .header-nav { width: 100%; justify-content: flex-start; }
    .nav-btn { flex: 1; justify-content: center; padding: 8px 10px; font-size: 8pt; }
    .form-grid { grid-template-columns: 1fr; gap: 12px; }
    .type-selector { flex-direction: column; }
    .type-option { max-width: 100%; min-width: 0; }
    input, select, textarea { font-size: 16px; min-height: 42px; }
    .card-body { padding: 12px; }
    .records-table { table-layout: auto; min-width: 860px; }
}
@media print { .action-cell, .nav-btn, .guide-box { display: none; } }
