@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;500;600;700;800&display=swap');

/* =============================================
   Brand color â€” change ONE line to retheme the
   entire app (every btn-primary picks this up).
   ============================================= */
:root {
    --primary: #FF821B;
}

html,
body {
    font-family: 'Nunito Sans', sans-serif;
}

/* Override Bootstrap's primary button to use our brand color */
.btn-primary {
    --bs-btn-bg:                var(--primary);
    --bs-btn-border-color:      var(--primary);
    --bs-btn-hover-bg:          #ea6c0a;
    --bs-btn-hover-border-color:#ea6c0a;
    --bs-btn-active-bg:         #d96309;
    --bs-btn-active-border-color:#d96309;
    --bs-btn-disabled-bg:       var(--primary);
    --bs-btn-disabled-border-color: var(--primary);
    --bs-btn-focus-shadow-rgb:  249, 115, 22;
}

/* =============================================
   Auth layout â€” full-screen two-column
   ============================================= */
.auth-body {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
}

.auth-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100vh;
    width: 100%;
}

.auth-image {
    background: url('/images/senior-living.png') center / cover no-repeat;
    height: 100vh;
}

.auth-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #ffffff;
    padding: 48px 40px;
    overflow-y: auto;
}

.auth-form-inner {
    width: 100%;
    max-width: 490px;
    background: #ffffff;
    border: 1px solid #e8eaed;
    border-radius: 16px;
    padding: 40px 36px;
}

.auth-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    color: #202224;
    margin: 0 0 8px 0;
}

.auth-subtitle {
    font-size: 18px;
    opacity: 80%;
    color: #202224;
    margin: 28px 0 28px 0;
    line-height: 1.5;
}

/* Form labels */
.auth-form-inner .form-label {
    font-size: 18px;
    opacity: 80%;
    color: #202224;
    margin-bottom: 6px;
}

/* Input fields */
.auth-form-inner .form-control {
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    color: #1e293b;
    background-color: #f9fafb;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-form-inner .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 130, 27, 0.13);
    background-color: #ffffff;
    outline: none;
}

/* Checkbox brand color */
.auth-form-inner .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.auth-form-inner .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(255, 130, 27, 0.2);
    border-color: var(--primary);
}

.auth-form-inner .form-check-label {
    font-size: 18px;
    color: #202224;
    opacity: 60%;
    background-blend-mode: normal;
}

/* Password eye toggle */
.pwd-eye {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.forgot-link {
    font-size: 18px;
    color: #202224;
    opacity: 60%;
    background-blend-mode: normal;
    margin-left: auto;
    text-decoration: none;
}

.forgot-link:hover {
    color: var(--primary);
}

/* Sign In button */
.auth-form-inner .btn-primary {
    padding: 11px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    letter-spacing: 0.2px;
}

@media (max-width: 768px) {
    .auth-wrapper {
        grid-template-columns: 1fr;
    }
    .auth-image {
        display: none;
    }
    .auth-form-panel {
        padding: 40px 28px;
    }
}

/* =============================================
   App shell â€” sidebar + content
   ============================================= */
.app-body {
    min-height: 100vh;
    /* background: #faf9f7; */
    overflow-x: hidden;
}
body{
    background-color: #ffffff;
}

.app-shell {
    display: flex;
    min-height: 100vh;
    /* background: #faf9f7; */
}

.sidebar {
    width: 245px;
    background: #ffffff;
    color: #202224;
    padding: 1px 0 30px 0px;
    flex-shrink: 0;
    transition: width 0.2s ease, padding 0.2s ease;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    box-shadow: 3px 0 6px rgba(0, 0, 0, 0.19);
    /* border-right: 1px solid #000000; */
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow: visible;
    z-index: 20;
}

.sidebar-scroll {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 30px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    /* scrollbar-color: rgba(31, 41, 55, 0.25) transparent; */
}

.sidebar-scroll::-webkit-scrollbar {
    width: 3px;
}

.sidebar-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
    background-color: rgba(31, 41, 55, 0.28);
    border-radius: 999px;
    border: 1px solid transparent;
    background-clip: content-box;
}

.sidebar-scroll::-webkit-scrollbar-thumb:hover {
    background-color: rgba(31, 41, 55, 0.42);
}
.menu-icon{
    width: 20px;
}
.sidebar-toggle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 0;
    background: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 130, 27, 0.35);
    color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='3' y1='12' x2='21' y2='12'%3E%3C/line%3E%3Cline x1='3' y1='6' x2='21' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='18' x2='21' y2='18'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
}

.sidebar-toggle svg {
    display: none;
}

.sidebar-toggle-floating {
    position: absolute;
    top: 25px;
    right: -18px;
    transform: translateY(-50%);
    z-index: 25;
}

.brand-block {
    padding: 6px 16px 22px;
    margin-bottom: 10px;
}

.brand {
    font-size: 36px;
    line-height: 0.95;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--primary);
    letter-spacing: -0.05em;
}

.brand-full,
.brand-compact {
    display: inline-block;
}

.brand-compact {
    display: none;
}

.brand-subtitle {
    font-size: 12px;
    line-height: 1.15;
    font-weight: 600;
    color: #808080;
    letter-spacing: -0.03em;
}

.nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: 10px;
    padding: 11px 14px 11px 12px;
    color: #767676;
    text-decoration: none;
    border-radius: 0;
    border: 0;
    background: transparent;
    transition: background 0.2s ease, color 0.2s ease;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0;
}

.nav-marker {
    position: absolute;
    left: -10px;
    top: 50%;
    width: 4px;
    height: 45px;
    border-radius: 0 9px 9px 0;
    background: var(--primary);
    transform: translateY(-50%);
    opacity: 0;
}

.nav-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    flex-shrink: 0;
}

.nav-icon svg,
.nav-chevron svg {
    width: 100%;
    height: 100%;
}

.nav-text {
    white-space: nowrap;
    font-size: 16px;
    font-weight: 500;
}

.nav-chevron {
    margin-left: auto;
    width: 14px;
    height: 14px;
    color: #9a9a9a;
}

.nav-link:hover {
    background: #faf5ee;
    color: #6d6d6d;
    transform: none;
    box-shadow: none;
}

.nav-link.active {
    /* background: #fff5ea;
    color: var(--primary);
    box-shadow: none; */
    color: var(--primary);
    box-shadow: rgba(0, 0, 0, 0.16) 0px 2px 2px;
    background: #FFF9F3;
}

.nav-link.active .nav-marker {
    opacity: 1;
}

.nav-link.active .nav-chevron {
    color: var(--primary);
}

.nav-group.is-open .nav-group-link.active .nav-chevron {
    color: var(--primary);
}

.nav-link-muted {
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.nav-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-group-heading {
    position: relative;
}

.nav-group-link {
    padding-right: 40px;
}

.nav-group-link .nav-chevron {
    position: absolute;
    right: 16px;
    transform: translateY(-50%);
}

.nav-group.is-open .nav-group-link .nav-chevron svg {
    transform: rotate(180deg);
}

.nav-group-toggle-hitbox {
    position: absolute;
    top: 0;
    right: 0;
    width: 42px;
    height: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 2;
}

.nav-group-toggle {
    align-items: center;
}

.nav-group.is-open .nav-chevron {
    color: #8f8f8f;
}

.nav-group.is-open .nav-chevron svg {
    transform: rotate(180deg);
}

.nav-submenu {
    display: none;
    flex-direction: column;
    gap: 8px;
    /* padding-left: 34px; */
}

.nav-group.is-open .nav-submenu {
    display: flex;
}

.nav-sublink {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 12px 18px 12px 50px;
    color: #767676;
    text-decoration: none;
    border-radius: 0;
    transition: color 0.2s ease, background 0.2s ease;
    font-size: 16px;
    font-weight: 500;
}

.nav-subicon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    flex-shrink: 0;
}

.nav-subicon svg {
    width: 100%;
    height: 100%;
}

.nav-subtext {
    white-space: nowrap;
}

.nav-sublink:hover {
    color: #6d6d6d;
    background: #faf5ee;
    box-shadow: none;
}

.nav-sublink.active {
    color: var(--primary);
    background: #fff5ea;
    box-shadow: none;
}
.sidebar-user {
    margin-top: auto;
    margin-left: auto;
    padding: 10px 14px;
    margin-right: auto;
    width: calc(100% - 28px);
    display: flex;
    flex-direction: row;
    gap: 12px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.sidebar-user-main {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-user-avatar {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6b7280, #111827);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    flex-shrink: 0;
}

.sidebar-user-name {
    font-size: 14px;
    /* line-height: 1.1; */
    font-weight: 800;
    color: #202224;
}

.sidebar-user-role {
    font-size: 13px;
    margin-top: 4px;
    color: #5e6167;
}

.sidebar-logout-form {
    width: 100%;
}

.sidebar-logout-btn {
    width: 100%;
    min-height: 40px;
    border: 0;
    border-radius: 10px;
    background: var(--primary);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.sidebar-logout-btn:hover {
    background: #ea6c0a;
}

.sidebar-logout-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 130, 27, 0.2);
}

.sidebar-logout-icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sidebar-logout-icon svg {
    width: 100%;
    height: 100%;
}
.app-content {
    flex: 1;
    padding: 20px 30px;
    margin-left: 245px;
    width: calc(100% - 245px);
    max-width: calc(100% - 245px);
    min-width: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    transition: margin-left 0.2s ease, width 0.2s ease;
}

.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0px -30px 30px;
    padding: 12px 30px 12px;
    position: static;
    z-index: 15;
    background: #ffffff;
    box-shadow: 0 2px 2px rgba(0 0 0 / 5%);
}

.header-intro {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.app-title {
    font-size: 24px;
    line-height: 1.1;
    font-weight: bold;
    color: #111827;
}

.app-subtitle {
    margin: 8px 0 0;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 500;
    color: #000000;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.header-search {
    width: 210px;
    max-width: 100%;
    height: 40px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 2px 2px rgba(0 0 0 / 7%);
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 9px;
}

.header-search-icon {
    width: 20px;
    height: 28px;
    color: #5f5f5f;
    flex-shrink: 0;
}

.header-search-icon svg,
.header-bell svg {
    width: 100%;
    height: 100%;
}

.header-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
}

.header-search input::placeholder {
    color: #1c1c1c;
    opacity: 0.9;
}

.header-bell {
    width: 40px;
    height: 40px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 2px 2px rgba(0 0 0 / 7%);
    color: var(--primary);
    /* padding: 18px; */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.header-profile-dropdown .dropdown-toggle::after {
    display: none;
}

.header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ced4da;
    background: #ffffff;
    color: #0d6efd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.header-avatar:hover,
.header-avatar:focus,
.header-avatar:focus-visible,
.header-profile-dropdown.show .header-avatar,
.header-avatar.show {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #ffffff;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.header-avatar-menu {
    min-width: 180px;
    margin-top: 10px;
    padding: 8px;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.12);
}

.header-avatar-menu-name {
    padding: 8px 10px;
    font-size: 14px;
    font-weight: 700;
    color: #212529;
}

.header-avatar-menu-item {
    border-radius: 8px;
    font-weight: 600;
}

.header-avatar-menu-item:hover,
.header-avatar-menu-item:focus {
    background: #0d6efd;
    color: #ffffff;
}

.header-profile-dropdown:hover .header-avatar {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #ffffff;
}

.app-main {
    display: grid;
    gap: 16px;
    padding-top: 0;
}

.admin-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
    /* background: #f4f7ff; */
    border-radius: 14px;
    padding: 15px 10px;
}

.overview-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(118px, 1fr);
    gap: 14px;
}

.metric-card,
.occupancy-card {
    background: #ffffff;
    border: 1px solid #eceff4;
    border-radius: 18px;
    /* box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06); */
}

.metric-card:hover{
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.occupancy-card:hover{
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.15);
    transform: translateY(2px);
    transition: transform 0.2s ease;
}

.occupancy-chart:hover {
    transition: transform 0.2s ease;
    transform: scale(1.02);
}

.metric-card {
    height: 100%;
    min-height: 118px;
    padding: 14px 14px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.metric-card-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex: 1;
}

.metric-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    min-width: 0;
}

.metric-card-top-text{
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #202224;
    opacity: 0.65;
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 1.3;
}

.metric-card-top-text img{
    height: 10px;
    width: auto;
    flex-shrink: 0;
}

.metric-label {
    font-size: 14px;
    font-weight: 500;
    color: #202224;
    opacity: 0.72;
    line-height: 1.35;
}

.metric-icon {
    width: 45px;
    height: 45px;
    border-radius: 14px;
    background: #f4f5f8;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    flex-shrink: 0;
}

.metric-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.metric-value {
    font-size: 32px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #202224;
}

.occupancy-card {
    padding: 18px 18px 20px;
    min-height: 100%;
    height: 100%;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.occupancy-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
}

.occupancy-title {
    font-size: 18px;
    font-weight: 700;
    color: #2a2f36;
}

.occupancy-filter-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.occupancy-filter-wrap::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid #6f7684;
    border-bottom: 1.5px solid #6f7684;
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
}

.occupancy-filter {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid #dfe3ea;
    border-radius: 8px;
    background: #ffffff;
    color: #4b5563;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    padding: 9px 32px 9px 12px;
    /* box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04); */
    cursor: pointer;
    outline: none;
}

.occupancy-filter:focus {
    border-color: #c8d1df;
    box-shadow: 0 0 0 3px rgba(47, 115, 246, 0.08);
}

.occupancy-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 6px;
}

.occupancy-chart {
    position: relative;
    width: 100%;
    height: 162px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 6px;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.05));
}

.occupancy-gauge {
    width: 220px;
    height: 130px;
    display: block;
}

.occupancy-gauge-arc {
    fill: none;
    stroke-width: 19;
    stroke-linecap: round;
}

.occupancy-gauge-arc-vacant {
    stroke: #256ae8;
}

.occupancy-gauge-arc-occupied {
    stroke: #ff8a24;
}

.occupancy-gauge-needle {
    transition: transform 0.8s cubic-bezier(.4,0,.2,1);
}

.occupancy-score {
    position: absolute;
    left: 50%;
    bottom: 6px;
    transform: translateX(-50%);
    font-size: 26px;
    line-height: 1;
    font-weight: 800;
    color: #202224;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.occupancy-legend {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 10px 0 0;
}

.occupancy-legend-item {
    display: grid;
    gap: 6px;
    justify-content: space-around;
    align-content: center;
}

.legend-heading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.legend-dot-occupied {
    background: #ff8a24;
}

.legend-dot-vacant {
    background: #1f6cf0;
}

.legend-label {
    font-size: 14px;
    line-height: 1.2;
    color: #7d8593;
}

.legend-value {
    font-size: 18px;
    line-height: 1.2;
    font-weight: 800;
    color: #111827;
    padding-left: 16px;
}

.dashboard-highlight {
    margin-top: 14px;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
}

.quick-actions-card,
.visitors-card {
    background: #ffffff;
    border: 1px solid #e9edf5;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.dashboard-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 4px 18px;
}

.dashboard-card-header h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 600;
    color: #22262f;
}
.quick-action-icon img{
    height: 59%;
    /* width: 59%; */
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.quick-action-item {
    min-height: 44px;
    border: 1px solid #e7ebf3;
    border-radius: 9px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 17px 12px;
    color: #5d6472;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.quick-action-item:hover {
    border-color: #d8dfee;
    box-shadow: 0 5px 12px rgba(37, 99, 235, 0.08);
    transform: translateY(-1px);
    color: #394150;
}

.quick-action-icon {
    width: 40px;
    height: 40px;
    color: #2a6df5;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quick-action-icon svg {
    width: 100%;
    height: 100%;
}

.view-all-actions {
    margin-top: 18px;
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
}

.view-all-actions svg {
    width: 14px;
    height: 14px;
}

.visitors-header {
    align-items: flex-start;
}

.visitors-legend {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    font-size: 11px;
    color: #7a8190;
}

.visitors-legend span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.legend-swatch {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    display: inline-block;
}

.legend-swatch-orange {
    background: #ff8a1f;
}

.legend-swatch-blue {
    background: #2f73f6;
}

.visitors-menu {
    border: 0;
    background: transparent;
    padding: 4px;
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    cursor: pointer;
}

.visitors-menu span {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #6f7684;
}

.visitors-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.visitors-filter-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.visitors-filter-wrap::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid #6f7684;
    border-bottom: 1.5px solid #6f7684;
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
}

.visitors-filter {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid #d9dee7;
    border-radius: 8px;
    background: #ffffff;
    color: #384152;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    padding: 10px 32px 10px 12px;
    min-width: 92px;
    /* box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06); */
    cursor: pointer;
    outline: none;
}

.visitors-filter:focus {
    border-color: #c8d1df;
    box-shadow: 0 0 0 3px rgba(47, 115, 246, 0.08);
}

.visitors-chart {
    position: relative;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
    height: 200px;
    margin-top: 6px;
}

.chart-grid-lines {
    display: grid;
    grid-template-rows: repeat(5, 1fr);
    font-size: 11px;
    color: #a0a8b6;
    align-items: end;
    padding-bottom: 26px;
}

.chart-bars {
    position: relative;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 14px;
     align-items: end;
    padding: 4px 4px 0 0;
  /*  border-left: 1px solid #edf1f7;
    border-bottom: 1px solid #edf1f7;
    background-image: linear-gradient(to top, rgba(226, 231, 239, 0.85) 1px, transparent 1px);
    background-size: 100% calc(100% / 4); */
    overflow: visible;
}
.chart-bars::before{
    content: "";
    position: absolute;
    top: 4px;
    right:0;
    bottom: 28px;
    left: 0;
    /* padding: 4px 4px 0 0; */
    border-left: 1px solid #edf1f7;
    /* border-bottom: 1px solid #edf1f7; */
    background-image: linear-gradient(to top, rgba(226, 231, 239, 0.85) 1px, transparent 1px);
    background-size: 100% calc(100% / 4); 
    pointer-events: none;
}
.chart-day {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    height: 100%;
    padding-bottom: 0;
    z-index: 2;
}

.chart-day:hover,
.chart-day:focus-within {
    z-index: 6;
}

.bar-pair {
    position: relative;
    width: 100%;
    height: calc(100% - 28px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    z-index: 1;
}

.chart-bar {
    width: 9px;
    border-radius: 999px 999px 0 0;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.chart-bar-orange {
    background: #ff8a1f;
}

.chart-bar-blue {
    background: #2f73f6;
}

.chart-tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(var(--tooltip-anchor, 100%) + 12px);
    transform: translateX(-50%) translateY(8px);
    min-width: 102px;
    padding: 10px 12px;
    border: 1px solid #e7ebf3;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 3;
}

.chart-tooltip::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 94%;
    width: 10px;
    height: 10px;
    background: #ffffff;
    border-right: 1px solid #e7ebf3;
    border-bottom: 1px solid #e7ebf3;
    transform: translateX(-50%) rotate(45deg);
}

.chart-tooltip strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #202224;
    margin-bottom: 8px;
}

.chart-tooltip span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    line-height: 1.6;
    color: #5f6978;
    white-space: nowrap;
}

.chart-tooltip .legend-swatch {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}

.bar-pair:hover .chart-tooltip,
.bar-pair:focus-within .chart-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.bar-pair:hover .chart-bar,
.bar-pair:focus-within .chart-bar {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.14);
}

.day-label {
    position: relative;
    z-index: 2;
    font-size: 11px;
    color: #9aa3b1;
    margin-left: 0;
}

.dashboard-lists {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

.list-card {
    min-height: 238px;
    background: #ffffff;
    border: 1px solid #e9edf5;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
}

.list-card-header {
    padding: 2px 2px 14px;
}

.list-card-header h2 {
    font-size: 17px;
    font-weight: 700;
}

.list-card-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.list-row {
    display: flex;
    /* align-items: center; */
    gap: 12px;
    padding: 12px 12px;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    background: #ffffff;
    color: #202224;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.list-row:hover {
    transform: translateY(-1px);
    border-color: #dbe4f0;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.07);
}

.list-row-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1f6cf0;
    flex-shrink: 0;
}

.list-row-icon img {
    width: 86%;
}

.list-row-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.list-row-title {
    font-size: 14px;
    line-height: 1.25;
    font-weight: 500;
    color: #202224;
}

.list-row-subtitle {
    font-size: 11px;
    line-height: 1.2;
    color: #98a2b3;
}

.list-row-arrow {
    margin-left: auto;
    width: 16px;
    height: 16px;
    color: #c7ced9;
    flex-shrink: 0;
}

.list-row-arrow svg {
    width: 100%;
    height: 100%;
}

.list-card-link {
    margin-top: auto;
    padding-top: 14px;
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.list-card-link svg {
    width: 14px;
    height: 14px;
}

.list-card-empty {
    background: #ffffff;
}

/* Sidebar collapsed state */
.sidebar-collapsed .sidebar {
    width: 82px;
    padding: 1px 0 24px;
}

.sidebar-collapsed .sidebar-toggle-floating {
    right: -18px;
}

.sidebar-collapsed .app-content {
    margin-left: 82px;
    width: calc(100% - 82px);
    max-width: calc(100% - 82px);
}

.sidebar-collapsed .app-header {
    left: 112px;
}

.sidebar-collapsed .brand-full,
.sidebar-collapsed .brand-subtitle,
.sidebar-collapsed .nav-text,
.sidebar-collapsed .nav-chevron,
.sidebar-collapsed .nav-submenu,
.sidebar-collapsed .sidebar-user-text {
    display: none;
}

.sidebar-collapsed .brand-compact {
    display: inline-block;
}

.sidebar-collapsed .brand-block {
    padding: 4px 6px 18px;
    text-align: center;
}

.sidebar-collapsed .nav-link {
    justify-content: center;
    gap: 0;
    width: calc(100% - 10px);
    margin-left: 10px;
    padding: 10px 0;
}

.sidebar-collapsed .nav-group-link {
    justify-content: center;
    padding-right: 0;
}

.sidebar-collapsed .nav-icon {
    margin: 0 auto;
}

.sidebar-collapsed .nav-group-link .nav-icon {
    margin: 0;
}

.sidebar-collapsed .nav-group.is-open .nav-submenu {
    display: none;
}

.sidebar-collapsed .nav-group-toggle-hitbox {
    display: none;
}

.sidebar-collapsed .nav-marker {
    left: -5px;
}

.sidebar-collapsed .sidebar-user {
    justify-content: center;
    align-items: center;
    width: calc(100% - 20px);
    padding-left: 10px;
    padding-right: 10px;
}

.sidebar-collapsed .sidebar-user-main {
    justify-content: center;
}

.sidebar-collapsed .sidebar-logout-btn {
    min-width: 40px;
    padding-left: 0;
    padding-right: 0;
}

.sidebar-collapsed .sidebar-logout-text {
    display: none;
}

.sidebar-collapsed .sidebar-topbar {
    padding-right: 10px;
}

.sidebar-collapsed .sidebar-toggle-floating svg {
    transform: none;
}

@media (max-width: 900px) {
    .app-shell {
        flex-direction: column;
    }
    .sidebar {
        position: relative;
        top: auto;
        left: auto;
        bottom: auto;
        width: 100%;
        min-height: auto;
        padding: 24px 16px;
        overflow: visible;
    }
    .sidebar-scroll {
        min-height: auto;
        padding-bottom: 0;
        overflow: visible;
    }
    .sidebar-toggle-floating {
        top: 18px;
        right: 18px;
        transform: none;
    }
    .brand {
        font-size: 48px;
    }
    .brand-subtitle {
        font-size: 16px;
    }
    .nav-link {
        padding: 20px 22px;
    }
    .nav-submenu {
        padding-left: 18px;
    }
    .nav-marker {
        display: none;
    }
    .sidebar-user {
        margin-top: 24px;
    }
    .app-content {
        width: 100%;
        margin-left: 0;
        padding: 20px 16px;
    }
    .app-header {
        position: static;
        left: auto;
        right: auto;
        top: auto;
        background: transparent;
    }
    .app-header {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }
    .header-intro {
        gap: 12px;
    }
    .header-actions {
        margin-left: 0;
        gap: 12px;
        flex-wrap: wrap;
    }
    .header-search {
        width: 100%;
        height: 60px;
        padding: 0 18px;
    }
    .header-bell {
        width: 60px;
        height: 60px;
        padding: 14px;
    }
    .app-title {
        font-size: 28px;
    }
    .app-subtitle {
        font-size: 16px;
    }
    .icon-btn {
        display: inline-flex;
    }
    .admin-overview {
        grid-template-columns: 1fr;
    }
    .overview-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .dashboard-highlight {
        grid-template-columns: 1fr;
    }
    .dashboard-lists {
        grid-template-columns: 1fr;
    }
    .occupancy-body {
        display: block;
    }
    .occupancy-card {
        min-height: auto;
    }
    .occupancy-chart {
        height: 122px;
    }
    .occupancy-title {
        font-size: 18px;
    }
    .occupancy-gauge {
        width: 190px;
        height: 114px;
    }
    .occupancy-legend {
        grid-template-columns: 1fr;
        padding-left: 8px;
        padding-right: 8px;
    }
    .quick-actions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .visitors-chart {
        height: 180px;
    }
    .list-card {
        min-height: auto;
    }
    .app-main {
        padding-top: 0;
    }
}


.page-link {
    border-top: var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);
    border-bottom: var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);
    border-left: none;
    border-right: none;
    padding : 5px 12px !important;
}
.active>.page-link{
    color: #564f4f82;
    background-color: #ffffff;
    border-color :#dee2e6;
}

/* DataTable Pagination Text to Icons Override */
.dataTables_paginate .paginate_button.previous,
.dataTables_paginate .paginate_button.next {
    font-size: 0 !important;
    position: relative;
}


.paginate_button > .page-link{
    background-color:#ffffff;
}
#assetsTable_wrapper .dataTables_paginate .paginate_button:not(.disabled):hover,
#tasksTable_wrapper .dataTables_paginate .paginate_button:not(.disabled):hover
 {
    border-color: #ffffff !important;
    color: #ffffff !important;
}
.page-item .page-link,
.page-item .page-link:hover,
.page-item .page-link:focus,
.page-item .page-link:active {
    border: none !important;
    box-shadow: none;
}
