﻿input.error {
    background: #fbe3e4 !important;
    border: 1px solid #fbc2c4 !important;
}
label.error {
    font-size: small !important;
    color: red !important;
    font-weight: 800 !important;
}

label.error {
    font-size: small !important;
    color: red !important;
    font-weight: 800 !important;
}

div.error {
    font-size: small !important;
    color: red !important;
    font-weight: 800 !important;
}

span.error {
    background-color: #fbe3e4 !important;
}

.errorLabel {
    font-weight: 800 !important;
    color: red !important;
}

textarea.error {
    background-color: #fbe3e4 !important;
}

select.error {
    background-color: #fbe3e4 !important;
}

body {
    font-size: 13px !important;
}

body .blockquote {
        font-size: 13px !important;
}

.menuText {
    font-size: 12px !important;
}

.col-form-label {
    line-height: 1.4 !important;
}

#footerNav {
    margin-bottom: 0px !important;
    overflow-y: visible !important;
}

div.footerNav ul
{
    margin-right:25px !important;
}

div.footerNav ul > li {
    list-style: none !important;
}
li.page-item {
    list-style: none !important;
}

.floatingButton {
    position: fixed;
    top: 90px;
    right: 25px;
    z-index: 2147483647 !important;
}

.chat_override{
    margin-left:0px !important;
}

.cookieModalDialog {
    position: absolute;
    bottom: 0px !important;
    right: 0px !important;
}

/* =====================================================================
   CCVC brand theme — navy + bronze-gold.
   site.css loads after the vendor theme (style.min.css), so these win.
   ===================================================================== */
:root {
    --ccvc-navy: #16223C;
    --ccvc-navy-dark: #0E1729;
    --ccvc-gold: #B8924E;
    --ccvc-gold-dark: #9C7A3C;
    --ccvc-navy-tint: #EEF1F6;
}

/* Primary color family -> navy */
.text-primary { color: var(--ccvc-navy) !important; }
.bg-primary { background-color: var(--ccvc-navy) !important; }
.border-primary { border-color: var(--ccvc-navy) !important; }
.badge-primary { background-color: var(--ccvc-navy) !important; color: #fff !important; }

.btn-primary {
    background-color: var(--ccvc-navy) !important;
    border-color: var(--ccvc-navy) !important;
    color: #fff !important;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active,
.btn-primary:not(:disabled):not(.disabled):active {
    background-color: var(--ccvc-navy-dark) !important;
    border-color: var(--ccvc-navy-dark) !important;
    color: #fff !important;
}
.btn-outline-primary { color: var(--ccvc-navy) !important; border-color: var(--ccvc-navy) !important; }
.btn-outline-primary:hover { background-color: var(--ccvc-navy) !important; color: #fff !important; }

/* Content links -> navy, hover gold (buttons, nav links, pagination excluded) */
a:not(.btn):not(.nav-link):not(.navbar-brand):not(.page-link) { color: var(--ccvc-navy); }
a:not(.btn):not(.nav-link):not(.navbar-brand):not(.page-link):hover,
a:not(.btn):not(.nav-link):not(.navbar-brand):not(.page-link):focus { color: var(--ccvc-gold-dark); }

/* White top navigation: gold underline accent; links navy, hover gold */
.navbar.bg-white { border-bottom: 3px solid var(--ccvc-gold) !important; }
.navbar .nav-link.text-primary, .navbar .nav-link { color: var(--ccvc-navy) !important; }
.navbar .nav-link:hover, .navbar .nav-link:focus { color: var(--ccvc-gold-dark) !important; }

/* Gold accent utilities */
.text-gold { color: var(--ccvc-gold-dark) !important; }
.bg-gold { background-color: var(--ccvc-gold) !important; }
.btn-gold {
    background-color: var(--ccvc-gold-dark) !important;
    border-color: var(--ccvc-gold-dark) !important;
    color: #fff !important;
}
.btn-gold:hover, .btn-gold:focus { background-color: #8a6b34 !important; border-color: #8a6b34 !important; color: #fff !important; }

/* Landing logo: render the wide logo undistorted (was forced to a 300x300 square) */
.logo { width: auto !important; height: auto !important; max-width: 340px; }

/* =====================================================================
   CCVC modern design system (2026 refresh).
   Appended last so it layers over the legacy vendor theme + brand block.
   Goal: calmer typography, soft surfaces, modern cards/tables/buttons,
   and a branded navy app bar — applied app-wide via the shared layouts.
   ===================================================================== */
:root {
    --ccvc-bg: #F4F6F8;
    --ccvc-surface: #FFFFFF;
    --ccvc-border: #E2E5EC;
    --ccvc-border-strong: #CDD2DC;
    --ccvc-ink: #1F2733;
    --ccvc-ink-muted: #6B7280;
    --ccvc-radius: 12px;
    --ccvc-radius-sm: 8px;
    --ccvc-shadow: 0 1px 2px rgba(16,23,41,.05), 0 1px 3px rgba(16,23,41,.06);
}

/* Base canvas + typography ------------------------------------------- */
html body {
    background: var(--ccvc-bg) !important;
    color: var(--ccvc-ink);
    font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 14.5px !important;
    line-height: 1.6;
}
main { padding-bottom: 2.5rem; }
main > .container-fluid { max-width: 1180px; margin: 0 auto; }
.body_scroll { padding-top: 1.5rem; }

h1, h2, h3, h4, h5 { color: var(--ccvc-navy); font-weight: 500; }
h1, .h1 { font-size: 1.6rem; } h2, .h2 { font-size: 1.35rem; }
h3, .h3 { font-size: 1.15rem; } h4, .h4 { font-size: 1.02rem; }

/* Buttons ------------------------------------------------------------- */
.btn {
    border-radius: var(--ccvc-radius-sm) !important;
    font-weight: 500 !important;
    padding: .5rem 1rem !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    transition: background-color .12s, border-color .12s, color .12s, transform .04s;
    display: inline-flex; align-items: center; gap: 7px;
}
.btn:active { transform: translateY(1px); }
.btn i { font-size: 1.05em; }
.btn-sm { padding: .35rem .8rem !important; font-size: .82rem !important; }
.btn-lg { padding: .7rem 1.4rem !important; font-size: 1rem !important; }
.btn-outline-secondary, .btn-light, .btn-default, .btn-secondary {
    background: #fff !important; color: var(--ccvc-navy) !important;
    border: 1px solid var(--ccvc-border-strong) !important;
}
.btn-outline-secondary:hover, .btn-light:hover, .btn-default:hover, .btn-secondary:hover {
    background: var(--ccvc-navy-tint) !important; color: var(--ccvc-navy) !important;
}

/* Cards --------------------------------------------------------------- */
.card, .ccvc-card {
    background: var(--ccvc-surface) !important;
    border: 1px solid var(--ccvc-border) !important;
    border-radius: var(--ccvc-radius) !important;
    box-shadow: var(--ccvc-shadow);
}
.card .header, .card-header {
    background: transparent !important;
    border-bottom: 1px solid var(--ccvc-border) !important;
    padding: 1rem 1.25rem !important;
}

/* Tables (modernizes every list, incl. staff portals + DataTables) ---- */
.table { background: var(--ccvc-surface); margin-bottom: 0; }
.table thead th {
    background: var(--ccvc-navy-tint) !important;
    color: var(--ccvc-navy) !important;
    font-weight: 500 !important;
    border-bottom: 1px solid var(--ccvc-border) !important;
    border-top: none !important;
    font-size: .82rem;
    padding: .7rem .9rem !important;
    white-space: nowrap;
}
.table tbody td {
    border-top: 1px solid var(--ccvc-border) !important;
    padding: .7rem .9rem !important;
    vertical-align: middle;
}
.table.table-bordered, .table.table-bordered td, .table.table-bordered th { border-color: var(--ccvc-border) !important; }
.table-striped tbody tr:nth-of-type(odd) { background: #FAFBFC !important; }
.table-hover tbody tr:hover { background: var(--ccvc-navy-tint) !important; }
.dataTables_wrapper {
    background: var(--ccvc-surface);
    border: 1px solid var(--ccvc-border);
    border-radius: var(--ccvc-radius);
    padding: 1.1rem 1.2rem;
    box-shadow: var(--ccvc-shadow);
}
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    border: 1px solid var(--ccvc-border-strong) !important;
    border-radius: var(--ccvc-radius-sm) !important;
    padding: .3rem .55rem !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: var(--ccvc-navy) !important; color: #fff !important;
    border-radius: var(--ccvc-radius-sm); border: none !important;
}
/* Documents list polish (DocumentManager) ----------------------------- */
.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter { margin-bottom: .85rem; }
.dataTables_wrapper .dataTables_filter input { min-width: 210px; }
.dataTables_wrapper .dataTables_paginate { margin-top: .85rem; }
.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: var(--ccvc-radius-sm) !important; border: 1px solid var(--ccvc-border) !important;
    margin-left: 4px; padding: .25rem .65rem !important; color: var(--ccvc-navy) !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: var(--ccvc-navy-tint) !important; color: var(--ccvc-navy) !important; border-color: var(--ccvc-border) !important;
}
.dataTables_wrapper .dataTables_info { color: var(--ccvc-ink-muted); font-size: .85rem; padding-top: .75rem; }
.dataTables_wrapper td.dataTables_empty { padding: 2.2rem 1rem !important; color: var(--ccvc-ink-muted); }
#documentsTable td.name-cell { text-align: left !important; font-weight: 500; }
#documentsTable .doc-ic { color: var(--ccvc-gold); margin-right: .5rem; font-size: 1.05rem; vertical-align: -1px; }

/* Form controls ------------------------------------------------------- */
.form-control, .custom-select, select.form-control, textarea.form-control {
    border: 1px solid var(--ccvc-border-strong) !important;
    border-radius: var(--ccvc-radius-sm) !important;
    color: var(--ccvc-ink);
}
.form-control:focus, .custom-select:focus, textarea.form-control:focus {
    border-color: var(--ccvc-navy) !important;
    box-shadow: 0 0 0 3px rgba(22, 34, 60, .12) !important;
}

/* Top app bar -> branded navy; logo sits on a light chip ------------- */
.navbar.bg-white {
    background-color: var(--ccvc-navy) !important;
    border-bottom: 3px solid var(--ccvc-gold) !important;
    padding: .55rem 1.4rem !important;
}
.navbar.bg-white .navbar-brand {
    background: #fff; border-radius: var(--ccvc-radius-sm);
    padding: 5px 11px; margin-right: 1.25rem; line-height: 0;
}
.navbar.bg-white .navbar-brand img { height: 42px !important; }
.navbar.bg-white .nav-link, .navbar.bg-white .nav-link.text-primary {
    color: #DCE2EC !important; font-weight: 500;
}
.navbar.bg-white .nav-link:hover, .navbar.bg-white .nav-link:focus { color: #fff !important; }
.navbar.bg-white .copyright, .navbar.bg-white .copyright a { color: #AEB7C6 !important; }
.navbar.bg-white .navbar-toggler-bar, .navbar.bg-white .btn.navbar-toggler-bar {
    background: var(--ccvc-gold) !important; border-color: var(--ccvc-gold) !important;
}
.navbar.bg-white .menuText { font-size: .92rem !important; }

/* Page header helper -------------------------------------------------- */
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: .75rem; }
.page-head h1 { margin: 0; }
.page-head__sub { font-size: .95rem; color: var(--ccvc-ink-muted); margin-top: 4px; }
.page-head__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Application cards (claimant dashboard) ----------------------------- */
.app-list { display: grid; gap: 14px; margin-top: 1.25rem; }
.app-card {
    background: var(--ccvc-surface); border: 1px solid var(--ccvc-border);
    border-radius: var(--ccvc-radius); box-shadow: var(--ccvc-shadow);
    padding: 16px 18px;
}
.app-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.app-card__title { font-size: 1.05rem; font-weight: 500; color: var(--ccvc-navy); }
.app-card__meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 5px; font-size: .85rem; color: var(--ccvc-ink-muted); }
.app-card__meta i { margin-right: 5px; }
.app-card__actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.status-pill { display: inline-block; font-size: .75rem; font-weight: 500; padding: 4px 11px; border-radius: 999px; }
.status-pill--draft { background: var(--ccvc-navy-tint); color: var(--ccvc-navy); }
.status-pill--submitted { background: #E6F4EA; color: #1E7E34; }
.status-pill--review { background: #E8F0FB; color: #185FA5; }
.status-pill--decided { background: #FBEFD9; color: #8A6B34; }
.app-progress-line { display: flex; justify-content: space-between; font-size: .78rem; color: var(--ccvc-ink-muted); margin: 14px 0 5px; }
.app-progress-track { height: 6px; background: var(--ccvc-navy-tint); border-radius: 999px; overflow: hidden; }
.app-progress-fill { height: 100%; background: var(--ccvc-gold); border-radius: 999px; }
.app-steps { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .78rem; }
.app-steps .seg { flex: 1; height: 2px; background: var(--ccvc-border); }
.app-steps .seg.done { background: #185FA5; }
.app-steps .lbl { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.kebab { background: none; border: none; color: #9AA1AD; cursor: pointer; font-size: 18px; line-height: 1; padding: 2px 7px; border-radius: 6px; }
.kebab:hover { background: var(--ccvc-navy-tint); color: var(--ccvc-navy); }
.empty-state { text-align: center; padding: 2.75rem 1rem; color: var(--ccvc-ink-muted); }
.empty-state .ic { font-size: 40px; color: var(--ccvc-border-strong); }
.help-line { display: flex; align-items: center; gap: 8px; margin-top: 1.25rem; color: var(--ccvc-ink-muted); font-size: .88rem; }

/* Signed-out welcome hero (claimant + provider landings) -------------- */
.welcome-hero { max-width: 600px; margin: 2.5rem auto 0; text-align: center; }
.welcome-card { background: var(--ccvc-surface); border: 1px solid var(--ccvc-border); border-radius: var(--ccvc-radius); box-shadow: var(--ccvc-shadow); padding: 2.25rem 2rem; }
.welcome-logo { max-width: 210px; height: auto; margin-bottom: 1.25rem; }
.welcome-card h1 { font-size: 1.5rem; margin: 0 0 .5rem; }
.welcome-sub { color: var(--ccvc-ink-muted); font-size: .98rem; max-width: 460px; margin: 0 auto 1.4rem; line-height: 1.6; }
.welcome-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.1rem 1.5rem; margin-bottom: 1.6rem; font-size: .85rem; color: var(--ccvc-ink); }
.welcome-points span { display: inline-flex; align-items: center; gap: 6px; }
.welcome-points i { color: var(--ccvc-gold-dark); font-size: 1.15em; }
.welcome-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Data-table action buttons (View / Upload PDF / Delete / Download…): stack
   tidily in the Actions column and never wrap the label text mid-word. */
.table tbody td .btn { display: flex; width: 100%; justify-content: center; margin: 0 0 6px; white-space: nowrap; }
.table tbody td .btn:last-child { margin-bottom: 0; }

/* Staff / provider claim card grid (County, Safe) -------------------- */
.claim-toolbar { margin-top: 1.1rem; }
.claim-search { position: relative; max-width: 380px; }
.claim-search > i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ccvc-ink-muted); pointer-events: none; }
.claim-search .form-control { padding-left: 34px; }
.claim-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; margin-top: 1rem; align-items: start; }
.app-card__sub { font-size: .9rem; color: var(--ccvc-ink-muted); margin-top: 2px; }
.app-card__note { margin-top: 10px; padding: 8px 11px; background: var(--ccvc-navy-tint); border-radius: var(--ccvc-radius-sm); font-size: .85rem; color: var(--ccvc-ink); }
.claim-pager { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 1.1rem; }

/* Modals (Admin User Management, legacy wizard dialogs) --------------------
   The base theme leaves modals unpadded/unbordered; bring them in line with the
   redesigned cards so dialogs look modern everywhere. */
.modal-content { border: none; border-radius: var(--ccvc-radius); box-shadow: 0 12px 44px rgba(22, 34, 60, .20); }
.modal-header { padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--ccvc-border); align-items: center; }
.modal-header .title, .modal-header .modal-title { font-size: 1.15rem; font-weight: 600; color: var(--ccvc-navy); margin: 0; }
.modal-body { padding: 1.5rem; }
.modal-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--ccvc-border); }
.modal-footer .btn { margin: .25rem; }
.claim-count { color: var(--ccvc-ink-muted); font-size: .85rem; }

/* =====================================================================
   Admin area: dashboard / action tiles, status pills, toolbars.
   Replaces the legacy vendor widget tiles (w_data_1 / w_icon colored
   circles) with the same calm navy/gold card language as the portals.
   ===================================================================== */
.admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 16px; margin-top: 1.25rem; }
.admin-tile {
    display: flex; gap: 14px; align-items: flex-start;
    background: var(--ccvc-surface); border: 1px solid var(--ccvc-border);
    border-radius: var(--ccvc-radius); box-shadow: var(--ccvc-shadow);
    padding: 1.1rem 1.2rem; text-decoration: none;
    transition: border-color .12s, transform .06s, box-shadow .12s;
}
a.admin-tile:hover, a.admin-tile:focus { border-color: var(--ccvc-gold); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(16,23,41,.08); text-decoration: none; }
.admin-tile__icon {
    width: 46px; height: 46px; flex: none; border-radius: var(--ccvc-radius-sm);
    background: var(--ccvc-navy); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.admin-tile__body { min-width: 0; flex: 1; }
.admin-tile__title { font-size: 1rem; font-weight: 500; color: var(--ccvc-navy); margin: 0; }
.admin-tile__sub { font-size: .85rem; color: var(--ccvc-ink-muted); margin: 3px 0 0; line-height: 1.45; }
.admin-tile__go { margin-left: auto; align-self: center; color: var(--ccvc-border-strong); font-size: 20px; }
a.admin-tile:hover .admin-tile__go { color: var(--ccvc-gold); }

/* status pill variants reused for Setup connection states */
.status-pill--on { background: #E6F4EA; color: #1E7E34; }
.status-pill--wip { background: #FBEFD9; color: #8A6B34; }

/* Toolbar: a row of action buttons / inline inputs above a section */
.admin-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin: 1.1rem 0; }
.admin-toolbar .form-group { margin-bottom: 0; }
.admin-toolbar .admin-toolbar__spacer { flex: 1 1 auto; }

/* Table cell icon chip (notification type column) */
.cell-ic { width: 34px; height: 34px; border-radius: var(--ccvc-radius-sm); background: var(--ccvc-navy-tint); color: var(--ccvc-navy); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; }

/* Keep the status pill from colliding with a long title, and let titles wrap. */
.admin-tile__title { overflow-wrap: anywhere; }
.admin-tile__status { flex: none; align-self: center; margin-left: auto; }

/* User-management action column: keep Edit / Delete inline rather than stacked
   full-width (the global .table action-button rule stacks them by default). */
#usersTable tbody td .btn { display: inline-flex; width: auto; margin: 0 5px 0 0; white-space: nowrap; }

/* =====================================================================
   Top-bar utility cluster: admin icons (gear / people) + user account
   menu, pinned to the far right of the navy app bar.
   ===================================================================== */
.navbar.bg-white .top-utility { gap: 4px; }
.navbar.bg-white .nav-iconbtn {
    color: #DCE2EC !important; font-size: 1.2rem; line-height: 1;
    padding: .4rem .55rem !important; border-radius: var(--ccvc-radius-sm);
}
.navbar.bg-white .nav-iconbtn:hover, .navbar.bg-white .nav-iconbtn:focus { color: #fff !important; background: rgba(255,255,255,.10); }
.navbar .nav-iconbtn.dropdown-toggle::after { display: none; }
.navbar.bg-white .user-chip {
    display: inline-flex; align-items: center; gap: 8px; color: #DCE2EC !important;
    border: 1px solid rgba(255,255,255,.20); border-radius: var(--ccvc-radius-sm); padding: .3rem .6rem !important;
}
.navbar.bg-white .user-chip:hover, .navbar.bg-white .user-chip:focus { color: #fff !important; background: rgba(255,255,255,.06); }
.navbar.bg-white .user-chip::after { color: #9fb0c8; margin-left: 2px; }
.user-chip__avatar {
    width: 28px; height: 28px; border-radius: 50%; background: var(--ccvc-gold); color: var(--ccvc-navy);
    display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
.user-chip__name { font-size: .9rem; font-weight: 500; }
.navbar .dropdown-menu {
    border: 1px solid var(--ccvc-border) !important; border-radius: 10px;
    box-shadow: 0 8px 24px rgba(16,23,41,.16); padding: 6px; margin-top: 8px;
}
.navbar .dropdown-menu .dropdown-header { color: var(--ccvc-ink-muted); font-size: .8rem; padding: .35rem .75rem; }
.navbar .dropdown-menu .dropdown-item { padding: .55rem .75rem; border-radius: 6px; color: var(--ccvc-ink); font-weight: 500; }
.navbar .dropdown-menu .dropdown-item:hover, .navbar .dropdown-menu .dropdown-item:focus { background: var(--ccvc-navy-tint); color: var(--ccvc-navy); }
.navbar .dropdown-menu .dropdown-item i { margin-right: 9px; color: var(--ccvc-ink-muted); }