@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700&display=swap");

:root {
    --font: "Rubik", sans-serif;
    --white-color: #fff;
    --white-alpha-1: rgba(255, 255, 255, 0.12);
    --white-alpha-2: rgba(255, 255, 255, 0.3);
    --white-alpha-3: rgba(255, 255, 255, 0.9);
    --black-color: #000;
    --black-50: rgba(0, 0, 0, 0.7);
    --body-color: #1b1b1b;

    /* Brand palette */
    --primary-color: #14263b;
    --accent-color: #b08c43;
    --warning-color: #ff9700;
    --assest-color: #e9ecef;
    --green-color: #058f00;
    --red-color: #e3000b;
    --info-color: #1c7ed6;
    --dark-color: rgba(0, 0, 0, 0.04);
    --light-gray: #9c9999c0;
    --primary-light: rgba(20, 38, 59, 0.07);
    --primary-alpha-1: rgba(20, 38, 59, 0.1);
    --header-height: 64px;
    --header-shadow: 0 1px 4px var(--black-alpha-07);
    --text-muted: rgba(27, 27, 27, 0.7);
    --light-green: rgba(86, 163, 86, 0.195);
    --light-red: rgba(172, 81, 81, 0.195);
    --light-warning: rgba(161, 161, 63, 0.195);
    --light-info: rgba(28, 126, 214, 0.15);
    --primary-gradient: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--primary-soft) 100%
    );

    /* Extended primary palette (navy tints/shades) */
    --primary-hover: #1c3357;
    --primary-soft: #1f3c60;

    /* Extended accent palette (gold tints/shades) */
    --accent-dark: #8a6c32;
    --accent-light: rgba(176, 140, 67, 0.12);
    --accent-alpha-18: rgba(176, 140, 67, 0.18);
    --accent-alpha-30: rgba(176, 140, 67, 0.3);
    --accent-alpha-45: rgba(176, 140, 67, 0.45);
    --accent-alpha-55: rgba(176, 140, 67, 0.55);

    /* Black alpha palette */
    --black-alpha-06: rgba(0, 0, 0, 0.06);
    --black-alpha-07: rgba(0, 0, 0, 0.07);
    --black-alpha-08: rgba(0, 0, 0, 0.08);
    --black-alpha-10: rgba(0, 0, 0, 0.1);
    --black-alpha-16: rgba(0, 0, 0, 0.16);
    --black-alpha-22: rgba(0, 0, 0, 0.22);
    --black-alpha-26: rgba(0, 0, 0, 0.26);

    /* Primary alpha palette */
    --primary-alpha-18: rgba(20, 38, 59, 0.18);

    /* Green alpha */
    --green-alpha-12: rgba(5, 143, 0, 0.12);
    --green-alpha-25: rgba(5, 143, 0, 0.25);
    --green-alpha-40: rgba(5, 143, 0, 0.4);

    /* Info alpha */
    --info-alpha-40: rgba(28, 126, 214, 0.4);
    --info-alpha-45: rgba(28, 126, 214, 0.45);

    /* Red alpha */
    --red-alpha-25: rgba(227, 0, 11, 0.25);
    --red-alpha-40: rgba(227, 0, 11, 0.4);
    --red-alpha-45: rgba(227, 0, 11, 0.45);
    --red-alpha-55: rgba(227, 0, 11, 0.55);

    /* Warning alpha */
    --warning-alpha-65: rgba(255, 151, 0, 0.65);

    /* Neutral gray scale (non-brand utility grays) */
    --gray-100: #fafafa;
    --gray-200: #eeeeee;
    --gray-300: #d9d9d9;
    --gray-400: #c3c3c3;
    --gray-500: #8a8a8a;

    --border-color: #e5e7eb;

    /* PMS Enterprise Dashboard Semantic Tokens */
    --pms-surface-alt: #f8fafc;
    --pms-surface-subtle: #f1f5f9;
    --pms-card-border: rgba(226, 232, 240, 0.8);
    --pms-card-shadow:
        0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(20, 38, 59, 0.03);
    --pms-card-radius: 14px;
    --pms-text-primary: #0f172a;
    --pms-text-secondary: #475569;
    --pms-text-muted: #64748b;
    --primary-color-soft: rgba(20, 38, 59, 0.05);
    --primary-color-border: rgba(20, 38, 59, 0.12);
    --green-color-bg: rgba(5, 143, 0, 0.08);
    --green-color-border: rgba(5, 143, 0, 0.2);
    --pms-warning: #d97706;
    --pms-warning-bg: rgba(217, 119, 6, 0.08);
    --pms-warning-border: rgba(217, 119, 6, 0.2);
    --red-color-bg: rgba(227, 0, 11, 0.08);
    --red-color-border: rgba(227, 0, 11, 0.2);
    --info-color-border: rgba(28, 126, 214, 0.2);
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font);
    color: var(--body-color);
    background-color: var(--assest-color);
    font-size: 14px;
    overflow-x: hidden;
}

.body-content {
    padding: 25px;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font);
}

a {
    text-decoration: none !important;
}

.primary-color {
    color: var(--primary-color);
}

.text-gray {
    color: var(--body-color);
    opacity: 0.6;
}

.size-55 {
    height: 55px;
    width: 55px;
}

.price {
    font-size: 18px;
    font-weight: 600;
}

.user_name {
    font-size: 14px;
    font-weight: 600;
}

.cursor {
    background-color: var(--assest-color);
    border: 1px solid var(--black-color);
    cursor: s-resize;
}

.btn:focus {
    outline: none;
    -webkit-box-shadow: 0 0 0;
    box-shadow: 0 0 0;
}

.custom-checkbox {
    height: 20px;
    width: 20px;
    accent-color: var(--primary-color);
}

.btn-default {
    background: var(--primary-gradient);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white-color);
    border: 1px solid transparent;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    padding: 8px 20px;
}

.btn-default:hover {
    color: var(--primary-color);
    background: transparent;
    border-color: var(--primary-color);
}

.mw-120 {
    min-width: 120px;
}

.dropright .dropdown-menu {
    top: 100% !important;
    right: 0;
    -webkit-transform: none !important;
    transform: none !important;
    left: auto !important;
}

.dropdown-menu {
    padding: 4px;
    border: 0;
    border-radius: 12px;
}

.dropdown-menu .dropdown-item {
    font-weight: 500;
    border-bottom: 2px dashed var(--assest-color);
    padding: 7px 11px;
    font-size: 14px;
}
.dropdown-menu .dropdown-item:focus {
    background: var(--primary-color);
    color: var(--white-color);
}
.dropdown-menu .dropdown-item.active {
    background: var(--assest-color);
    color: var(--primary-color);
}

.dropdown-menu .dropdown-item:last-child {
    border-bottom: 0;
}

.side-toggle {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    background: transparent;
    padding: 0;
}

.side-toggle span {
    background: var(--primary-color);
    width: 20px;
    height: 2px;
    margin: 2.5px 0;
    border-radius: 50px;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    display: block;
}

.side-toggle span:nth-child(2) {
    width: 13px;
    -ms-flex-item-align: start;
    align-self: flex-start;
}

.custom-control .custom-control-label::before {
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 3px;
}

.custom-control .custom-control-input:checked ~ .custom-control-label::after {
    border-radius: 3px;
    background-color: var(--primary-color);
}

.custom-control.custom-radio .custom-control-label::before,
.custom-control.custom-radio .custom-control-label:after {
    border-radius: 50% !important;
}

.sidebar {
    background: var(--white-color);
    padding: 0;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 260px;
    max-width: 100%;
    overflow: hidden;
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
    -webkit-transition:
        width 0.3s ease,
        -webkit-transform 0.3s ease;
    transition:
        width 0.3s ease,
        transform 0.3s ease;
    border-right: 1px solid var(--assest-color);
    z-index: 100;
}

@media (min-width: 1680px) {
    .sidebar {
        width: 280px;
    }
}

.sidebar.hide-sidebar {
    width: 72px;
    padding: 0;
}

@media (min-width: 1024px) {
    .sidebar.hide-sidebar .side-menu .side-submenu a.dropdown-item {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px 0;
        margin: 4px 10px;
        border-radius: 10px;
    }

    .hide-sidebar .side-menu .side-submenu a.dropdown-item {
        height: 35px;
        margin-left: 15px !important;
    }

    .sidebar.hide-sidebar .side-menu .partition {
        display: none;
    }

    .sidebar.hide-sidebar .side-head {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        padding: 15px 12px;
    }

    .sidebar.hide-sidebar .side-logo,
    .sidebar.hide-sidebar .partition,
    .sidebar.hide-sidebar .side-menu a > span {
        display: none;
    }

    .sidebar.hide-sidebar .side-menu .active a:after {
        content: none;
    }

    .sidebar.hide-sidebar .side-menu a {
        margin: 2px auto;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        padding: 7px;
        height: 44px;
        width: 44px;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        border-radius: 10px;
    }

    .sidebar.hide-sidebar .side-menu a .menu-icon {
        margin-right: 0;
        width: 30px;
        height: 30px;
        font-size: 14px !important;
    }

    .sidebar.hide-sidebar .side-menu a.dropdown-toggle:after {
        content: none;
    }

    .sidebar.hide-sidebar .side-menu .dropdown-menu {
        margin-left: 0;
        min-width: unset;
        padding: 0;
    }

    .sidebar.hide-sidebar .side-menu .dropdown-menu a {
        padding: 0;
    }

    .sidebar.hide-sidebar .side-menu .dropdown-menu .active {
        padding: 0;
        margin: 0px;
    }

    .sidebar.hide-sidebar .side-menu .dropdown-menu a svg {
        margin-right: 0;
    }

    .sidebar.hide-sidebar .side-menu .side-submenu .submenu-icon {
        margin: 0;
        width: 26px;
        height: 26px;
        font-size: 13px;
    }
}

@media (min-width: 1680px) {
    .sidebar.hide-sidebar .side-head {
        padding: 0 12px;
    }
}

.sidebar .side-head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0 20px;
    height: 64px;
    border-bottom: 1px solid var(--assest-color);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background: var(--white-color);
    z-index: 10000;
}

.sidebar .side-logo {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.3px;
    width: auto;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--primary-color);
}

.sidebar .side-logo:hover {
    color: var(--primary-color);
    opacity: 0.85;
}

.sidebar .side-menu {
    padding: 8px 0 28px;
    list-style: none;
    margin: 0;
    overflow-y: auto;
    overflow-x: hidden;
    height: calc(100% - 64px);
}

.sidebar .side-menu::-webkit-scrollbar {
    width: 6px;
}

.sidebar .side-menu::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
}

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

.sidebar .side-menu a {
    color: var(--text-muted);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 6px 12px;
    margin: 2px 10px;
    position: relative;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 500;
    border-radius: 10px;
    -webkit-transition:
        background 0.18s ease,
        color 0.18s ease;
    transition:
        background 0.18s ease,
        color 0.18s ease;
    white-space: nowrap;
}

.sidebar.hide-sidebar .side-menu .side_line.active a:after {
    display: none;
}

.sidebar .side-menu .side_line.active a:after {
    content: none;
}

.sidebar .side-menu a i {
    font-size: 15px !important;
}

.sidebar .side-menu a .menu-icon {
    margin-right: 11px;
    width: 30px;
    height: 30px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 8px;
    background: transparent;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    color: var(--text-muted);
    -webkit-transition: color 0.18s ease;
    transition: color 0.18s ease;
}

.sidebar .side-menu .dropdown-menu a i {
    font-size: 13px !important;
}

.sidebar .side-menu .dropdown-menu a .submenu-icon {
    margin-right: 10px;
    width: 26px;
    height: 26px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 7px;
    background: transparent;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    color: var(--text-muted);
    -webkit-transition: color 0.18s ease;
    transition: color 0.18s ease;
}

.sidebar .side-menu a:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

.sidebar .side-menu a:hover .menu-icon,
.sidebar .side-menu a:hover .submenu-icon {
    background: transparent;
    color: var(--primary-color);
}

.sidebar .side-menu .active a {
    background: var(--primary-gradient);
    color: var(--white-color);
    font-weight: 600;
    box-shadow:
        0 2px 4px var(--black-alpha-06),
        0 8px 16px var(--black-alpha-08);
}

.sidebar .side-menu .active a .menu-icon {
    -webkit-filter: none;
    filter: none;
    background: transparent;
    color: var(--white-color);
}

.sidebar .side-menu .active .dropdown-menu .active .submenu-icon {
    -webkit-filter: none;
    filter: none;
    background: transparent;
    color: var(--white-color);
}

.sidebar .side-menu .dropdown-toggle::after {
    position: absolute;
    right: 14px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    margin: 0;
}

.sidebar .side-menu .dropdown-menu {
    position: relative !important;
    -webkit-transform: none !important;
    transform: none !important;
    -webkit-box-shadow: none;
    box-shadow: none;
    float: none;
    background: transparent;
    margin-left: 20px;
    padding: 2px 0;
    border-radius: 0;
}

.sidebar .side-menu .dropdown-menu .dropdown-item {
    padding: 7px 12px;
    background: transparent;
    color: var(--text-muted);
    font-size: 13px;
    border-bottom: none;
    border-radius: 10px;
    margin: 1px 10px 1px 4px;
    width: auto;
    box-shadow: none;
}

.right-content {
    margin-left: 260px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.sidebar .side-menu .side-submenu a {
    color: var(--text-muted);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 6px 12px;
    position: relative;
    margin: 2px 4px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    border-radius: 10px;
    -webkit-transition:
        background 0.18s ease,
        color 0.18s ease;
    transition:
        background 0.18s ease,
        color 0.18s ease;
}

.sidebar .side-menu .side-submenu .active {
    background: transparent;
    border-radius: 0;
    color: inherit;
}

.sidebar .side-menu .side-submenu a:hover {
    color: var(--primary-color);
    background: var(--primary-light);
}

.sidebar .side-menu .side-submenu .active a:hover {
    color: var(--white-color);
}

.sidebar .side-menu .side-submenu .active a {
    color: var(--white-color);
    background: var(--primary-gradient);
    font-weight: 600;
    box-shadow:
        0 2px 4px var(--black-alpha-06),
        0 8px 16px var(--black-alpha-08);
}

@media (min-width: 1680px) {
    .right-content {
        margin-left: 280px;
    }
}

.right-content.right-content-0 {
    margin-left: 72px;
}

.right-content.right-content-0 .header .title-control .side-toggle {
    display: none;
}

.header {
    position: sticky;
    -webkit-position: -webkit-sticky;
    top: 0;
    background: var(--white-color);
    z-index: 22;
    padding: 0 24px;
    height: var(--header-height);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    border-bottom: 1px solid var(--assest-color);
    -webkit-box-shadow: var(--header-shadow);
    box-shadow: var(--header-shadow);
}

.header .title-control {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 14px;
}

.header .title-control .side-toggle {
    margin-right: 0;
    display: none;
}

.header .page-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: var(--body-color);
    letter-spacing: -0.2px;
}

.header .input-group {
    border: 1px solid var(--assest-color);
    border-radius: 100px;
    width: 550px;
    max-width: 100%;
}

.header .input-group .form-control {
    background: transparent;
    border: 0;
    -webkit-box-shadow: 0 0 0;
    box-shadow: 0 0 0;
}

.header .input-group .form-control img {
    width: 20px;
    margin: 0 5px;
}

.header .input-group .form-control {
    font-size: 14px;
    padding: 12px 6px;
}

.header .side-logo {
    display: none;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.header .head-control {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
}

.header .head-control .head-btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    margin-left: 0;
    background: var(--primary-light);
    color: var(--primary-color);
    border: 1px solid var(--assest-color);
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition:
        background 0.18s ease,
        border-color 0.18s ease;
    transition:
        background 0.18s ease,
        border-color 0.18s ease;
}

.header .head-control .head-btn:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

.header .head-control .head-btn.property-btn {
    width: auto;
    height: 40px;
    overflow: visible;
    padding: 0 14px 0 8px;
    border-radius: 20px;
    gap: 8px;
}

.header .head-control .head-btn.property-btn .property-icon {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 26px;
    width: 26px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 12px;
    -webkit-transition:
        background 0.18s ease,
        color 0.18s ease;
    transition:
        background 0.18s ease,
        color 0.18s ease;
}

.header .head-control .head-btn.property-btn .property-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    white-space: nowrap;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-transition: color 0.18s ease;
    transition: color 0.18s ease;
}

.header .head-control .head-btn.property-btn .property-caret {
    font-size: 11px;
    color: var(--primary-color);
    -webkit-transition:
        color 0.18s ease,
        -webkit-transform 0.18s ease;
    transition:
        color 0.18s ease,
        transform 0.18s ease;
}

.header
    .head-control
    .head-btn.property-btn[aria-expanded="true"]
    .property-caret {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.header .head-control .head-btn.property-btn:hover .property-icon {
    background: var(--white-color);
    color: var(--primary-color);
}

.header .head-control .head-btn.property-btn:hover .property-name,
.header .head-control .head-btn.property-btn:hover .property-caret {
    color: var(--white-color);
}

@media (max-width: 576px) {
    .header .head-control .head-btn.property-btn .property-name {
        max-width: 110px;
    }
}

.avatar-img {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: transparent;
}

.table-striped tbody tr:nth-of-type(even) {
    background-color: var(--assest-color);
}

.table {
    border-color: var(--assest-color);
    min-width: 650px;
}

.table thead th {
    font-size: 14px;
    font-weight: 600;
    border-top: 0;
    border-bottom: 1px solid var(--assest-color);
}

.table td {
    font-size: 14px;
    border-bottom: 1px solid var(--assest-color);
    border-top: 0;
    vertical-align: middle;
}

.table .avatar-img {
    margin-right: 10px;
}

.table .btn {
    padding: 2px;
    background: transparent;
    margin: 0 3px;
}

.table .btn img {
    width: 16px;
}

.modal .close {
    font-size: 34px;
    color: var(--white-color);
    opacity: 1;
    position: absolute;
    right: 5px;
    top: 0px;
    font-weight: 200;
    z-index: 22;
    outline: none;
}

.modal-header {
    background: var(--primary-gradient);
    height: 50px;
    padding: 0 25px;
    border-bottom: 1px solid var(--primary-alpha-1);
    border-radius: 12px 12px 0 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.01em;
    color: var(--white-color);
}

.modal-header > i {
    color: var(--white-color);
    font-size: 13px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.modal-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    color: var(--white-color);
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.modal-content {
    border-radius: 15px !important;
}

.modal-close {
    background: none;
    border: none;
    padding: 4px 6px;
    cursor: pointer;
    color: var(--white-color);
    opacity: 0.6;
    font-size: 14px;
    -webkit-transition: opacity 0.2s;
    transition: opacity 0.2s;
}

.modal-close:hover {
    opacity: 1;
}

.modal-close:focus {
    outline: none;
}

.custom-border-card {
    border: 1px solid var(--assest-color);
    -webkit-box-shadow: 0 1px 6px var(--dark-color);
    box-shadow: 0 1px 6px var(--dark-color);
    padding: 20px 25px;
    border-radius: 15px;
    margin-bottom: 25px;
}

.custom-border-card .card-header {
    font-size: 15px;
    background: var(--primary-gradient);
    margin: -20px -25px 20px;
    height: 50px;
    padding: 0 25px;
    font-weight: 600;
    border-bottom: 1px solid var(--primary-alpha-1);
    letter-spacing: 0.01em;
    color: var(--body-color);
    border-radius: 16px 16px 0 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
}

.custom-border-card .card-header i {
    color: var(--white-color);
    font-size: 13px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.custom-border-card .card-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    color: var(--white-color);
}

.custom-border-card .card-title span {
    font-size: 13px !important;
    font-weight: 400 !important;
}

.custom-border-card .card-body {
    padding: 0px 0 4px;
}

/* Action button placed inside a .custom-border-card header (e.g. Assign All
   Rooms, Add Charge) - solid white so it stands out against the navy
   .primary-gradient header, with a raised shadow for depth. */
.custom-border-card .card-header .btn-card-header-action {
    background: var(--white-color);
    color: var(--primary-color);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    -webkit-box-shadow: 0 4px 12px var(--black-alpha-22);
    box-shadow: 0 4px 12px var(--black-alpha-22);
    -webkit-transition:
        -webkit-box-shadow 0.2s ease,
        -webkit-transform 0.2s ease;
    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.custom-border-card .card-header .btn-card-header-action:hover {
    color: var(--primary-color);
    -webkit-box-shadow: 0 6px 16px var(--black-alpha-26);
    box-shadow: 0 6px 16px var(--black-alpha-26);
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
}

.custom-border-card .card-header .btn-card-header-action i {
    color: var(--primary-color);
}

.form-group label {
    font-weight: 500;
    color: var(--body-color);
    font-size: 14px;
    margin-bottom: 10px;
}

.form-control {
    border: 1px solid var(--border-color);
    background: var(--white-color);
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 14px;
    height: auto !important;
}

.form-control:focus {
    border-color: var(--primary-color);
    background: var(--white-color);
    -webkit-box-shadow: 0 0 0 3px var(--primary-light);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.radio-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 20px;
}

.radio-group .custom-control {
    padding-left: 0;
    margin-right: 15px;
}

.radio-group .custom-control-label {
    margin-bottom: 0;
    background: var(--assest-color);
    padding: 6px 23px 6px 33px;
    border-radius: 100px;
    font-size: 16px;
}

.radio-group .custom-control-label::before,
.radio-group .custom-control-label:after {
    border-radius: 50%;
    top: 10px;
    left: 10px;
}

.radio-group .custom-control-label:after {
    display: none;
}

.radio-group .custom-control-label::before {
    background: transparent;
    border: 3px solid var(--body-color);
}

.radio-group .custom-control-input:checked ~ .custom-control-label {
    background: var(--primary-color);
    color: var(--white-color);
}

.radio-group .custom-control-input:checked ~ .custom-control-label::before {
    background: var(--primary-color);
    border-color: var(--white-color);
}

.page-title-sm {
    display: none;
}

table.dataTable > thead .sorting:before,
table.dataTable > thead .sorting_asc:before,
table.dataTable > thead .sorting_desc:before,
table.dataTable > thead .sorting_asc_disabled:before,
table.dataTable > thead .sorting_desc_disabled:before {
    content: "↑";
}

table.dataTable > thead .sorting:after,
table.dataTable > thead .sorting_asc:after,
table.dataTable > thead .sorting_desc:after,
table.dataTable > thead .sorting_asc_disabled:after,
table.dataTable > thead .sorting_desc_disabled:after {
    content: "↓";
}

div.dataTables_wrapper div.dataTables_length label,
div.dataTables_wrapper div.dataTables_filter label {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: var(--assest-color);
    border-radius: 8px;
    padding: 6px 18px;
    font-weight: 600;
}

div.dataTables_wrapper div.dataTables_length label .form-control,
div.dataTables_wrapper div.dataTables_filter label .form-control {
    padding: 6px 12px;
    text-align: center;
    margin: 0 13px;
    background-color: var(--white-color);
}

div.dataTables_wrapper div.dataTables_length label input.form-control,
div.dataTables_wrapper div.dataTables_filter label input.form-control {
    margin-right: 0;
    text-align: left;
}

div.table-responsive
    > div.dataTables_wrapper
    > div.row
    > div[class^="col-"]:first-child,
div.table-responsive
    > div.dataTables_wrapper
    > div.row
    > div[class^="col-"]:last-child {
    overflow: auto;
}

@media (min-width: 1600px) {
    .table thead th,
    .table td {
        font-size: 16px;
    }

    .form-group label {
        font-size: 16px;
    }

    .custom-border-card .card-header {
        font-size: 17px;
    }
}

@media (max-width: 1280px) {
    .header .input-group {
        width: 280px;
    }
}

@media (max-width: 991px) {
    .sidebar {
        left: -260px;
    }

    .sidebar.hide-sidebar {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        left: 0;
        z-index: 99;
        width: 260px;
    }

    .sidebar.hide-sidebar .side-toggle span:first-child {
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    .sidebar.hide-sidebar .side-toggle span:nth-child(2) {
        display: none;
    }

    .sidebar.hide-sidebar .side-toggle span:last-child {
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
        margin-top: -5px;
    }

    .right-content {
        margin-left: 0 !important;
    }

    .right-content .page-title {
        display: none;
    }

    .header {
        padding: 0 16px;
        height: var(--header-height);
    }

    .header .title-control .side-toggle {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
    }

    .header .side-logo {
        display: block;
        width: auto;
    }

    .page-title-sm {
        font-size: 24px;
        font-weight: 600;
        margin: -10px 0 20px;
        display: block;
        border-bottom: 1px solid var(--assest-color);
        padding-bottom: 5px;
    }
}

@media (max-width: 767px) {
    .btn-default {
        font-size: 14px;
    }

    .header .input-group {
        height: 40px;
        width: 40px;
        border-radius: 10px;
    }

    .header .input-group .form-control {
        display: none;
    }

    .table th,
    .table td {
        padding: 8px 5px;
    }

    .pagination {
        margin-top: 20px;
    }

    .form-group label {
        font-size: 14px;
    }

    .custom-border-card {
        padding: 16px 20px;
    }

    .custom-border-card .card-header {
        font-size: 14px;
        margin: -16px -20px 18px;
        padding: 12px 20px;
    }
}

@media (max-width: 567px) {
    div.dataTables_wrapper div.dataTables_length label,
    div.dataTables_wrapper div.dataTables_filter label {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    div.table-responsive
        > div.dataTables_wrapper
        > div.row
        > div[class^="col-"]:first-child,
    div.table-responsive
        > div.dataTables_wrapper
        > div.row
        > div[class^="col-"]:last-child {
        padding: 0;
        overflow: auto;
    }

    div.dataTables_wrapper div.dataTables_paginate ul.pagination {
        margin-top: 15px;
    }
}

@media (max-width: 340px) {
    .header .side-logo {
        width: 120px;
    }
}

/* Loader */
#dvloader {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    display: block;
    background-color: var(--black-50);
    z-index: 9999;
    text-align: center;
}

#dvloader img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    height: 150px;
}

/* btn Cancel */
.btn-cancel {
    background: var(--black-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white-color);
    border: 1px solid transparent;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    padding: 8px 20px;
}

.btn-cancel:hover {
    color: var(--black-color);
    background: transparent;
    border-color: var(--black-color);
}

/* ── Edit / Delete action buttons ── */
.edit-delete-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    border: 1.5px solid transparent;
    font-size: 14px;
    line-height: 1;
    transition:
        background 0.17s ease,
        border-color 0.17s ease,
        box-shadow 0.17s ease,
        transform 0.14s ease;
    cursor: pointer;
    text-decoration: none !important;
    outline: none !important;
    vertical-align: middle;
    flex-shrink: 0;
}

.edit-delete-btn i {
    font-size: 14px !important;
    pointer-events: none;
}

/* Edit — <a class="edit-delete-btn"> */
a.edit-delete-btn,
button.edit-delete-btn {
    background: var(--primary-alpha-1);
    border-color: var(--primary-color-border);
    color: var(--primary-color) !important;
}

a.edit-delete-btn:hover,
button.edit-delete-btn:hover {
    background: var(--primary-alpha-18);
    border-color: var(--lp-glow);
    color: var(--primary-color) !important;
    box-shadow: 0 2px 8px var(--primary-alpha-18);
    transform: translateY(-1px);
}

/* Delete — <form> .edit-delete-btn */
form .edit-delete-btn {
    background: var(--red-color-bg);
    border-color: var(--red-color-border);
    color: var(--red-color) !important;
}

form .edit-delete-btn:hover {
    background: var(--red-color-border);
    border-color: var(--red-color-border);
    color: var(--red-color) !important;
    box-shadow: 0 2px 8px var(--red-color-border);
    transform: translateY(-1px);
}

/* Accept — <form> .edit-delete-btn.accept-btn */
form .edit-delete-btn.accept-btn {
    background: var(--green-color-bg);
    border-color: var(--green-color-border);
    color: var(--green-color) !important;
}

form .edit-delete-btn.accept-btn:hover {
    background: var(--green-color-border);
    border-color: var(--green-color-border);
    color: var(--green-color) !important;
    box-shadow: 0 2px 8px var(--green-color-border);
    transform: translateY(-1px);
}

/* Side Menu Partition */
.partition {
    width: 100%;
    border-bottom: none;
    line-height: 1;
    margin: 16px 0 4px;
    padding: 0 12px;
}

.partition span {
    background: transparent;
    margin: 0;
    padding: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0.7;
}

/* Demo Mode Box */
.demo-mode-box {
    background: var(--primary-light);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    padding: 8px 14px;
    letter-spacing: 0.02em;
}

.demo-mode-box:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

/* Installation */
.list-group-item {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    background-color: transparent;
}

.dropdown-menu,
.card {
    background-color: var(--white-color);
    border: none;
}

.form-control {
    background-color: var(--white-color);
    color: var(--title-color);
}

.install-bg-img {
    text-align: center;
}

.install-bg-img img {
    max-width: 100%;
    height: auto;
}

.install-title {
    font-size: 42px;
    font-weight: bold;
}

.install_sub_title {
    font-size: 24px;
}

.install_text {
    font-size: 20px;
    margin-bottom: 30px;
    margin-top: 30px;
}

.install-list li {
    font-size: 20px;
    margin-bottom: 10px;
}

.install-list li:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
}

.install-card {
    margin-left: 100px;
    margin-right: 100px;
}

@media (max-width: 1024px) {
    .install-bg-img {
        display: none !important;
    }
}

.install-footer {
    padding: 20px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--white-color);
    background-color: var(--primary-color);
}

.install-footer a {
    color: var(--white-color);
    margin: 0 15px;
    text-decoration: none;
    font-size: 18px;
}

.install-footer a:hover {
    color: var(--accent-color);
}

.install-social-icons {
    margin-top: 10px;
}

.install-social-icons a {
    color: var(--white-color);
    font-size: 20px;
    text-decoration: none;
}

.install-social-icons a:hover {
    color: var(--accent-color);
}

.install-footer .content {
    position: relative;
    z-index: 1;
}

/* btn Install */
.btn-install {
    background: var(--primary-color);
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    color: var(--white-color);
    border: 1px solid transparent;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    padding: 10px 40px;
}

.btn-install:hover {
    color: var(--primary-color);
    background: transparent;
    border-color: var(--primary-color);
}

/* btn Install Cancel */
.btn-install-cancel {
    background: var(--black-color);
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    color: var(--white-color);
    border: 1px solid transparent;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    padding: 10px 40px;
}

.btn-install-cancel:hover {
    color: var(--black-color);
    background: transparent;
    border-color: var(--black-color);
}

/* Color Picker */
.colorpicker-component {
    display: flex;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    overflow: hidden;
}

.colorpicker {
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.hexcolor {
    border: none;
    padding: 10px;
    width: 100px;
    outline: none;
}

/* =============================================
   DASHBOARD — ApexCharts Theme Integration
   ============================================= */

/* Axis text */
.apexcharts-xaxis-label,
.apexcharts-yaxis-label {
    fill: var(--light-gray) !important;
    font-size: 11px !important;
    font-family: inherit !important;
}

/* Grid lines */
.apexcharts-gridline {
    stroke: var(--assest-color) !important;
    stroke-dasharray: 4 !important;
}

/* No border on plot area */
.apexcharts-plot-series {
    border: none;
}

/* Tooltip */
.apexcharts-tooltip {
    background: var(--white-color) !important;
    border: 1px solid var(--assest-color) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 16px var(--header-shadow) !important;
    color: var(--body-color) !important;
    font-family: inherit !important;
}

.apexcharts-tooltip-title {
    background: var(--assest-color) !important;
    border-bottom: 1px solid var(--assest-color) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--body-color) !important;
    padding: 6px 12px !important;
}

.apexcharts-tooltip-series-group {
    padding: 6px 12px !important;
}

.apexcharts-tooltip-text-y-value {
    font-weight: 700 !important;
    color: var(--primary-color) !important;
}

/* Legend text */
.apexcharts-legend-text {
    color: var(--body-color) !important;
    font-size: 12px !important;
    font-family: inherit !important;
}

/* Toolbar icons */
.apexcharts-menu-icon,
.apexcharts-reset-icon,
.apexcharts-zoom-icon {
    color: var(--light-gray) !important;
}

/* =====================================================
   GLOBAL MODULE UI — Toolbar, Table, Cards, Forms
   ===================================================== */

/* --- Page Header Bar (breadcrumb + CTA row) --- */

.ph {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.breadcrumb {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    gap: 0;
    margin: 0;
    padding: 7px 14px;
    background: var(--white-color);
    border: 1px solid var(--assest-color);
    border-radius: 50px;
    -webkit-box-shadow: 0 1px 6px var(--dark-color);
    box-shadow: 0 1px 6px var(--dark-color);
    font-size: 13px;
}
.breadcrumb-item + .breadcrumb-item {
    padding-left: 0;
}
.breadcrumb-item {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.breadcrumb-item a {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 13px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0;
    border-radius: 0;
    background: none;
    text-decoration: none;
    -webkit-transition: color 0.15s ease;
    transition: color 0.15s ease;
    line-height: 1.4;
}
.breadcrumb-item a:hover {
    color: var(--primary-color);
    background: none;
    text-decoration: none;
}
.breadcrumb-item.active {
    color: var(--black-color);
    font-weight: 600;
    font-size: 13px;
    padding: 0;
    background: none;
    border-radius: 0;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    line-height: 1.4;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: "\203A";
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 400;
    float: none;
    padding: 0;
    margin: 0 6px;
    line-height: 1.4;
}

.action-bar {
    background: var(--white-color);
    border: 1px solid var(--assest-color);
    border-radius: 12px;
    -webkit-box-shadow: 0 1px 4px var(--dark-color);
    box-shadow: 0 1px 4px var(--dark-color);
    overflow: hidden;
    margin-bottom: 16px;
    padding: 14px 16px;
}
.table-card .action-bar {
    background: transparent;
    border: none;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    overflow: visible;
    margin-bottom: 0;
    padding: 0 0 12px 0;
}

.action-row-top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 12px;
}

.export-note {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--black-50);
}

.export-note > i {
    font-size: 15px;
    color: var(--primary-color);
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.export-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
}

.exp-btn {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 7px;
    cursor: pointer;
    -webkit-transition: all 0.15s;
    transition: all 0.15s;
    white-space: nowrap;
    line-height: 1.4;
    background: var(--white-color);
    color: var(--black-50);
    border: 1px solid var(--assest-color);
}

.exp-btn:focus {
    outline: none;
}

.exp-btn:hover {
    background: var(--primary-light);
    border-color: var(--assest-color);
    color: var(--black-color);
}

.exp-btn > i {
    font-size: 14px;
}

.search-filter-bar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 12px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.searchbox {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 9px;
    padding: 0px 14px;
    height: 44px;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 200px;
    -webkit-transition:
        border-color 0.18s,
        background 0.18s,
        -webkit-box-shadow 0.18s;
    transition:
        border-color 0.18s,
        background 0.18s,
        box-shadow 0.18s;
}

.searchbox:focus-within {
    border-color: var(--primary-color);
    background: var(--white-color);
    -webkit-box-shadow: 0 0 0 3px var(--primary-light);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.searchbox-icon {
    color: var(--text-muted);
    font-size: 15px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.searchbox .form-control {
    border: none;
    background: transparent;
    padding: 7px 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-size: 14px;
    color: var(--black-color);
    height: auto !important;
    line-height: 1.5;
    border-radius: 0;
}

.filter-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    background: transparent;
    border-radius: 10px;
    min-width: 180px;
    max-width: 320px;
    height: 44px;
    overflow: hidden;
    border: 1.5px solid var(--assest-color);
    -webkit-transition:
        border-color 0.15s,
        -webkit-box-shadow 0.15s;
    transition:
        border-color 0.15s,
        box-shadow 0.15s;
}

.filter-item:focus-within,
.filter-item.filter-item-focus {
    border-color: var(--primary-color);
    -webkit-box-shadow: 0 0 0 3px var(--primary-light);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.sort-label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0 8px 0 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    border-right: 1px solid var(--assest-color);
    height: 100%;
    letter-spacing: 0.04em;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.filter-item .form-control {
    border: none;
    background: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-size: 14px;
    color: var(--black-color);
    height: 100%;
    padding: 0 12px;
    line-height: 1.5;
    cursor: pointer;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* ── Select2 ── */
.select2-container .select2-selection--single {
    border: 1px solid var(--border-color);
    background: var(--white-color);
    border-radius: 8px !important;
    padding: 8px;
    font-size: 14px;
    height: auto !important;
}

.form-group .select2-container .select2-selection--single,
.form-group .select2-container .select2-selection--multiple {
    border: 1px solid var(--border-color) !important;
}
.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    position: absolute;
    top: 50% !important;
    -webkit-transform: translateY(-50%) !important;
    transform: translateY(-50%) !important;
    bottom: 0;
    right: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 36px !important;
    height: auto;
    color: var(--light-gray);
    font-size: 14px;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow
    b {
    display: none !important;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f0dd";
    position: relative;
    margin-bottom: 3px;
    -webkit-transition:
        transform 0.2s ease,
        top 0.2s ease;
    transition:
        transform 0.2s ease,
        top 0.2s ease;
}

.select2-container--default.select2-container--open
    .select2-selection--single
    .select2-selection__arrow::before {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    top: 3px;
}

.select2-container .select2-selection--multiple {
    border: 1px solid var(--border-color);
    background: var(--white-color);
    border-radius: 10px !important;
    padding: 8px;
    font-size: 14px;
    height: auto !important;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus
    .select2-selection--multiple,
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--open
    .select2-selection--multiple {
    border-color: var(--border-color);
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;
}

/* --- Select2 inside filter-item --- */
.filter-item .select2-container {
    width: 100% !important;
    height: 100%;
}

.filter-item .select2-container .select2-selection--single {
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
    padding: 5px 8px !important;
    height: 100% !important;
    background: transparent;
    border: none;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
}

.filter-item
    .select2-container
    .select2-selection--single
    .select2-selection__rendered {
    padding: 0 !important;
    line-height: 1 !important;
}

.filter-item .select2-container .select2-selection--multiple {
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}

.filter-item
    .select2-container--default.select2-container--focus
    .select2-selection--single,
.filter-item
    .select2-container--default.select2-container--focus
    .select2-selection--multiple,
.filter-item
    .select2-container--default.select2-container--open
    .select2-selection--single,
.filter-item
    .select2-container--default.select2-container--open
    .select2-selection--multiple {
    border: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.table-card {
    background: var(--white-color);
    border-radius: 14px;
    border: 1px solid var(--border-color);
    box-shadow:
        0 1px 3px var(--dark-color),
        0 4px 16px var(--black-alpha-06);
    overflow: hidden;
    padding: 16px 16px;
}

.table-card .table-responsive {
    border-radius: 0;
}

.table-card table {
    border: 1px solid var(--border-color) !important;
}

/* ── Thead ── */
.table-card .table thead th {
    background: linear-gradient(
        180deg,
        var(--pms-surface-alt) 0%,
        var(--pms-surface-subtle) 100%
    );
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.65px;
    color: var(--text-muted);
    padding: 13px 18px;
    border-bottom: 2px solid var(--border-color) !important;
    border-top: none !important;
    white-space: nowrap;
    vertical-align: middle;
}

.table-card .table thead tr {
    background: transparent;
}

/* ── Tbody rows ── */
.table-card .table td {
    padding: 13px 18px;
    vertical-align: middle;
    border-bottom: 1px solid var(--border-color) !important;
    border-top: none !important;
    font-size: 13.5px;
    color: var(--body-color);
    transition: background 0.12s ease;
}

.table-card tbody tr:last-child td {
    border-bottom: none !important;
}

/* ── Row hover — left accent bar ── */
.table-card tbody tr {
    position: relative;
    transition: background 0.14s ease;
}

.table-card tbody tr:hover td {
    background: var(--primary-light) !important;
}

/* ── Striping — very subtle, Postiva-style ── */
.table-card .table-striped tbody tr:nth-of-type(odd) td {
    background-color: transparent;
}

.table-card .table-striped tbody tr:nth-of-type(even) td {
    background-color: var(--gray-100);
}

.table-card .table-striped tbody tr:hover td {
    background-color: var(--primary-light) !important;
}

/* ── Action column ── */
.table-card .table td:last-child,
.table-card .table th:last-child {
    text-align: center;
    white-space: nowrap;
}

/* ── DataTables wrapper ── */
.table-card .dataTables_wrapper {
    padding: 0;
}

/* ── DataTables footer bar (info + length + pagination) ── */
.table-card .dataTables_wrapper > .row {
    margin: 0;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 0;
}

.table-card .dataTables_info {
    font-size: 12px;
    color: var(--text-muted);
    padding: 0;
    line-height: 1.5;
}

.table-card .dataTables_length label {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.table-card .dataTables_length select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--white-color);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 10 6'%3E%3Cpath fill='%236b7280' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 4px 24px 4px 8px;
    font-size: 12px;
    color: var(--black-color);
    height: auto;
    margin: 0;
    cursor: pointer;
    min-width: 56px;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.table-card .dataTables_length select.form-control:focus {
    border-color: var(--primary-color);
    -webkit-box-shadow: 0 0 0 2px var(--primary-light);
    box-shadow: 0 0 0 2px var(--primary-light);
    outline: none;
}

/* ── Pagination ── */
.table-card .dataTables_paginate {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.table-card .pagination,
.pagination {
    margin: 0;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 5px;
    background: transparent;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.table-card .pagination .page-item,
.pagination .page-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.table-card .pagination .page-item .page-link,
.pagination .page-item .page-link {
    border: 1px solid var(--border-color);
    border-radius: 50% !important;
    font-size: 12px;
    color: var(--body-color);
    background: var(--white-color);
    font-weight: 500;
    -webkit-transition: all 0.15s;
    transition: all 0.15s;
    height: 30px;
    width: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    box-shadow: none;
}

.table-card .pagination .page-item.active .page-link,
.pagination .page-item.active .page-link {
    background: var(--primary-color) !important;
    border-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 2px 8px var(--lp-shadow);
}

.table-card .pagination .page-item .page-link:hover,
.pagination .page-item .page-link:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.table-card .pagination .page-item.active .page-link:hover,
.pagination .page-item.active .page-link:hover {
    background: var(--primary-color) !important;
    color: var(--white-color);
}

.table-card .pagination .page-item.disabled .page-link,
.pagination .page-item.disabled .page-link {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* ── Table image thumbnails ── */

.table-card .table img.img-thumbnail,
.table-card .table img.size-55 {
    border-radius: 10px;
    border: 1px solid var(--border-color);
    padding: 2px;
    background: var(--white-color);
    object-fit: cover;
}

/* START: IMAGE UPLOAD COMPONENT */
.image-upload-wrapper {
    max-width: 220px;
}

.image-upload-wrapper.small {
    max-width: 100px;
    display: flex;
    align-items: center;
}

.image-upload-wrapper input[type="file"] {
    display: none;
}

.drop-area {
    position: relative;
    width: 85%;
    height: 170px;
    border: 2px dashed var(--assest-color);
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
    transition: 0.25s;
}

.image-upload-wrapper.small .drop-area {
    width: 100px;
    height: 100px;
    border-radius: 10px;
}

.drop-area img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    opacity: 0;
    transition: 0.3s;
}

.drop-prompt,
.drop-change-hint {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.drop-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 6px;
    font-size: 20px;
    margin-bottom: 8px;
    transition: 0.25s;
}

.image-upload-wrapper.small .drop-icon {
    width: 30px;
    height: 30px;
}

.drop-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 !important;
}

.drop-change-hint {
    bottom: 0;
    top: auto;
    height: auto;
    padding: 8px;
    flex-direction: row;
    gap: 6px;
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    transition: 0.25s;
}

.image-upload-wrapper.small .drop-change-hint {
    font-size: 9px;
    padding: 4px;
}

.drop-area:hover {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

.drop-area:hover .drop-icon {
    background: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-2px);
}

.drop-area.dragover {
    border-color: var(--primary-color);
    background: var(--primary-light);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.image-upload-wrapper.has-preview img {
    opacity: 1;
}

.image-upload-wrapper.has-preview .drop-prompt {
    opacity: 0;
    pointer-events: none;
}

.image-upload-wrapper.has-preview .drop-area:hover .drop-change-hint {
    opacity: 1;
}

/* END: IMAGE UPLOAD COMPONENT */

/* START: GALLERY UPLOAD COMPONENT */
.gallery-uploader-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
}

.gallery-uploader-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.gallery-uploader-title i {
    color: var(--primary-color);
    font-size: 18px;
}

.gallery-uploader-count {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 13px;
}

.gallery-drop-area {
    border: 1px dashed var(--gray-300);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    color: var(--gray-500);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--gray-100);
}

.gallery-drop-icon {
    display: block;
    font-size: 26px;
    color: var(--gray-400);
    margin-bottom: 10px;
}

.gallery-drop-area:hover,
.gallery-drop-area.dragover {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

.gallery-drop-area:hover .gallery-drop-icon,
.gallery-drop-area.dragover .gallery-drop-icon {
    color: var(--primary-color);
}

.gallery-browse-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
}

.gallery-thumb-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 16px;
}

.gallery-thumb {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px var(--black-alpha-16);
    animation: galleryThumbIn 0.28s ease;
}

.gallery-thumb.is-removing {
    animation: galleryThumbOut 0.2s ease forwards;
    pointer-events: none;
}

@keyframes galleryThumbIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes galleryThumbOut {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0.85);
    }
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-thumb-status {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 6px 8px;
    background: linear-gradient(180deg, var(--black-50) 0%, transparent 100%);
    color: var(--white-color);
    font-size: 11px;
}

.gallery-thumb-status .status-text {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gallery-thumb-status .status-text i {
    color: var(--green-color);
}

.gallery-thumb-remove {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--white-alpha-3);
    color: var(--body-color);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.gallery-thumb-remove i {
    font-size: 10px;
}

.gallery-thumb-remove:hover {
    background: var(--white-color);
    color: var(--primary-color);
}

/* END: GALLERY UPLOAD COMPONENT */

/* ============================================================
   TOGGLE — Enhanced Premium Switch
   ============================================================ */
.switch {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 7px;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.switch label {
    position: relative;
    width: 38px;
    height: 21px;
    border-radius: 21px;
    background: var(--red-color);
    cursor: pointer;
    margin: 0;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-box-shadow:
        inset 0 1px 3px var(--black-alpha-22),
        0 1px 2px var(--black-alpha-08);
    box-shadow:
        inset 0 1px 3px var(--black-alpha-22),
        0 1px 2px var(--black-alpha-08);
    -webkit-transition:
        background 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    transition:
        background 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.switch:hover label {
    background: var(--red-color);
}

.switch label:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 3px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--white-color);
    -webkit-box-shadow:
        0 1px 4px var(--black-alpha-26),
        0 0 0 0.5px var(--dark-color);
    box-shadow:
        0 1px 4px var(--black-alpha-26),
        0 0 0 0.5px var(--dark-color);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition:
        -webkit-transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        width 0.12s ease;
    transition:
        transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        width 0.12s ease;
    will-change: transform;
}

.switch label:active:after {
    width: 18px;
}

.switch input[type="checkbox"]:checked + label {
    background: var(--green-color);
    -webkit-box-shadow:
        inset 0 1px 3px var(--black-alpha-16),
        0 0 0 3px var(--green-alpha-12);
    box-shadow:
        inset 0 1px 3px var(--black-alpha-16),
        0 0 0 3px var(--green-alpha-12);
}

.switch:hover input[type="checkbox"]:checked + label {
    background: var(--green-color);
}

.switch input[type="checkbox"]:checked + label:after {
    -webkit-transform: translateY(-50%) translateX(17px);
    transform: translateY(-50%) translateX(17px);
}

.status-checkbox {
    display: none;
}

.switch input:not(:checked) ~ .toggle-text::after {
    content: attr(data-off);
    color: var(--red-color);
}

.switch input:checked ~ .toggle-text::after {
    content: attr(data-on);
    color: var(--green-color);
}

.toggle-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.25px;
    line-height: 1;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 576px) {
}

/* --- Responsive: Medium screens (tablet landscape) --- */
@media (max-width: 1100px) {
}

/* --- Responsive: Tablet --- */
@media (max-width: 768px) {
    .action-row-top,
    .search-filter-bar {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .export-group,
    .searchbox,
    .filter-group,
    .filter-item {
        width: 100%;
    }

    .dataTables_wrapper > .row {
        padding: 12px 16px;
    }
}

@media (min-width: 991px) and (max-width: 1199px) {
    .filter-item {
        width: calc(50% - 4px) !important;
    }
}

/* --- Responsive: Mobile --- */
@media (max-width: 576px) {
    .filter-item {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
    }

    .exp-btn span {
        display: none;
    }

    .table-card .pagination,
    .table-card .dataTables_paginate {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   Sortable list items — drag-and-drop reorder rows
   -------------------------------------------------------------------------- */

/* Row item replacing inline style="background-color…" */
.sort-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 12px;
    background: var(--bg-light);
    border: 1px solid var(--assest-color);
    border-radius: 8px;
    padding: 10px 16px;
    cursor: -webkit-grab;
    cursor: grab;
    -webkit-transition:
        -webkit-box-shadow 0.15s ease,
        background 0.15s ease;
    transition:
        box-shadow 0.15s ease,
        background 0.15s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.sort-item:hover {
    background: var(--white-color);
    -webkit-box-shadow: 0 4px 12px var(--dark-color);
    box-shadow: 0 4px 12px var(--dark-color);
}

.sort-item:active {
    cursor: -webkit-grabbing;
    cursor: grabbing;
    -webkit-box-shadow: 0 4px 12px var(--dark-color);
    box-shadow: 0 4px 12px var(--dark-color);
}

/* Grip icon — visual drag affordance */
.sort-handle {
    color: var(--text-muted);
    font-size: 13px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-transition: color 0.15s ease;
    transition: color 0.15s ease;
}

.sort-item:hover .sort-handle {
    color: var(--primary-color);
}

/* ==========================================================================
   APP SETTINGS — Premium SaaS Settings Page Layout
   ========================================================================== */

/* Two-column page wrapper: sidebar nav + content area */
.settings-page-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 24px;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

/* ── Left Sidebar Navigation ─────────────────────────────────────────────── */

.settings-sidenav {
    width: 230px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    position: -webkit-sticky;
    position: sticky;
    top: 84px;
}

.settings-sidenav-inner {
    background: var(--white-color);
    border: 1px solid var(--assest-color);
    border-radius: 14px;
    padding: 16px 10px;
    -webkit-box-shadow: 0 1px 6px var(--dark-color);
    box-shadow: 0 1px 6px var(--dark-color);
    max-height: calc(100vh - 104px);
    overflow-y: auto;
}

.settings-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.settings-nav-header {
    display: block;
    padding: 2px 10px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted) !important;
}

.settings-nav-item {
    width: 100%;
}

.settings-nav-link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--body-color);
    cursor: pointer;
    margin-bottom: 2px;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.settings-nav-link i {
    font-size: 13px;
    width: 16px;
    text-align: center;
    color: var(--text-muted);
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-transition: color 0.2s ease;
    transition: color 0.2s ease;
}

.settings-nav-link:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

.settings-nav-link:hover i {
    color: var(--primary-color);
}

.settings-nav-link.active {
    background: var(--primary-color);
    color: var(--white-color);
    -webkit-box-shadow: 0 3px 10px var(--primary-alpha-1);
    box-shadow: 0 3px 10px var(--primary-alpha-1);
}

.settings-nav-link.active i {
    color: var(--white-color);
}

/* ── Main Content Area ───────────────────────────────────────────────────── */

.settings-content {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 0;
}

/* ── Settings Section (grouped block with header) ───────────────────────── */

.settings-section {
    margin-bottom: 40px;
}

/* ── Panel (white card container inside a section) ───────────────────────── */

/* Footer row inside a panel — right-aligned save button */
.settings-panel-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding-top: 16px;
    margin-top: 8px;
}

/* ── Field group sub-section titles ─────────────────────────────────────── */

.settings-field-group {
    margin-bottom: 24px;
}

.settings-field-group:last-child {
    margin-bottom: 0;
}

.settings-field-group-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--light-gray);
    margin-bottom: 14px;
}

/* Hint text beneath an input */
.settings-field-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin: 4px 0 8px;
    line-height: 1.45;
}

/* Inline text link (settings context) */
.settings-link {
    color: var(--primary-color);
    font-weight: 500;
}

.settings-link:hover {
    text-decoration: underline !important;
}

.settings-copy-btn {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 42px;
    height: 46px;
    border: 1px solid var(--assest-color);
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    background: var(--white-color);
    color: var(--body-color);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: pointer;
    -webkit-transition:
        background 0.16s,
        border-color 0.16s,
        color 0.16s;
    transition:
        background 0.16s,
        border-color 0.16s,
        color 0.16s;
}

.settings-copy-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ── Stacked logo upload group ───────────────────────────────────────────── */

.settings-logo-stack {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 16px;
}

.custom-border-card .card-header span {
    color: var(--white-color);
}
/* ==========================================================================
   APP SETTINGS — Responsive Overrides
   ========================================================================== */

@media (max-width: 991px) {
    /* Stack to single column on tablets/mobile */
    .settings-page-wrapper {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .settings-sidenav {
        width: 100%;
        position: static;
    }

    /* Horizontal scrolling nav strip on small screens */
    .settings-sidenav-inner {
        padding: 8px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        gap: 4px;
    }

    .settings-nav-list {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        gap: 4px;
    }

    .settings-nav-item {
        margin-bottom: 0;
    }

    .settings-nav-link {
        padding: 7px 12px;
        font-size: 13px;
    }
}

/* new content upload design  */

.repeater-item {
    background-color: var(--white-color);
    border: 1px solid var(--assest-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--dark-color);
    transition: box-shadow 0.2s ease;
    margin-bottom: 12px;
}

.repeater-item:hover {
    box-shadow: 0 4px 16px var(--black-alpha-08);
}

.repeater-item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background-color: var(--assest-color);
    border-bottom: 1px solid var(--assest-color);
}

.repeater-item-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.repeater-item-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--body-color);
    flex: 1;
}

.repeater-item-body {
    padding: 16px;
}

.repeater-item-body .form-group {
    margin-bottom: 0;
}

.repeater-add-row {
    display: flex;
    align-items: center;
    padding-top: 6px;
}

.btn-repeater-add {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    background: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition:
        opacity 0.2s ease,
        transform 0.1s ease;
    box-shadow: 0 3px 10px var(--primary-light);
    font-family: var(--font);
}

.btn-repeater-add:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    color: var(--white-color);
}

.btn-repeater-add:active {
    transform: translateY(0);
    opacity: 1;
}

.btn-repeater-add:focus,
.btn-repeater-remove:focus {
    outline: none;
    box-shadow: none;
}

.btn-repeater-add i {
    font-size: 11px;
}

.btn-repeater-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1.5px solid var(--red-color);
    background: transparent;
    color: var(--red-color);
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition:
        background 0.2s ease,
        color 0.2s ease;
    margin-left: auto;
    flex-shrink: 0;
    padding: 0;
}

.btn-repeater-remove:hover {
    background: var(--red-color);
    color: var(--white-color);
}

@media (max-width: 767px) {
    .repeater-item-body .form-row > [class*="col-"] {
        margin-bottom: 12px;
    }

    .repeater-item-body .form-row > [class*="col-"]:last-child {
        margin-bottom: 0;
    }
}

/* ===== Video Card UI End ===== */

/* ==========================================================================
   Premium Auth Experience — Admin & Property Login
   Shared design for both panels, built on this project's --primary-color.
   ========================================================================== */

/* ---- Page canvas ---- */
.auth-page {
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--white-color);
    --primary-light: color-mix(
        in srgb,
        var(--primary-color) 12%,
        var(--white-color)
    );
}

/* ---- Brand showcase (left column, desktop only) ---- */
.auth-showcase {
    position: relative;
    flex: 2 1 0;
    min-width: 0;
    overflow: hidden;
    background: var(--body-color);
    background: linear-gradient(
        160deg,
        var(--body-color) 0%,
        var(--black-color) 100%
    );
    color: var(--white-color);
}

/* Warm brand washes layered above the gradient base */
.auth-showcase-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(205deg, transparent 35%, var(--primary-color) 130%),
        linear-gradient(38deg, transparent 60%, var(--primary-light) 170%);
    opacity: 0.24;
}

/* Soft floating brand glows */
.auth-orb {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-color);
    filter: blur(100px);
    opacity: 0.45;
    pointer-events: none;
}

.auth-orb-1 {
    width: 480px;
    height: 480px;
    top: -160px;
    right: -120px;
    animation: auth-float 12s ease-in-out infinite;
}

.auth-orb-2 {
    width: 400px;
    height: 400px;
    bottom: -160px;
    left: -130px;
    opacity: 0.3;
    animation: auth-float 15s ease-in-out infinite reverse;
}

/* Thin geometric rings for depth */
.auth-ring {
    position: absolute;
    border: 1px solid var(--light-gray);
    border-radius: 50%;
    opacity: 0.22;
    pointer-events: none;
}

.auth-ring-1 {
    width: 560px;
    height: 560px;
    top: -190px;
    right: -160px;
}

.auth-ring-2 {
    width: 380px;
    height: 380px;
    bottom: -130px;
    left: -100px;
    opacity: 0.16;
}

.auth-showcase-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    padding: clamp(36px, 4.5vw, 64px);
}

/* ---- Brand row ---- */
.auth-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    animation: auth-rise 0.45s ease-out both;
}

.auth-brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 14px;
    font-size: 19px;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--primary-color) 74%, var(--white-color)) 0%,
        var(--primary-color) 52%,
        color-mix(in srgb, var(--primary-color) 72%, var(--black-color)) 100%
    );
    box-shadow: 0 12px 26px var(--dark-color);
}
.auth-brand-mark img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.auth-brand-name {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--white-color);
}

/* ---- Hero copy ---- */
.auth-hero {
    max-width: 640px;
    animation: auth-rise 0.5s ease-out 0.08s both;
}

.auth-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid var(--black-50);
    border-color: color-mix(in srgb, var(--white-color) 16%, transparent);
    background: var(--black-50);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-light);
}

.auth-eyebrow-dot {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 0 3px
        color-mix(in srgb, var(--primary-color) 35%, transparent);
    animation: auth-pulse 2.4s ease-in-out infinite;
}

.auth-headline {
    margin: 26px 0 16px;
    font-size: clamp(32px, 3.4vw, 48px);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -0.02em;
    color: var(--white-color);
    background: linear-gradient(
        115deg,
        var(--white-color) 55%,
        var(--primary-light) 85%,
        var(--primary-color) 110%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-subline {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    max-width: 56ch;
    font-size: 15px;
    line-height: 1.75;
    color: var(--primary-light);
    opacity: 0.82;
}

/* ---- Feature highlights ---- */
.auth-feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-top: 44px;
}

.auth-feature-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--black-50);
    border-color: color-mix(in srgb, var(--white-color) 15%, transparent);
    background: var(--black-50);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.auth-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 12px;
    font-size: 15px;
    color: var(--primary-light);
    background: var(--black-50);
    background: color-mix(in srgb, var(--primary-color) 30%, transparent);
}

.auth-feature-title {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white-color);
}

.auth-feature-card p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--primary-light);
    opacity: 0.72;
}

/* ---- Trust points strip ---- */
.auth-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 30px;
    margin: 0;
    padding: 26px 0 0;
    list-style: none;
    border-top: 1px solid var(--black-50);
    border-top-color: color-mix(in srgb, var(--white-color) 14%, transparent);
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-light);
    animation: auth-rise 0.5s ease-out 0.16s both;
}

.auth-points li {
    display: flex;
    align-items: center;
    gap: 9px;
    opacity: 0.9;
}

.auth-points li i {
    font-size: 13px;
    color: var(--primary-color);
}

/* ---- Sign-in panel (right column) ---- */
.auth-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 0.8 1 0;
    min-width: 0;
    padding: 40px clamp(32px, 5.5vw, 100px) 28px;
    background: var(--white-color);
    overflow: hidden;
}

.auth-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    margin: auto;
    animation: auth-rise 0.45s ease-out both;
}

.auth-brand-mobile {
    justify-content: center;
    margin-bottom: 34px;
}

.auth-brand-mobile .auth-brand-name {
    color: var(--body-color);
}

.auth-badge {
    display: flex;
    width: -moz-fit-content;
    width: fit-content;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    margin: 0 auto 18px;
    border-radius: 100px;
    background: var(--primary-light);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.auth-badge i {
    font-size: 11px;
}

.auth-title {
    margin: 0 0 10px;
    font-size: clamp(26px, 2.2vw, 30px);
    font-weight: 700;
    letter-spacing: -0.015em;
    text-align: center;
    color: var(--body-color);
}

.auth-subtitle {
    margin: 0 0 36px;
    font-size: 14.5px;
    line-height: 1.6;
    text-align: center;
    color: var(--text-muted);
}

/* ---- Form fields ---- */
.auth-card .auth-field {
    margin-bottom: 22px;
}

.auth-card .auth-field label {
    display: block;
    margin-bottom: 9px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--body-color);
}

.auth-input-group {
    position: relative;
}

.auth-input-icon {
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    font-size: 14px;
    color: var(--light-gray);
    pointer-events: none;
    transition: color 0.2s ease;
}

.auth-input-group:focus-within .auth-input-icon {
    color: var(--primary-color);
}

.auth-card .form-control {
    padding: 13px 18px 13px 46px;
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    background: var(--gray-100);
    font-size: 14.5px;
    color: var(--body-color);
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.auth-card .form-control.auth-has-toggle {
    padding-right: 48px;
}

.auth-card .form-control::-webkit-input-placeholder {
    color: var(--light-gray);
}

.auth-card .form-control::placeholder {
    color: var(--light-gray);
}

.auth-card .form-control:focus {
    border-color: var(--primary-color);
    background: var(--white-color);
    box-shadow: 0 0 0 4px var(--primary-light);
}

/* Keep browser-autofilled inputs on theme */
.auth-card input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px var(--gray-100) inset;
    -webkit-text-fill-color: var(--body-color);
    border-radius: 12px;
}

.auth-card input:-webkit-autofill:focus {
    -webkit-box-shadow:
        0 0 0 4px var(--primary-light),
        0 0 0 1000px var(--white-color) inset;
}

/* Show / hide password control */
.auth-input-toggle {
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--light-gray);
    font-size: 14px;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.auth-input-toggle:hover,
.auth-input-toggle:focus-visible {
    color: var(--primary-color);
    background: var(--primary-light);
    outline: none;
}

/* ---- Submit button ---- */
.auth-card .auth-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    padding: 13px 20px;
    border: 0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--white-color);
    background: var(--primary-color);
    box-shadow: 0 14px 30px var(--dark-color);
    box-shadow: 0 14px 30px
        color-mix(in srgb, var(--primary-color) 32%, transparent);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.auth-card .auth-submit:hover:not(:disabled) {
    color: var(--white-color);
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 18px 36px
        color-mix(in srgb, var(--primary-color) 42%, transparent);
}

.auth-card .auth-submit:active:not(:disabled) {
    transform: translateY(0);
}

.auth-card .auth-submit:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px var(--primary-light);
}

.auth-card .auth-submit:disabled {
    opacity: 0.8;
    cursor: progress;
}

.auth-submit-arrow {
    font-size: 14px;
    transition: transform 0.2s ease;
}

.auth-card .auth-submit:hover:not(:disabled) .auth-submit-arrow {
    transform: translateX(4px);
}

/* ---- Demo notice + copyright ---- */
.auth-demo-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 26px;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--primary-light);
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--body-color);
}

.auth-demo-note i {
    margin-top: 3px;
    font-size: 14px;
    color: var(--primary-color);
}

.auth-copyright {
    position: relative;
    z-index: 1;
    margin: 36px 0 0;
    text-align: center;
    font-size: 12.5px;
    color: var(--text-muted);
}

/* ---- Motion ---- */
@keyframes auth-rise {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes auth-float {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -26px, 0);
    }
}

@keyframes auth-pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.35;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-page *,
    .auth-page *::before,
    .auth-page *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* ---- Auth screen responsive ---- */
@media (max-width: 1199px) {
    .auth-headline {
        font-size: clamp(30px, 3.2vw, 40px);
    }

    .auth-feature-grid {
        gap: 12px;
    }

    .auth-feature-card {
        padding: 15px;
        border-radius: 16px;
    }
}

/* Compact showcase for short desktop screens */
@media (min-width: 992px) and (max-height: 840px) {
    .auth-showcase-inner {
        gap: 26px;
        padding: 30px 44px;
    }

    .auth-headline {
        margin: 20px 0 12px;
        font-size: clamp(28px, 3vw, 38px);
    }

    .auth-subline {
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .auth-feature-grid {
        margin-top: 26px;
        gap: 12px;
    }

    .auth-feature-card {
        padding: 14px;
    }

    .auth-points {
        padding-top: 20px;
    }
}

@media (max-width: 991px) {
    .auth-panel {
        padding: 40px 28px 24px;
        flex: 1 1 0;
    }

    .auth-panel::before {
        width: 320px;
        height: 320px;
        top: -140px;
        right: -140px;
    }

    .auth-panel::after {
        width: 260px;
        height: 260px;
        bottom: -120px;
        left: -120px;
    }

    .auth-subtitle {
        margin-bottom: 30px;
    }
}

@media (max-width: 575px) {
    .auth-panel {
        padding: 32px 22px 20px;
    }

    .auth-brand-mobile {
        display: flex;
        justify-content: center;
        margin-bottom: 30px;
    }

    .auth-brand-mobile .auth-brand-mark {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        font-size: 17px;
    }

    .auth-brand-mobile .auth-brand-name {
        font-size: 19px;
    }

    /* 16px stops iOS Safari from zooming focused inputs */
    .auth-card .form-control {
        font-size: 16px;
    }

    .auth-card .auth-submit {
        margin-top: 26px;
    }

    .auth-copyright {
        margin-top: 30px;
    }
}

/* ==========================================================================
   System Settings — Premium SaaS Card Design (2 cards per row)
   Reference: dtcameo design system, adapted to dttrends CSS variables
   ========================================================================== */

/* Equal-height columns */
.sys-setting-grid > [class*="col-"] {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

/* Card shell */
.sys-setting-card {
    background: var(--white-color);
    border: 1px solid var(--black-alpha-08);
    border-radius: 20px;
    -webkit-box-shadow:
        0 2px 8px var(--black-alpha-06),
        0 1px 3px var(--dark-color);
    box-shadow:
        0 2px 8px var(--black-alpha-06),
        0 1px 3px var(--dark-color);
    overflow: hidden;
    margin-bottom: 24px;
    -webkit-transition:
        -webkit-box-shadow 0.3s ease,
        -webkit-transform 0.3s ease;
    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.sys-setting-card:hover {
    -webkit-box-shadow:
        0 8px 24px var(--black-alpha-10),
        0 4px 8px var(--black-alpha-06);
    box-shadow:
        0 8px 24px var(--black-alpha-10),
        0 4px 8px var(--black-alpha-06);
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
}

/* Colored top accent stripe */
.sys-card-accent {
    height: 4px;
    width: 100%;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.sys-accent-primary {
    background: var(--primary-color);
}

.sys-accent-green {
    background: var(--green-color);
}

.sys-accent-danger {
    background: var(--red-color);
}

/* Card inner — flex column fills remaining height */
.sys-card-inner {
    padding: 28px 28px 24px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

/* Icon badge */
.sys-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.sys-icon-primary {
    background: var(--primary-light);
    color: var(--primary-color);
}

.sys-icon-green {
    background: var(--light-green);
    color: var(--green-color);
}

.sys-icon-red {
    background: var(--light-red);
    color: var(--red-color);
}

/* Text content — grows to push footer down */
.sys-card-content {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.sys-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--body-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.sys-card-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 0;
}

/* Footer — action button aligned right */
.sys-card-footer {
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid var(--black-alpha-07);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

/* Default (primary) action button */
.sys-action-btn {
    border-radius: 12px !important;
    padding: 10px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
    display: -webkit-inline-box !important;
    display: -ms-inline-flexbox !important;
    display: inline-flex !important;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 8px;
    -webkit-box-shadow:
        0 4px 12px var(--primary-alpha-1),
        0 2px 4px var(--dark-color);
    box-shadow:
        0 4px 12px var(--primary-alpha-1),
        0 2px 4px var(--dark-color);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.sys-action-btn:hover {
    -webkit-box-shadow:
        0 8px 20px var(--primary-alpha-1),
        0 4px 8px var(--dark-color);
    box-shadow:
        0 8px 20px var(--primary-alpha-1),
        0 4px 8px var(--dark-color);
}

/* Danger variant button */
.sys-btn-danger {
    background: var(--red-color);
    color: var(--white-color);
    border: 1.5px solid var(--red-color);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    letter-spacing: 0.01em;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    -webkit-box-shadow:
        0 4px 12px var(--light-red),
        0 2px 4px var(--dark-color);
    box-shadow:
        0 4px 12px var(--light-red),
        0 2px 4px var(--dark-color);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.sys-btn-danger:hover {
    background: var(--light-red);
    color: var(--red-color);
    border-color: var(--red-color);
    -webkit-box-shadow:
        0 8px 20px var(--light-red),
        0 4px 8px var(--dark-color);
    box-shadow:
        0 8px 20px var(--light-red),
        0 4px 8px var(--dark-color);
}

/* Responsive tweaks */
@media (max-width: 991px) {
    .sys-card-inner {
        padding: 22px 22px 20px;
    }
}

@media (max-width: 767px) {
    .sys-card-inner {
        padding: 18px 18px 16px;
    }

    .sys-card-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        border-radius: 13px;
        margin-bottom: 16px;
    }

    .sys-card-title {
        font-size: 15px;
    }

    .sys-card-desc {
        font-size: 13px;
    }
}

.swal2-cancel,
.swal2-confirm {
    min-width: 120px;
}
.swal2-cancel:active,
.swal2-confirm:active,
.swal2-cancel:focus,
.swal2-confirm:focus {
    outline: none;
}

.note-editor.note-frame .note-toolbar {
    border-radius: 3px 3px 0 0;
}

/* ==========================================================================
   Status Chips — read-only status indicators in admin/property tables
   (booking, laundry request, property request, restaurant order,
   property policy, service, transaction status columns)
   ========================================================================== */
.status-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
}

.status-chip-success {
    background: var(--light-green);
    color: var(--green-color);
}

.status-chip-warning {
    background: var(--light-warning);
    color: var(--warning-color);
}

.status-chip-danger {
    background: var(--light-red);
    color: var(--red-color);
}

.status-chip-info {
    background: var(--light-info);
    color: var(--info-color);
}

.status-chip-primary {
    background: var(--primary-light);
    color: var(--primary-color);
}

.status-chip-secondary {
    background: var(--gray-200);
    color: var(--gray-500);
}

/* ==========================================================================
   Pricing Rule — Days of Week Picker (chip-style multi-select)
   Used on Admin & Property Pricing Rule add/edit forms
   ========================================================================== */

/* Panel wrapper — groups the chip row inside a soft bordered surface */
.days-of-week-field {
    border-radius: 12px;
}

/* Chip row — wraps responsively on narrow screens */
.days-of-week-picker {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
}

/* Single day wrapper (checkbox + its chip label) */
.day-toggle {
    position: relative;
}

/* Native checkbox stays functional & focusable, just visually hidden */
.day-toggle-input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Chip surface — what the user actually sees and clicks */
.day-toggle-label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
    padding: 9px 16px;
    border: 1.5px solid var(--assest-color);
    border-radius: 100px;
    background: var(--white-color);
    color: var(--body-color);
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.day-toggle-label:hover {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

/* Outline checkmark bubble — filled in only once the chip is selected */
.day-toggle-check {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid var(--gray-400);
    font-size: 9px;
    color: transparent;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

/* Selected state — solid brand chip with a filled checkmark */
.day-toggle-input:checked ~ .day-toggle-label {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white-color);
    -webkit-box-shadow: 0 2px 6px var(--primary-alpha-1);
    box-shadow: 0 2px 6px var(--primary-alpha-1);
}

.day-toggle-input:checked ~ .day-toggle-label .day-toggle-check {
    border-color: var(--white-color);
    background: var(--white-color);
    color: var(--primary-color);
}

/* Keyboard focus ring for accessibility */
.day-toggle-input:focus ~ .day-toggle-label {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Responsive: tighten chip padding on small screens */
@media (max-width: 575px) {
    .days-of-week-field {
        padding: 14px;
    }

    .day-toggle-label {
        padding: 8px 14px;
        font-size: 13px;
    }
}

/* ==========================================================================
   Role Permissions Grid — Premium SaaS style module cards
   Used on Admin Role add/edit screens
   ========================================================================== */

/* Section wrapper — sits below the role name/description fields */
.permissions-panel {
    border-top: 1px solid var(--assest-color);
    margin-top: 8px;
    padding-top: 20px;
}

/* Heading + toolbar row */
.permissions-panel-head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 16px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.permissions-heading {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 240px;
    flex: 1 1 240px;
}

.permissions-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--body-color);
}

.permissions-subtitle {
    font-size: 12.5px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Right-hand toolbar: search + select-all + live counter */
.permissions-toolbar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 12px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

/* Select-all pill (label + switch) */
.permissions-select-all {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1.5px solid var(--assest-color);
    border-radius: 100px;
    background: var(--white-color);
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.permissions-select-all:hover {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

.permissions-select-all-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--body-color);
    white-space: nowrap;
}

/* Live "X/Y Selected" counter */
.permissions-count-badge {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 8px 14px;
    border-radius: 100px;
    background: var(--accent-light);
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

/* Equal-height module cards per row */
.permissions-grid > [class*="col-"] {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

/* Module card shell */
.permission-module-card {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    background: var(--white-color);
    border: 1px solid var(--assest-color);
    border-radius: 16px;
    overflow: hidden;
    -webkit-box-shadow: 0 2px 8px var(--black-alpha-06);
    box-shadow: 0 2px 8px var(--black-alpha-06);
    -webkit-transition:
        -webkit-box-shadow 0.25s ease,
        -webkit-transform 0.25s ease;
    transition:
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.permission-module-card:hover {
    -webkit-box-shadow: 0 8px 20px var(--black-alpha-10);
    box-shadow: 0 8px 20px var(--black-alpha-10);
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
}

/* Top accent stripe — turns green once the module is enabled */
.permission-module-accent {
    height: 3px;
    width: 100%;
    background: var(--gray-200);
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-transition: background 0.25s ease;
    transition: background 0.25s ease;
}

.permission-module-card.is-active .permission-module-accent {
    background: var(--green-color);
}

.permission-module-body {
    padding: 18px;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

/* Module title row: icon avatar + name + master switch */
.permission-module-head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--assest-color);
}

.permission-module-identity {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

/* Initials avatar — highlights in green once the module is enabled */
.permission-module-icon {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    background: var(--primary-light);
    color: var(--primary-color);
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

.permission-module-card.is-active .permission-module-icon {
    background: var(--green-alpha-12);
    color: var(--green-color);
}

.permission-module-name {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    color: var(--body-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Child action rows */
.permission-module-children {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.permission-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    -webkit-transition: opacity 0.2s ease;
    transition: opacity 0.2s ease;
}

.permission-row:not(:last-child) {
    border-bottom: 1px dashed var(--assest-color);
}

.permission-row-disabled {
    opacity: 0.4;
    pointer-events: none;
}

.permission-action-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--body-color);
}

/* Smaller switch scale for child action rows to keep visual hierarchy */
.permission-row .switch {
    -webkit-transform: scale(0.85);
    transform: scale(0.85);
    -webkit-transform-origin: right center;
    transform-origin: right center;
}

/* Empty / no-search-results state */

/* Responsive tweaks */
@media (max-width: 767px) {
    .permissions-toolbar {
        width: 100%;
    }

    .permissions-search {
        width: 100%;
        -webkit-box-flex: 1;
        -ms-flex: 1 1 100%;
        flex: 1 1 100%;
    }

    .permission-module-body {
        padding: 16px;
    }
}

/* ============================================================
   FORM SECTION — reusable heading/toolbar for sectioned forms
   ============================================================ */
.form-section {
    border-top: 1px solid var(--assest-color);
    margin-top: 36px;
    padding-top: 32px;
}

.form-section-head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 16px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.form-section-heading {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 240px;
    flex: 1 1 240px;
}

.form-section-title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--body-color);
}

.form-section-title i {
    color: var(--primary-color);
    font-size: 14px;
}

.form-section-subtitle {
    font-size: 12.5px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.form-section-toolbar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 12px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

/* Select-all pill (label + switch) */
.select-all-pill {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1.5px solid var(--assest-color);
    border-radius: 100px;
    background: var(--white-color);
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.select-all-pill:hover {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

.select-all-pill-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--body-color);
    white-space: nowrap;
}

/* Live "X selected" counter badge */
.count-badge {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 8px 14px;
    border-radius: 100px;
    background: var(--accent-light);
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

/* Facility chip selector */
.facility-chip-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
}

.facility-chip {
    position: relative;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 9px;
    padding: 9px 16px 9px 12px;
    border: 1.5px solid var(--assest-color);
    border-radius: 100px;
    background: var(--white-color);
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--body-color);
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.facility-chip:hover {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

.facility-chip-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.facility-chip-check {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: var(--gray-200);
    color: transparent;
    font-size: 10px;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.facility-chip.is-active {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

.facility-chip.is-active .facility-chip-check {
    background: var(--primary-color);
    color: var(--white-color);
}

@media (max-width: 767px) {
    .form-section-toolbar {
        width: 100%;
    }
}

/* ==========================================================================
   Detail Page — shared premium hero/stat/timeline layout for the "view"
   detail pages (Booking, Restaurant Order, Laundry Request, ...) on the
   Admin & Property panels
   ========================================================================== */

.detail-hero {
    background: var(--primary-gradient);
    border-radius: 18px;
    padding: 26px 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
    -webkit-box-shadow: 0 10px 30px var(--primary-alpha-1);
    box-shadow: 0 10px 30px var(--primary-alpha-1);
}

.detail-hero-main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 18px;
}

.detail-hero-avatar {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--white-alpha-1);
    border: 1px solid var(--white-alpha-2);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--white-color);
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.detail-hero-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--white-color);
    margin: 0 0 8px;
}

.detail-hero-meta {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 16px;
}

.detail-hero-meta span {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--white-alpha-3);
}

.detail-hero-meta i {
    color: var(--accent-color);
}

.detail-hero-status {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    gap: 10px;
}

.detail-hero-chip {
    font-size: 13px;
    padding: 6px 18px;
}

/* status-chip-primary's default navy-on-navy tint is unreadable on the hero's own navy
   gradient background - lighten it here so the "Checked In" state stays visible. */
.detail-hero-chip.status-chip-primary {
    background: var(--white-alpha-1);
    color: var(--white-color);
}

.detail-hero-amount {
    font-size: 22px;
    font-weight: 700;
    color: var(--white-color);
    text-align: right;
}

.detail-hero-amount small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: var(--white-alpha-3);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Status transition actions (Confirm / Check-in / Cancel, ...) shown inside the navy
   .detail-hero band - a tinted-glass treatment instead of stock Bootstrap button colors,
   which clash against the gradient. Semantic tint per action, same glass family as
   .detail-hero-avatar / .dash-hero-btn. */
.detail-hero-actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    gap: 8px;
}

.detail-hero-action-btn {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    border: 1px solid var(--white-alpha-2);
    background: var(--white-alpha-1);
    color: var(--white-color);
    cursor: pointer;
    -webkit-transition:
        background 0.2s ease,
        border-color 0.2s ease;
    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.detail-hero-action-btn i {
    font-size: 12px;
}

/* No transform here on purpose - shifting the button on :hover moves its hit-box out from
   under a cursor resting at the edge, which un-hovers it, snaps it back, and re-hovers it -
   a flicker loop. Color-only feedback avoids that. */
.detail-hero-action-btn:hover,
.detail-hero-action-btn:focus {
    color: var(--white-color);
    background: var(--white-alpha-2);
    border-color: var(--white-alpha-3);
}

.detail-hero-action-btn.is-success {
    background: var(--green-alpha-25);
    border-color: var(--green-alpha-40);
}

.detail-hero-action-btn.is-success:hover,
.detail-hero-action-btn.is-success:focus {
    background: var(--green-alpha-40);
}

.detail-hero-action-btn.is-info {
    background: var(--light-info);
    border-color: var(--info-alpha-45);
}

.detail-hero-action-btn.is-info:hover,
.detail-hero-action-btn.is-info:focus {
    background: var(--info-alpha-40);
}

.detail-hero-action-btn.is-accent {
    background: var(--accent-alpha-30);
    border-color: var(--accent-alpha-55);
}

.detail-hero-action-btn.is-accent:hover,
.detail-hero-action-btn.is-accent:focus {
    background: var(--accent-alpha-45);
}

.detail-hero-action-btn.is-danger {
    background: var(--red-alpha-25);
    border-color: var(--red-alpha-45);
}

.detail-hero-action-btn.is-danger:hover,
.detail-hero-action-btn.is-danger:focus {
    background: var(--red-alpha-40);
}

.detail-hero-action-btn.is-default {
    background: var(--white-alpha-1);
    border-color: var(--white-alpha-2);
}

/* Quick-stat cards row */
.detail-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.detail-stat-card {
    background: var(--white-color);
    border: 1px solid var(--assest-color);
    border-radius: 16px;
    padding: 18px 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 14px;
    -webkit-box-shadow: 0 2px 8px var(--dark-color);
    box-shadow: 0 2px 8px var(--dark-color);
    -webkit-transition:
        -webkit-transform 0.25s ease,
        -webkit-box-shadow 0.25s ease;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.detail-stat-card:hover {
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    -webkit-box-shadow: 0 8px 20px var(--black-alpha-08);
    box-shadow: 0 8px 20px var(--black-alpha-08);
}

.detail-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 17px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.detail-stat-primary {
    background: var(--primary-light);
    color: var(--primary-color);
}

.detail-stat-accent {
    background: var(--accent-light);
    color: var(--accent-color);
}

.detail-stat-success {
    background: var(--light-green);
    color: var(--green-color);
}

.detail-stat-info {
    background: var(--light-info);
    color: var(--info-color);
}

.detail-stat-danger {
    background: var(--light-red);
    color: var(--red-color);
}

.detail-stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.detail-stat-value {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--body-color);
}

/* Key/value rows used inside section cards */
.detail-info-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px dashed var(--assest-color);
}

.detail-info-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.detail-info-row:first-child {
    padding-top: 0;
}

.detail-info-label {
    font-size: 13.5px;
    color: var(--text-muted);
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
}

.detail-info-label i {
    color: var(--primary-color);
    width: 16px;
    text-align: center;
}

.detail-info-value {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--body-color);
    text-align: right;
}

.detail-info-value.text-total {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-color);
}

/* Timeline used for the Booking Summary sidebar card */
.detail-timeline {
    position: relative;
    padding-left: 26px;
}

.detail-timeline-item {
    position: relative;
    padding-bottom: 22px;
}

.detail-timeline-item:last-child {
    padding-bottom: 0;
}

.detail-timeline-item::before {
    content: "";
    position: absolute;
    left: -26px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.detail-timeline-item::after {
    content: "";
    position: absolute;
    left: -22px;
    top: 16px;
    bottom: -8px;
    width: 1px;
    background: var(--assest-color);
}

.detail-timeline-item:last-child::after {
    display: none;
}

.detail-timeline-item.is-active::before {
    background: var(--accent-color);
    box-shadow: 0 0 0 4px var(--accent-alpha-18);
}

.detail-timeline-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--body-color);
    margin-bottom: 2px;
}

.detail-timeline-desc {
    font-size: 12.5px;
    color: var(--text-muted);
}

/* Room-type badge inside the Room Details table */
.detail-badge-pill {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--primary-color);
    background: var(--primary-light);
    padding: 4px 12px;
    border-radius: 100px;
}

@media (max-width: 767px) {
    .detail-hero {
        padding: 20px;
    }

    .detail-hero-status {
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        width: 100%;
    }

    .detail-hero-amount {
        text-align: left;
    }

    .detail-hero-actions {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }
}

/* ==========================================================================
   Property Form — SaaS-style sectioned layout with sticky on-page
   navigation. Used on Admin Property Add / Edit screens.
   ========================================================================== */
.property-form-shell {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 24px;
}

.property-form-toc {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 230px;
    flex: 0 0 230px;
    width: 230px;
}

.property-form-toc-inner {
    position: -webkit-sticky;
    position: sticky;
    top: 84px;
    background: var(--white-color);
    border: 1px solid var(--assest-color);
    border-radius: 14px;
    padding: 16px 10px;
    -webkit-box-shadow: 0 1px 6px var(--dark-color);
    box-shadow: 0 1px 6px var(--dark-color);
    max-height: calc(100vh - 104px);
    overflow-y: auto;
}

.property-form-toc-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 2px 10px 12px;
}

.property-toc-link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--body-color);
    margin-bottom: 2px;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.property-toc-link i {
    width: 16px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    -webkit-transition: color 0.2s ease;
    transition: color 0.2s ease;
}

.property-toc-link:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

.property-toc-link:hover i {
    color: var(--primary-color);
}

.property-toc-link.is-active {
    background: var(--primary-color);
    color: var(--white-color);
    -webkit-box-shadow: 0 3px 10px var(--primary-alpha-1);
    box-shadow: 0 3px 10px var(--primary-alpha-1);
}

.property-toc-link.is-active i {
    color: var(--white-color);
}

.property-form-main {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 0;
    padding-bottom: 90px;
}

/* Each form section renders as its own elevated card instead of one long card */
.property-section-card {
    background: var(--white-color);
    border: 1px solid var(--assest-color);
    border-radius: 15px;
    -webkit-box-shadow: 0 1px 6px var(--dark-color);
    box-shadow: 0 1px 6px var(--dark-color);
    padding: 24px 25px;
    margin-bottom: 20px;
    scroll-margin-top: 90px;
    -webkit-transition:
        box-shadow 0.2s ease,
        border-color 0.2s ease;
    transition:
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.property-section-card:hover {
    border-color: var(--primary-alpha-18);
    -webkit-box-shadow: 0 4px 18px var(--black-alpha-06);
    box-shadow: 0 4px 18px var(--black-alpha-06);
}

.property-section-card .form-section-head {
    margin-bottom: 20px;
}

/* Fixed (not sticky) save bar — sticky would paint on top of in-flow
   content before it's ever scrolled into range. Rendered as a floating
   rounded pill (like the rest of the page's cards) rather than a flat
   edge-to-edge strip, so it reads as part of the same design language
   instead of a bolted-on browser toolbar. The outer layer is transparent
   and click-through so it never blocks the sidebar or scrolled content —
   only the pill itself, right-aligned, is interactive. */
.property-form-actionbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 0 25px;
    pointer-events: none;
    z-index: 50;
}

.property-form-actionbar-inner {
    pointer-events: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    background: var(--white-color);
    border: 1px solid var(--assest-color);
    border-radius: 14px;
    padding: 12px 16px;
    -webkit-box-shadow:
        0 10px 30px var(--black-alpha-16),
        0 2px 8px var(--black-alpha-10);
    box-shadow:
        0 10px 30px var(--black-alpha-16),
        0 2px 8px var(--black-alpha-10);
}

/* Calmer "select all" toggle — the shared .switch component defaults to a
   red/green on-off status color, which reads as an alarm next to a plain
   bulk-select action. */
.switch.switch-neutral label {
    background: var(--gray-300);
}

.switch.switch-neutral:hover label {
    background: var(--gray-400);
}

.switch.switch-neutral input[type="checkbox"]:checked + label {
    background: var(--primary-color);
    -webkit-box-shadow:
        inset 0 1px 3px var(--black-alpha-16),
        0 0 0 3px var(--primary-alpha-1);
    box-shadow:
        inset 0 1px 3px var(--black-alpha-16),
        0 0 0 3px var(--primary-alpha-1);
}

.switch.switch-neutral:hover input[type="checkbox"]:checked + label {
    background: var(--primary-color);
}

/* Empty-state placeholder shown inside a repeater before any row exists */
.repeater-empty {
    text-align: center;
    padding: 30px 20px;
    border: 1px dashed var(--gray-300);
    border-radius: 10px;
    color: var(--text-muted);
    background: var(--gray-100);
    margin-bottom: 12px;
}

.repeater-empty i {
    display: block;
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--gray-400);
}

.repeater-empty p {
    margin: 0;
    font-size: 13px;
}

/* Property policy cards */
.policy-card-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 16px;
}

.policy-card {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 calc(50% - 8px);
    flex: 1 1 calc(50% - 8px);
    min-width: 260px;
    background: var(--white-color);
    border: 1px solid var(--assest-color);
    border-radius: 12px;
    padding: 16px;
    -webkit-box-shadow: 0 2px 8px var(--dark-color);
    box-shadow: 0 2px 8px var(--dark-color);
    -webkit-transition: box-shadow 0.2s ease;
    transition: box-shadow 0.2s ease;
}

.policy-card:hover {
    -webkit-box-shadow: 0 4px 16px var(--black-alpha-08);
    box-shadow: 0 4px 16px var(--black-alpha-08);
}

.policy-card-head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.policy-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.policy-card-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--body-color);
}

@media (max-width: 991px) {
    .property-form-toc {
        display: none;
    }
}

@media (max-width: 767px) {
    .property-form-actionbar {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 0;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .property-form-actionbar-inner {
        width: 100%;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .property-form-main {
        padding-bottom: 84px;
    }
}

/* ==========================================================================
   Dashboard — Admin & Property overview pages (premium redesign)
   ========================================================================== */

/* ---- Welcome hero ---- */

/* ---- Section headers ---- */

/* ---- KPI tiles ---- */

/* ---- Radial gauge (occupancy %) - value comes from data-value via JS,
   never inline style; color is fixed since only occupancy uses this. ---- */

/* ---- Trend badge next to a KPI value (up/down vs last period) ---- */

/* ---- Card shell shared by charts, tables and activity feeds ---- */

/* ---- Tables ---- */

/* ---- Activity feed rows (recent reviews / complaints / requests / transactions) ---- */

/* Numbered rank badge (Top Properties leaderboard) */

/* ---- Meter bars (room type availability) ---- */

/* Empty state used inside dashboard cards/lists, the "no property" state and
   the Room Availability Calendar page */
.dash-empty-state {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-muted);
}

.dash-empty-state i {
    font-size: 30px;
    color: var(--accent-color);
    opacity: 0.55;
    margin-bottom: 12px;
    display: block;
}

.dash-empty-state p {
    margin: 0;
    font-size: 13.5px;
}

/* ---- Needs-attention alert strip - real, actionable counts (pending
   approvals, unconfirmed bookings, setup gaps) rendered as a stack of
   clickable rows above the fold, right after the hero. Left accent bar
   communicates urgency without a full red "error" treatment. ---- */

/* Positive empty state shown instead of the alert strip when every check is clear */

/* ---- Quick-action shortcut grid - closes the "what should I do next" loop
   at the bottom of the dashboard with direct links into the relevant module.
   Icon tint rotates through the semantic palette via nth-child so no extra
   per-item markup/classes are needed. ---- */

/* Room Availability Calendar (Admin & Property "Calendar" page, month grid below Rooms) */
.cal-month-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--body-color);
    min-width: 130px;
    text-align: center;
    padding: 8px 16px;
    background: var(--assest-color);
    border-radius: 8px;
}

.cal-legend {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    gap: 16px;
}

.cal-legend-item {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--body-color);
}

.cal-legend-swatch {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    border: 1px solid var(--assest-color);
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.cal-legend-swatch.is-ok {
    background: var(--green-alpha-40);
}

.cal-legend-swatch.is-warn {
    background: var(--warning-alpha-65);
}

.cal-legend-swatch.is-full {
    background: var(--red-alpha-55);
}

.cal-legend-swatch.is-empty {
    background: var(--white-color);
}

.cal-grid {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.cal-weekday {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--body-color);
    opacity: 0.6;
    text-transform: uppercase;
    padding-bottom: 6px;
}

.cal-day {
    border-radius: 12px;
    border: 1px solid var(--assest-color);
    padding: 10px 8px;
    min-height: 78px;
    cursor: pointer;
    -webkit-transition:
        -webkit-transform 0.15s ease,
        -webkit-box-shadow 0.15s ease;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.cal-day:hover {
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    -webkit-box-shadow: 0 6px 16px var(--black-alpha-08);
    box-shadow: 0 6px 16px var(--black-alpha-08);
}

.cal-day.is-blank {
    border: none;
    cursor: default;
    background: none;
}

.cal-day.is-blank:hover {
    -webkit-transform: none;
    transform: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.cal-day.is-ok {
    background: var(--green-alpha-40);
}

.cal-day.is-warn {
    background: var(--warning-alpha-65);
}

.cal-day.is-full {
    background: var(--red-alpha-55);
}

.cal-day.is-empty {
    background: var(--white-color);
}

.cal-day.is-today {
    border-color: var(--primary-color);
    border-width: 2px;
}

.cal-day-number {
    font-size: 13px;
    font-weight: 700;
    color: var(--body-color);
    margin-bottom: 6px;
}

.cal-day-badge {
    font-size: 15px;
    font-weight: 700;
    color: var(--body-color);
}

.cal-day-caption {
    font-size: 11px;
    color: var(--body-color);
    opacity: 0.65;
}

@media (max-width: 767px) {
    .cal-day {
        min-height: 56px;
        padding: 6px 4px;
    }

    .cal-day-badge {
        font-size: 12.5px;
    }
}

/* ==========================================================================
   PMS ENTERPRISE DASHBOARD DESIGN SYSTEM (V2 COMMAND CENTRE)
   ========================================================================== */

.pms-dashboard-wrapper {
    padding: 24px 28px 48px;
    font-family: var(--font);
    background-color: var(--pms-surface-alt);
    min-height: calc(100vh - var(--header-height));
    color: var(--pms-text-primary);
}

.pms-dashboard-section {
    margin-bottom: 32px;
}

/* --- Hero Banner (Executive Horizon) --- */
.pms-hero-banner {
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--pms-text-primary) 100%
    );
    border-radius: var(--pms-card-radius);
    padding: 32px;
    color: var(--white-color);
    box-shadow: 0 10px 30px var(--primary-alpha-18);
    position: relative;
    overflow: hidden;
}

.pms-hero-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(
        circle,
        var(--accent-alpha-18) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.pms-hero-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}

.pms-hero-title {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 6px 0;
    color: var(--white-color);
}

.pms-hero-subtitle {
    font-size: 14px;
    color: var(--white-alpha-3);
    margin: 0;
}

.pms-hero-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white-alpha-1);
    border: 1px solid var(--white-alpha-2);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    color: var(--white-color);
    backdrop-filter: blur(8px);
}

.pms-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--green-color);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--green-color);
    animation: pmsPulse 2s infinite ease-in-out;
}

@keyframes pmsPulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.pms-hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pms-hero-stat-card {
    background: var(--white-alpha-1);
    border: 1px solid var(--white-alpha-2);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(12px);
    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.pms-hero-stat-card:hover {
    background: var(--white-alpha-1);
    transform: translateY(-2px);
}

.pms-hero-stat-label {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--white-alpha-3);
    margin-bottom: 8px;
}

.pms-hero-stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--white-color);
    line-height: 1.1;
    margin-bottom: 6px;
}

.pms-hero-stat-meta {
    font-size: 12.5px;
    color: var(--accent-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* --- Action Alert Strip --- */
.pms-action-strip {
    background: var(--pms-warning-bg);
    border: 1px solid var(--pms-warning-border);
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
}

.pms-action-strip-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pms-action-strip-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--pms-warning-bg);
    color: var(--pms-warning);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.pms-action-strip-text {
    font-size: 14px;
    color: var(--pms-text-primary);
    font-weight: 500;
    margin: 0;
}

.pms-action-btn {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        transform 0.15s ease;
    white-space: nowrap;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pms-action-btn:hover {
    background: var(--primary-hover);
    color: var(--white-color);
    text-decoration: none;
}

/* --- Layout Grids --- */
.pms-grid-70-30 {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 28px;
}

.pms-grid-60-40 {
    display: grid;
    grid-template-columns: 6fr 4fr;
    gap: 28px;
}

.pms-grid-50-50 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

/* --- Unified Card System --- */
.pms-card {
    background: var(--white-color);
    border: 1px solid var(--pms-card-border);
    border-radius: var(--pms-card-radius);
    box-shadow: var(--pms-card-shadow);
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.pms-card:hover {
    border-color: var(--primary-alpha-18);
    box-shadow: 0 4px 20px var(--black-alpha-06);
}

.pms-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--pms-surface-subtle);
}

.pms-card-eyebrow {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent-color);
    margin-bottom: 4px;
}

.pms-card-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--pms-text-primary);
    margin: 0;
}

.pms-card-action {
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pms-card-action:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.pms-card-body {
    flex: 1;
}

/* --- Metric & Stat Component --- */
.pms-stat-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pms-stat-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 16px;
    background: var(--pms-surface-alt);
    border-radius: 10px;
    border: 1px solid var(--pms-card-border);
}

.pms-stat-info-title {
    font-size: 13px;
    color: var(--pms-text-muted);
    font-weight: 500;
    margin-bottom: 4px;
}

.pms-stat-info-num {
    font-size: 24px;
    font-weight: 700;
    color: var(--pms-text-primary);
    line-height: 1.2;
}

.pms-stat-icon-badge {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.pms-stat-icon-primary {
    background: var(--primary-color-soft);
    color: var(--primary-color);
}

.pms-stat-icon-accent {
    background: var(--accent-light);
    color: var(--accent-color);
}

.pms-stat-icon-success {
    background: var(--green-color-bg);
    color: var(--green-color);
}

/* --- Progress Bar --- */
.pms-progress-container {
    margin-top: 10px;
}

.pms-progress-bar {
    height: 8px;
    background: var(--pms-surface-subtle);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
}

.pms-progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease;
}

.pms-progress-fill-primary {
    background-color: var(--primary-color);
}

/* --- Room Status Grid Cards --- */
.pms-room-status-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 20px;
}

.pms-room-status-card {
    padding: 20px 16px;
    border-radius: 10px;
    border: 1px solid var(--pms-card-border);
    background: var(--pms-surface-alt);
    text-align: center;
}

.pms-room-status-num {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.1;
}

.pms-room-status-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--pms-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* --- Table Component --- */
.pms-table-container {
    overflow-x: auto;
    border-radius: 10px;
}

.pms-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13.5px;
}

.pms-table th {
    background: var(--pms-surface-alt);
    color: var(--pms-text-muted);
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 16px;
    border-bottom: 1px solid var(--pms-card-border);
    white-space: nowrap;
}

.pms-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--pms-surface-subtle);
    color: var(--pms-text-primary);
    vertical-align: middle;
}

.pms-table tr:last-child td {
    border-bottom: none;
}

.pms-table tr:hover td {
    background: var(--pms-surface-alt);
}

.pms-guest-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pms-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-color-soft);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    border: 1px solid var(--primary-color-border);
    flex-shrink: 0;
}

.pms-guest-name {
    font-weight: 600;
    color: var(--pms-text-primary);
    margin: 0;
}

.pms-guest-sub {
    font-size: 12px;
    color: var(--pms-text-muted);
    margin: 0;
}

.pms-room-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--pms-surface-subtle);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--pms-text-primary);
}

/* --- Badges --- */
.pms-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
}

.pms-badge-success {
    background: var(--green-color-bg);
    color: var(--green-color);
    border: 1px solid var(--green-color-border);
}

.pms-badge-warning {
    background: var(--pms-warning-bg);
    color: var(--pms-warning);
    border: 1px solid var(--pms-warning-border);
}

.pms-badge-danger {
    background: var(--red-color-bg);
    color: var(--red-color);
    border: 1px solid var(--red-color-border);
}

.pms-badge-info {
    background: var(--light-info);
    color: var(--info-color);
    border: 1px solid var(--info-color-border);
}

.pms-badge-primary {
    background: var(--primary-color-soft);
    color: var(--primary-color);
    border: 1px solid var(--primary-color-border);
}

/* --- Operations Request Cards --- */
.pms-ops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.pms-ops-card {
    padding: 16px;
    background: var(--pms-surface-alt);
    border-radius: 10px;
    border: 1px solid var(--pms-card-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    transition:
        transform 0.15s ease,
        border-color 0.15s ease;
}

.pms-ops-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color-border);
    text-decoration: none;
}

.pms-ops-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pms-ops-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--primary-color-soft);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.pms-ops-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--pms-text-primary);
    margin: 0;
}

.pms-ops-count {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

/* --- Reviews & Activity List --- */
.pms-review-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pms-review-item {
    padding: 14px 16px;
    background: var(--pms-surface-alt);
    border-radius: 10px;
    border: 1px solid var(--pms-card-border);
}

.pms-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.pms-review-author {
    font-weight: 600;
    font-size: 13.5px;
    color: var(--pms-text-primary);
}

.pms-stars {
    color: var(--accent-color);
    font-size: 12px;
}

.pms-review-comment {
    font-size: 12.5px;
    color: var(--pms-text-secondary);
    line-height: 1.4;
    margin: 0;
}

/* --- Legend Pills for Payment Chart --- */
.pms-legend-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.pms-legend-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--pms-surface-alt);
}

.pms-legend-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--pms-text-secondary);
    font-weight: 500;
}

.pms-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.pms-legend-value {
    font-weight: 600;
    color: var(--pms-text-primary);
}

/* --- Chart-left / labels-right card layout (e.g. Booking Status) --- */
.pms-booking-status-layout {
    display: grid;
    grid-template-columns: 6fr 4fr;
    align-items: center;
    gap: 20px;
}

.pms-legend-list-side {
    margin-top: 0;
}

@media (max-width: 640px) {
    .pms-booking-status-layout {
        grid-template-columns: 1fr;
    }
}

/* --- Filter Select Dropdown --- */
.pms-select-filter {
    background-color: var(--pms-surface-alt);
    border: 1px solid var(--pms-card-border);
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--pms-text-primary);
    padding: 4px 28px 4px 12px;
    height: 34px;
    cursor: pointer;
    outline: none;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.pms-select-filter:hover,
.pms-select-filter:focus {
    border-color: var(--primary-color-border);
    box-shadow: 0 0 0 2px var(--primary-color-soft);
}

/* --- Responsive Breakpoints --- */
@media (max-width: 1200px) {
    .pms-hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pms-grid-70-30,
    .pms-grid-60-40,
    .pms-grid-50-50 {
        grid-template-columns: 1fr;
    }
    .pms-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .pms-room-status-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pms-dashboard-wrapper {
        padding: 16px;
    }
    .pms-hero-banner {
        padding: 20px;
    }
    .pms-hero-stats-grid {
        grid-template-columns: 1fr;
    }
    .pms-room-status-grid {
        grid-template-columns: 1fr;
    }
    .pms-action-strip {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* --- Uniform stack spacing for Bootstrap grid rows (matches the 15px+15px = 30px horizontal gutter; row-gap only inserts space between wrapped lines, never a trailing gap after the last column, so it stays even at every breakpoint) --- */
.pms-row-gap {
    row-gap: 30px;
}

.note-btn i,
.note-btn span,
.note-dropdown-menu .dropdown-item i,
.note-dropdown-menu .dropdown-item span {
    color: black !important;
}

.note-modal .modal-dialog {
    box-shadow: none !important;
}
.note-editor .note-toolbar,
.note-popover .popover-content {
    padding-left: 8px !important;
}
