/*
 * Heal Venture Medical and Surgical Center
 * Visual theme layered over the legacy Bootstrap/Commodore UI.
 * All rules are scoped to .hv-shell to avoid changing printable ticket markup.
 */

@font-face {
    font-family: "HV Roboto";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/roboto-regular.woff2") format("woff2"),
         url("../fonts/roboto-regular.woff") format("woff");
}

@font-face {
    font-family: "HV Roboto";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/roboto-medium.woff2") format("woff2"),
         url("../fonts/roboto-medium.woff") format("woff");
}

:root {
    --hv-teal: #149f98;
    --hv-teal-dark: #08756f;
    --hv-teal-deep: #075c58;
    --hv-cyan: #2aa8d2;
    --hv-green: #08783e;
    --hv-ink: #173b3a;
    --hv-muted: #607a79;
    --hv-line: #d8e7e5;
    --hv-soft: #eef7f6;
    --hv-surface: #ffffff;
    --hv-danger: #b73a43;
    --hv-warning: #a96600;
    --hv-shadow-sm: 0 2px 8px rgba(7, 92, 88, 0.08);
    --hv-shadow-md: 0 12px 32px rgba(7, 92, 88, 0.13);
}

.hv-shell {
    color: var(--hv-ink, #173b3a);
    font-family: "HV Roboto", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hv-shell ::selection {
    color: #ffffff;
    background: var(--hv-teal-dark, #08756f);
}

.hv-shell a {
    color: var(--hv-teal-dark, #08756f);
}

.hv-shell a:hover,
.hv-shell a:focus {
    color: var(--hv-green, #08783e);
}

.hv-shell a:focus,
.hv-shell button:focus,
.hv-shell input:focus,
.hv-shell select:focus,
.hv-shell textarea:focus,
.hv-shell [tabindex]:focus {
    outline: 3px solid rgba(42, 168, 210, 0.34);
    outline-offset: 2px;
}

.hv-shell .loader {
    background: rgba(238, 247, 246, 0.96);
    color: var(--hv-teal-deep, #075c58);
}

.hv-shell .loader > div {
    padding: 15px 24px;
    border: 1px solid var(--hv-line, #d8e7e5);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: var(--hv-shadow-md, 0 12px 32px rgba(7, 92, 88, 0.13));
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Shared controls -------------------------------------------------------- */

.hv-shell .btn {
    border-radius: 6px;
    box-shadow: none;
    letter-spacing: 0.025em;
    transition: background-color 150ms ease, border-color 150ms ease,
                box-shadow 150ms ease, transform 150ms ease;
}

.hv-shell .btn:hover:not([disabled]) {
    box-shadow: 0 5px 13px rgba(7, 92, 88, 0.14);
}

.hv-shell .btn-primary,
.hv-shell .btn-primary:focus {
    color: #ffffff;
    border-color: var(--hv-teal-dark, #08756f);
    background: var(--hv-teal-dark, #08756f);
}

.hv-shell .btn-primary:hover,
.hv-shell .btn-primary:active,
.hv-shell .btn-primary.active,
.hv-shell .open > .dropdown-toggle.btn-primary {
    color: #ffffff;
    border-color: var(--hv-teal-deep, #075c58);
    background: var(--hv-teal-deep, #075c58);
}

.hv-shell .btn-info,
.hv-shell .btn-info:focus {
    color: #ffffff;
    border-color: #1788ad;
    background: #1788ad;
}

.hv-shell .btn-info:hover,
.hv-shell .btn-info:active {
    color: #ffffff;
    border-color: #126d8b;
    background: #126d8b;
}

.hv-shell .btn-success,
.hv-shell .btn-success:focus {
    color: #ffffff;
    border-color: var(--hv-green, #08783e);
    background: var(--hv-green, #08783e);
}

.hv-shell .btn-success:hover,
.hv-shell .btn-success:active {
    color: #ffffff;
    border-color: #055b2f;
    background: #055b2f;
}

.hv-shell .btn-default {
    color: var(--hv-ink, #173b3a);
    border-color: #bfd5d2;
    background: #ffffff;
}

.hv-shell .btn-default:hover,
.hv-shell .btn-default:focus {
    color: var(--hv-teal-deep, #075c58);
    border-color: var(--hv-teal, #149f98);
    background: var(--hv-soft, #eef7f6);
}

.hv-shell .form-control {
    color: #193f3d;
    border-color: #bfd5d2;
    border-radius: 6px;
    background-color: #ffffff;
    box-shadow: inset 0 1px 2px rgba(7, 92, 88, 0.035);
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.hv-shell .form-control:focus {
    border-color: var(--hv-teal, #149f98);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(20, 159, 152, 0.14);
}

.hv-shell .form-control::placeholder {
    color: #78908f;
    opacity: 1;
}

.hv-shell .input-group-addon {
    color: var(--hv-teal-dark, #08756f);
    border-color: #bfd5d2;
    background: var(--hv-soft, #eef7f6);
}

.hv-shell .select2-container--default .select2-selection--single,
.hv-shell .select2-container--default .select2-selection--multiple {
    border-color: #bfd5d2;
    border-radius: 6px;
}

.hv-shell .select2-container--default.select2-container--focus .select2-selection--single,
.hv-shell .select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: var(--hv-teal, #149f98);
    box-shadow: 0 0 0 3px rgba(20, 159, 152, 0.14);
}

.hv-shell .dropdown-menu,
.hv-shell .popover,
.hv-shell .modal-content {
    border-color: var(--hv-line, #d8e7e5);
    border-radius: 8px;
    box-shadow: var(--hv-shadow-md, 0 12px 32px rgba(7, 92, 88, 0.13));
}

.hv-shell .dropdown-menu > li > a,
.hv-shell .list-group-item {
    color: #2c5351;
}

.hv-shell .dropdown-menu > li > a:hover,
.hv-shell .dropdown-menu > li > a:focus,
.hv-shell .list-group-item:hover,
.hv-shell .list-group-item:focus,
.hv-shell .list-group-item.active,
.hv-shell .list-group-item.active:hover,
.hv-shell .list-group-item.active:focus {
    color: var(--hv-teal-deep, #075c58);
    border-color: #c9dfdc;
    background: var(--hv-soft, #eef7f6);
}

.hv-shell .alert {
    border-width: 0 0 0 4px;
    border-radius: 6px;
    box-shadow: var(--hv-shadow-sm, 0 2px 8px rgba(7, 92, 88, 0.08));
}

.hv-shell .alert-success {
    color: #075c35;
    border-color: var(--hv-green, #08783e);
    background: #eaf7ef;
}

.hv-shell .alert-info {
    color: #125c73;
    border-color: var(--hv-cyan, #2aa8d2);
    background: #eaf6fa;
}

.hv-shell .alert-warning {
    color: #76500a;
    border-color: #c98a17;
    background: #fff7e7;
}

.hv-shell .alert-danger {
    color: #8f2932;
    border-color: var(--hv-danger, #b73a43);
    background: #fbecee;
}

.hv-shell .pagination > .active > a,
.hv-shell .pagination > .active > span,
.hv-shell .pagination > .active > a:hover,
.hv-shell .pagination > .active > span:hover,
.hv-shell .pagination > .active > a:focus,
.hv-shell .pagination > .active > span:focus {
    color: #ffffff;
    border-color: var(--hv-teal-dark, #08756f);
    background: var(--hv-teal-dark, #08756f);
}

/* Staff dashboard ------------------------------------------------------- */

.hv-backend {
    background: #f3f8f7;
}

.hv-backend #cm-header .cm-navbar-primary {
    border-color: var(--hv-teal-deep, #075c58);
    background: linear-gradient(100deg, #08756f 0%, #149f98 62%, #168baa 100%);
    box-shadow: 0 3px 15px rgba(7, 92, 88, 0.18);
}

.hv-backend #cm-header .cm-navbar h1 {
    color: #ffffff;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.hv-backend #cm-header .cm-navbar > .btn,
.hv-backend #cm-header .cm-navbar .dropdown > .btn,
.hv-backend #cm-header .cm-navbar .dropdown > a.btn {
    border-left: 1px solid rgba(255, 255, 255, 0.13);
    background-color: transparent;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 26px 26px;
}

.hv-backend #cm-header .cm-navbar > .btn:hover,
.hv-backend #cm-header .cm-navbar .dropdown > .btn:hover,
.hv-backend #cm-header .cm-navbar .dropdown > a.btn:hover,
.hv-backend #cm-header .cm-navbar .open > .btn {
    background-color: rgba(0, 0, 0, 0.12);
    box-shadow: none;
}

.hv-backend #cm-menu {
    border-right: 0;
    background: #ffffff;
    box-shadow: 5px 0 22px rgba(7, 92, 88, 0.09);
}

.hv-backend #cm-menu .cm-navbar-primary {
    border-color: var(--hv-line, #d8e7e5);
    background: #ffffff;
}

.hv-backend #cm-menu .cm-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 3px 10px;
    background-image: none !important;
}

.hv-backend #cm-menu .cm-logo img {
    display: block;
    width: auto !important;
    max-width: 210px;
    height: 44px !important;
    object-fit: contain;
}

.hv-backend #cm-menu .cm-navbar > .btn {
    background-color: var(--hv-teal-dark, #08756f);
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 26px 26px;
}

.hv-backend #cm-menu-content {
    border-right: 0;
    background: #ffffff;
}

.hv-backend .cm-menu-items li a {
    color: #476462;
    border-bottom-color: #edf3f2;
    padding-right: 42px;
    padding-left: 52px;
    font-weight: 500;
}

.hv-backend .cm-menu-items li a:hover,
.hv-backend .cm-menu-items li a:focus {
    color: var(--hv-teal-deep, #075c58);
    background-color: #f2f9f8;
}

.hv-backend .cm-menu-items li.active > a,
.hv-backend .cm-menu-items li.active > a:hover,
.hv-backend .cm-menu-items li.active > a:focus {
    color: var(--hv-teal-deep, #075c58);
    background: #e9f6f4;
    box-shadow: inset 4px 0 0 var(--hv-teal, #149f98);
}

.hv-backend .cm-submenu ul {
    background: #f6faf9;
    box-shadow: inset 0 1px 3px rgba(7, 92, 88, 0.06);
}

.hv-backend .cm-submenu ul li a {
    color: #597270;
    border-bottom-color: #e6f0ee;
    font-weight: 400;
}

.hv-backend .cm-submenu .caret {
    color: var(--hv-teal-dark, #08756f);
}

.hv-backend #global > .container-fluid {
    padding-top: 5px;
}

.hv-backend .panel {
    overflow: visible;
    border-color: var(--hv-line, #d8e7e5);
    border-radius: 9px;
    box-shadow: var(--hv-shadow-sm, 0 2px 8px rgba(7, 92, 88, 0.08));
}

.hv-backend .panel-heading {
    padding: 13px 17px;
    color: var(--hv-ink, #173b3a);
    border-bottom-color: var(--hv-line, #d8e7e5);
    background: #f9fcfb;
    text-align: left;
    letter-spacing: 0.035em;
}

.hv-backend .panel > .panel-heading:first-child {
    border-radius: 8px 8px 0 0;
}

.hv-backend .panel-primary > .panel-heading,
.hv-backend .panel-info > .panel-heading {
    color: #ffffff;
    border-color: var(--hv-teal-dark, #08756f);
    background: linear-gradient(100deg, #08756f, #149f98);
}

.hv-backend .panel-footer {
    border-top-color: var(--hv-line, #d8e7e5);
    background: #f9fcfb;
}

.hv-backend .table {
    color: #294e4c;
    background: #ffffff;
}

.hv-backend .table > thead > tr > th,
.hv-backend .table > thead > tr > td,
.hv-backend table > thead > tr > th,
.hv-backend table > tfoot > tr > th {
    color: #27514e;
    border-bottom: 2px solid #b9d7d3;
    background: #edf7f5;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.hv-backend .table > tbody > tr > td,
.hv-backend .table > tbody > tr > th {
    border-top-color: #e3eeec;
    vertical-align: middle;
}

.hv-backend .table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #f8fbfb;
}

.hv-backend .table-hover > tbody > tr:hover,
.hv-backend table tbody tr.selected {
    background-color: #e9f6f4;
}

.hv-backend .dataTables_wrapper .dataTables_filter input,
.hv-backend .dataTables_wrapper .dataTables_length select {
    border-color: #bfd5d2;
    border-radius: 5px;
}

.hv-backend .badge,
.hv-backend .label-primary,
.hv-backend .bg-primary {
    color: #ffffff;
    background-color: var(--hv-teal-dark, #08756f);
}

.hv-backend .label-info,
.hv-backend .bg-info {
    color: #ffffff;
    background-color: #1788ad;
}

.hv-backend .label-success,
.hv-backend .bg-success {
    color: #ffffff;
    background-color: var(--hv-green, #08783e);
}

.hv-backend .progress {
    border-radius: 20px;
    background: #e2eeec;
    box-shadow: none;
}

.hv-backend .progress-bar-primary,
.hv-backend .progress-bar-info {
    background: var(--hv-teal, #149f98);
}

.hv-backend .modal-header {
    color: #ffffff;
    border-bottom: 0;
    background: linear-gradient(100deg, #08756f, #149f98);
}

.hv-backend .modal-header .close {
    color: #ffffff;
    opacity: 0.85;
    text-shadow: none;
}

.hv-backend .cm-footer {
    color: #607a79;
    border-top: 1px solid var(--hv-line, #d8e7e5);
    background: #ffffff;
}

/* Sign-in --------------------------------------------------------------- */

.hv-login {
    min-height: 100vh;
    padding-bottom: 82px;
    background:
        radial-gradient(circle at 10% 10%, rgba(42, 168, 210, 0.12), transparent 33%),
        radial-gradient(circle at 92% 18%, rgba(20, 159, 152, 0.13), transparent 31%),
        #eef7f6;
}

.hv-login .hv-login-hero {
    padding: 24px 20px 20px !important;
    border-bottom: 1px solid var(--hv-line, #d8e7e5) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: var(--hv-shadow-sm, 0 2px 8px rgba(7, 92, 88, 0.08));
}

.hv-login .hv-login-hero h2 {
    margin: 0 0 12px;
    color: var(--hv-teal-deep, #075c58);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.035em;
    text-transform: none;
}

.hv-login .hv-login-hero img {
    width: auto !important;
    max-width: min(90%, 360px) !important;
    height: auto;
    max-height: 150px !important;
}

.hv-login .hv-login-card {
    float: none;
    margin: 34px auto !important;
    padding: 30px 26px 26px;
    border: 1px solid rgba(216, 231, 229, 0.92);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--hv-shadow-md, 0 12px 32px rgba(7, 92, 88, 0.13));
}

.hv-login .hv-login-card::after {
    display: table;
    clear: both;
    content: "";
}

.hv-login .hv-login-card .form-group {
    margin-bottom: 18px;
}

.hv-login .hv-login-card .form-control,
.hv-login .hv-login-card .input-group-addon {
    height: 46px;
}

.hv-login .hv-login-card .input-group-addon {
    min-width: 46px;
}

.hv-login .hv-login-card .btn-primary {
    min-height: 42px;
}

.hv-login .cm-footer {
    min-height: 58px;
    padding: 5px 22px;
    color: #607a79;
    border-top: 1px solid var(--hv-line, #d8e7e5);
    background: rgba(255, 255, 255, 0.94);
    line-height: 48px;
}

/* Public website -------------------------------------------------------- */

.hv-frontend {
    color: #294e4c;
    background: #ffffff;
}

.hv-frontend .navbar-xs.navbar-inverse {
    border-color: var(--hv-teal-deep, #075c58);
    background: var(--hv-teal-deep, #075c58);
}

.hv-frontend .navbar-xs .navbar-nav > li > a:hover,
.hv-frontend .navbar-xs .navbar-nav > li > a:focus,
.hv-frontend .navbar-xs .navbar-nav > .open > a {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.11);
}

.hv-frontend .navbar-xs .navbar-nav .dropdown-menu {
    border-color: rgba(255, 255, 255, 0.12);
    background: #064d49;
}

.hv-frontend .navbar-default {
    min-height: 88px;
    border-bottom: 1px solid var(--hv-line, #d8e7e5);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 18px rgba(7, 92, 88, 0.08);
}

.hv-frontend .navbar-brand {
    display: flex;
    align-items: center;
    height: 88px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.hv-frontend .navbar-brand > img {
    width: auto;
    height: 66px !important;
    max-width: 245px !important;
}

.hv-frontend .navbar-default .navbar-nav > li > a {
    color: #476462;
    font-family: "HV Roboto", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
}

.hv-frontend .navbar-default .navbar-nav > li > a:hover,
.hv-frontend .navbar-default .navbar-nav > li > a:focus,
.hv-frontend .navbar-default .navbar-nav > .active > a,
.hv-frontend .navbar-default .navbar-nav > .active > a:hover,
.hv-frontend .navbar-default .navbar-nav > .active > a:focus {
    color: var(--hv-teal-deep, #075c58);
    background: transparent;
    box-shadow: inset 0 -3px 0 var(--hv-teal, #149f98);
}

.hv-frontend .navbar-toggle {
    border-color: var(--hv-line, #d8e7e5);
    border-radius: 6px;
}

.hv-frontend .navbar-toggle .icon-bar {
    background: var(--hv-teal-dark, #08756f);
}

.hv-frontend .home-image-wrapper::before {
    background: linear-gradient(90deg, rgba(5, 64, 61, 0.72), rgba(5, 92, 88, 0.42));
}

.hv-frontend #get-started::before {
    background: linear-gradient(125deg, rgba(7, 92, 88, 0.95), rgba(20, 159, 152, 0.90));
    opacity: 1;
}

.hv-frontend #get-started .form-area {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(3, 55, 52, 0.24);
}

.hv-frontend .form-head h3,
.hv-frontend .about-us-text h1,
.hv-frontend .even-title h1,
.hv-frontend #experts h2 {
    color: var(--hv-teal-deep, #075c58);
    font-family: "HV Roboto", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
}

.hv-frontend .form-head h4,
.hv-frontend .about-us-text h5 {
    color: var(--hv-green, #08783e);
}

.hv-frontend .about-us-text h5::before,
.hv-frontend .about-us-text h5::after,
.hv-frontend .even-title::before,
.hv-frontend .even-title::after,
.hv-frontend #experts h2::before,
.hv-frontend #experts h2::after {
    background-color: var(--hv-cyan, #2aa8d2);
}

.hv-frontend #about-us,
.hv-frontend #contact-us {
    background: #f3f9f8;
}

.hv-frontend #explore {
    border-top-color: var(--hv-line, #d8e7e5);
}

.hv-frontend .explore-wiget,
.hv-frontend .thumbnail {
    overflow: hidden;
    border-color: var(--hv-line, #d8e7e5);
    border-radius: 10px;
    box-shadow: var(--hv-shadow-sm, 0 2px 8px rgba(7, 92, 88, 0.08));
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.hv-frontend .panel {
    border-color: var(--hv-line, #d8e7e5);
    border-radius: 10px;
    box-shadow: var(--hv-shadow-sm, 0 2px 8px rgba(7, 92, 88, 0.08));
}

.hv-frontend .explore-wiget:hover,
.hv-frontend .thumbnail:hover {
    box-shadow: var(--hv-shadow-md, 0 12px 32px rgba(7, 92, 88, 0.13));
    transform: translateY(-2px);
}

.hv-frontend .explore-text span {
    color: var(--hv-teal, #149f98);
}

.hv-frontend .explore-text h3 a:hover {
    color: var(--hv-teal-deep, #075c58);
}

.hv-frontend form .btn,
.hv-frontend .thm-btn,
.hv-frontend .form-btn,
.hv-frontend .btn-donet {
    color: #ffffff;
    border-color: var(--hv-teal-dark, #08756f);
    border-radius: 6px;
    background: var(--hv-teal-dark, #08756f);
    box-shadow: none;
}

.hv-frontend form .btn:hover,
.hv-frontend form .btn:focus,
.hv-frontend .thm-btn:hover,
.hv-frontend .thm-btn:focus,
.hv-frontend .form-btn:hover,
.hv-frontend .form-btn:focus,
.hv-frontend .btn-donet:hover,
.hv-frontend .btn-donet:focus {
    color: #ffffff;
    border-color: var(--hv-teal-deep, #075c58);
    background: var(--hv-teal-deep, #075c58);
}

.hv-frontend .form-control:not(:placeholder-shown),
.hv-frontend .form-control:focus,
.hv-frontend .has-valid .form-control:focus {
    border-color: var(--hv-teal, #149f98);
    box-shadow: 0 0 0 3px rgba(20, 159, 152, 0.14);
}

.hv-frontend .form-control[required]:valid ~ label,
.hv-frontend .form-control:not(:placeholder-shown) ~ label,
.hv-frontend .form-control:focus ~ label,
.hv-frontend .has-valid .form-control:focus ~ label {
    color: #ffffff;
    border-color: var(--hv-teal-dark, #08756f);
    background: var(--hv-teal-dark, #08756f);
    box-shadow: none;
}

.hv-frontend footer.navbar-inverse {
    border-color: #054a47;
    background: #063f3c;
}

.hv-frontend footer .footer-text,
.hv-frontend footer a {
    color: #d6e8e6;
}

.hv-frontend footer a:hover,
.hv-frontend footer a:focus {
    color: #ffffff;
}

.hv-frontend .back-top {
    color: #ffffff;
    border-color: var(--hv-teal-dark, #08756f);
    border-radius: 50% !important;
    background: var(--hv-teal-dark, #08756f);
    box-shadow: var(--hv-shadow-sm, 0 2px 8px rgba(7, 92, 88, 0.08));
}

/* Queue display screens ------------------------------------------------- */

.hv-display {
    min-height: 100vh;
    padding: 14px;
    background:
        linear-gradient(135deg, rgba(42, 168, 210, 0.055), transparent 34%),
        #edf6f5;
}

.hv-display > .panel {
    overflow: hidden;
    margin: 0;
    border: 0;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: var(--hv-shadow-md, 0 12px 32px rgba(7, 92, 88, 0.13));
}

.hv-display > .panel > .panel-heading {
    padding: 12px 18px;
    border: 0;
    color: #ffffff !important;
    background: linear-gradient(100deg, #075c58, #149f98) !important;
}

.hv-display > .panel > .panel-heading h3 {
    margin: 0;
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 500;
    line-height: 34px;
    letter-spacing: 0.025em;
}

.hv-display > .panel > .panel-heading .text-danger {
    display: block;
    color: #e9ffff !important;
    font-size: 12px;
    font-weight: 400;
    text-transform: none;
}

.hv-display > .panel > .panel-heading .btn-primary {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.10) !important;
}

.hv-display > .panel > .panel-heading .btn-primary:hover,
.hv-display > .panel > .panel-heading .btn-primary:focus {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.20) !important;
}

.hv-display .display-toolbar {
    min-height: 82px;
    overflow: visible;
    color: #ffffff !important;
    background: linear-gradient(100deg, #075c58, #149f98) !important;
}

.hv-display .display-toolbar-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #ffffff !important;
    white-space: normal;
}

.hv-display .display-fullscreen-button {
    float: none !important;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 14px;
    border: 2px solid rgba(255, 255, 255, 0.75) !important;
    border-radius: 7px;
    font-size: 13px;
    line-height: 1;
}

.hv-display .display-fullscreen-help {
    margin-top: 4px;
    line-height: 1.4;
}

.hv-display #fullscreen {
    overflow: auto;
    min-height: calc(100vh - 105px);
    padding: 20px;
    color: var(--hv-ink, #173b3a);
    background: #ffffff;
}

.hv-display #clock.display-clock {
    clear: both;
    display: flex;
    float: none !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 64px;
    margin: 0 auto 10px !important;
    padding: 8px 18px !important;
    color: #ffffff !important;
    border: 1px solid #08756f !important;
    border-radius: 7px;
    background: #063f3c !important;
    box-sizing: border-box;
    text-align: center !important;
    font-size: clamp(25px, 2.3vw, 38px) !important;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}

.hv-display .queue-box .department-number {
    height: 44px;
    min-height: 44px;
    padding: 7px 10px;
    color: #ffffff !important;
    background: var(--hv-teal-deep, #075c58) !important;
    font-size: clamp(18px, 1.6vw, 28px);
    line-height: 1.25;
    text-transform: none;
    box-sizing: border-box;
}

.hv-display .queue-box-status > .deprt {
    height: 44px;
    min-height: 44px;
    padding: 7px 10px;
    box-sizing: border-box;
}

.hv-display #fullscreen > .media {
    overflow: hidden;
    height: 68px !important;
    margin-top: -20px !important;
    margin-right: -20px;
    margin-bottom: 18px !important;
    margin-left: -20px;
    padding: 4px 14px;
    background: linear-gradient(100deg, #08756f, #149f98 70%, #168baa) !important;
    box-shadow: 0 3px 12px rgba(7, 92, 88, 0.16);
}

.hv-display #fullscreen > .media .media-left {
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.96);
}

.hv-display #fullscreen > .media .media-object {
    width: auto;
    height: 60px !important;
    max-width: 210px !important;
    padding: 3px 7px;
}

.hv-display #fullscreen > .media .media-body {
    color: #ffffff !important;
    vertical-align: middle;
}

.hv-display #fullscreen > .media .media-heading {
    overflow: hidden;
    margin: 0;
    font-size: clamp(25px, 3.2vw, 46px) !important;
    font-weight: 500;
    line-height: 60px !important;
    letter-spacing: 0.015em;
}

.hv-display #fullscreen table {
    border-color: rgba(255, 255, 255, 0.28);
    border-radius: 7px;
}

.hv-display #fullscreen table th,
.hv-display #fullscreen table td {
    border-color: rgba(255, 255, 255, 0.24);
    font-variant-numeric: tabular-nums;
}

.hv-display .token-only-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    padding: 4px 0;
}

.hv-display .token-only-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 112px;
    padding: 14px;
    border: 2px solid;
    border-radius: 10px;
    box-shadow: var(--hv-shadow-sm, 0 2px 8px rgba(7, 92, 88, 0.08));
    font-variant-numeric: tabular-nums;
}

.hv-display .token-only-card strong {
    font-size: clamp(48px, 6vw, 86px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.055em;
}

.hv-display #fullscreen .panel-footer {
    color: #476462;
    border-top: 1px solid var(--hv-line, #d8e7e5);
    background: #f7fbfa;
}

.hv-display #fullscreen:fullscreen,
.hv-display #fullscreen:-webkit-full-screen,
.hv-display #fullscreen:-moz-full-screen {
    width: 100%;
    height: 100%;
    padding: 20px;
    background: #ffffff;
}

/* Responsive and accessibility ----------------------------------------- */

@media (max-width: 991px) {
    .hv-backend #cm-header .cm-navbar h1 {
        font-size: 15px;
    }

    .hv-backend #global > .container-fluid {
        padding-top: 3px;
    }
}

@media (max-width: 767px) {
    .hv-login {
        padding-bottom: 0;
    }

    .hv-login .hv-login-hero {
        padding: 18px 15px 14px !important;
    }

    .hv-login .hv-login-hero h2 {
        font-size: 18px;
    }

    .hv-login .hv-login-hero img {
        max-height: 105px !important;
    }

    .hv-login .hv-login-card {
        width: calc(100% - 30px);
        margin: 22px auto !important;
        padding: 24px 14px 20px;
    }

    .hv-login .cm-footer {
        position: relative;
        min-height: 0;
        padding: 12px 15px;
        line-height: 1.6;
        text-align: center;
    }

    .hv-frontend .navbar-default,
    .hv-frontend .navbar-brand {
        min-height: 64px;
        height: 64px;
    }

    .hv-frontend .navbar-brand > img {
        height: 50px !important;
        max-width: 190px !important;
    }

    .hv-frontend .navbar-default .navbar-collapse {
        border-top-color: var(--hv-line, #d8e7e5);
        background: #ffffff;
        box-shadow: var(--hv-shadow-sm, 0 2px 8px rgba(7, 92, 88, 0.08));
    }

    .hv-frontend .navbar-default .navbar-nav > li > a {
        padding: 13px 18px;
    }

    .hv-frontend .navbar-default .navbar-nav > li > a:hover,
    .hv-frontend .navbar-default .navbar-nav > li > a:focus,
    .hv-frontend .navbar-default .navbar-nav > .active > a {
        box-shadow: inset 4px 0 0 var(--hv-teal, #149f98);
    }

    .hv-frontend .common-section,
    .hv-frontend #about-us,
    .hv-frontend #explore,
    .hv-frontend #contact-us {
        min-height: 0;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hv-frontend footer .text-left,
    .hv-frontend footer .text-right {
        text-align: center;
    }

    .hv-display {
        padding: 0;
    }

    .hv-display > .panel {
        border-radius: 0;
    }

    .hv-display #fullscreen {
        min-height: calc(100vh - 100px);
        padding: 12px;
    }

    .hv-display #fullscreen > .media {
        height: 58px !important;
        margin-top: -12px !important;
        margin-right: -12px;
        margin-left: -12px;
        padding: 0 10px;
    }

    .hv-display #fullscreen > .media .media-heading {
        font-size: 24px !important;
        line-height: 58px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hv-shell *,
    .hv-shell *::before,
    .hv-shell *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media print {
    .hv-shell {
        color: #000000;
        background: #ffffff !important;
    }

    .hv-shell .panel,
    .hv-shell .hv-login-card,
    .hv-shell .explore-wiget {
        border: 1px solid #bbbbbb;
        box-shadow: none !important;
    }
}
