:root {
    --ogdms-red: #d91422;
    --ogdms-red-dark: #9f1019;
    --ogdms-red-soft: #fff0f1;
    --ogdms-ink: #26171a;
    --ogdms-muted: #7a6a6d;
    --ogdms-line: #f0e2e4;
    --ogdms-page: #fffafa;
    --ogdms-green: #16a34a;
    --ogdms-amber: #f59e0b;
    --ogdms-blue: #2563eb;
    --ogdms-shadow: 0 2px 10px rgba(160, 16, 25, 0.045);
}

body {
    background: var(--ogdms-page);
    color: var(--ogdms-ink);
    font-size: 14px;
}

.main-wrapper {
    background:
        linear-gradient(90deg, rgba(217, 20, 34, 0.035), transparent 34%),
        var(--ogdms-page);
}

.header {
    background: #fff;
    border-bottom: 1px solid var(--ogdms-line);
    box-shadow: none;
    backdrop-filter: none;
}

.header .header-left {
    background: var(--ogdms-red);
    border: 0;
    color: #fff;
    justify-content: flex-start;
    padding: 0 18px;
    width: 232px;
}

.header .header-left h2 {
    color: #fff;
    font-size: 23px;
    letter-spacing: 0;
    margin: 0;
}

.header .header-left h2::after {
    content: "Service Management";
    display: block;
    font-size: 11px;
    font-weight: 600;
    margin-top: 2px;
    opacity: 0.92;
}

.top-nav-search {
    width: 380px;
}

.header .nav-searchinputs {
    align-items: center;
    display: flex;
    margin-left: 18px;
}

.top-nav-search form {
    margin: 0;
}

.top-nav-search .searchinputs {
    align-items: center;
    background: #fff;
    display: flex;
    height: 40px;
    margin: 0;
    max-width: 100%;
    min-width: 300px;
    overflow: hidden;
    padding: 0 12px;
    width: 100%;
}

.header .header-left #toggle_btn {
    color: #fff;
    margin-left: auto;
}

.sidebar {
    background: linear-gradient(180deg, #df1726 0%, #aa101a 100%);
    border-right: 0;
    box-shadow: none;
    width: 232px;
}

.sidebar .slimScrollDiv,
.sidebar .sidebar-inner {
    width: 232px !important;
}

.sidebar .sidebar-menu {
    padding: 12px 0 18px;
}

.sidebar .sidebar-menu > ul > li {
    margin: 0;
    padding: 0 10px;
}

.sidebar .sidebar-menu > ul > li > a,
.sidebar .sidebar-menu ul li a {
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.94);
    font-size: 14px;
    font-weight: 650;
    gap: 10px;
    height: 42px;
    margin: 3px 0;
    min-height: 42px;
    overflow: hidden;
    padding: 0 12px;
    width: 100%;
}

.sidebar .sidebar-menu > ul > li > a span,
.sidebar .sidebar-menu ul li a span {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar .sidebar-menu > ul > li > a .menu-arrow,
.sidebar .sidebar-menu ul li a .menu-arrow {
    flex: 0 0 12px;
    height: 12px;
    margin-left: auto;
    min-width: 12px;
    overflow: visible;
    position: relative;
    white-space: normal;
    width: 12px;
}

.sidebar .sidebar-menu > ul > li > a:hover,
.sidebar .sidebar-menu > ul > li.active > a,
.sidebar .sidebar-menu ul li a.active {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.sidebar .sidebar-menu > ul > li > a svg,
.sidebar .sidebar-menu ul li a svg {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 6px;
    color: var(--ogdms-red);
    flex: 0 0 26px;
    height: 26px;
    padding: 5px;
    stroke-width: 2.2;
    width: 26px;
}

.sidebar .sidebar-menu .menu-arrow {
    flex: 0 0 auto;
    margin-left: auto;
    position: relative;
    width: 12px;
}

.sidebar .sidebar-menu .menu-arrow::before {
    border-color: rgba(255, 255, 255, 0.9);
    right: 0;
    top: 2px;
}

.sidebar .sidebar-menu ul ul {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    margin: 5px 0 8px;
    padding: 6px;
}

.sidebar .sidebar-menu > ul > li.submenu ul li a {
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
    font-weight: 650;
    gap: 8px;
    height: 34px;
    min-height: 34px;
    padding: 0 10px 0 12px;
    position: relative;
}

.sidebar .sidebar-menu > ul > li.submenu ul li a span {
    flex: 1;
    min-width: 0;
}

.sidebar .sidebar-menu > ul > li.submenu ul li a::before {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    content: "";
    flex: 0 0 8px;
    height: 8px;
    width: 8px;
}

.sidebar .sidebar-menu > ul > li.submenu ul li a::after {
    display: none;
}

.sidebar .sidebar-menu > ul > li.submenu ul li a:hover,
.sidebar .sidebar-menu > ul > li.submenu ul li a.active {
    background: rgba(255, 255, 255, 0.95);
    color: var(--ogdms-red);
}

.sidebar .sidebar-menu > ul > li.submenu ul li a:hover::before,
.sidebar .sidebar-menu > ul > li.submenu ul li a.active::before {
    background: var(--ogdms-red);
    border-color: var(--ogdms-red);
}

.sidebar .sidebar-menu > ul > li.submenu > a.subdrop,
.sidebar .sidebar-menu > ul > li.submenu-open > a {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.sidebar-section {
    color: rgba(255, 255, 255, 0.68);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    margin: 18px 0 7px;
    padding: 0 12px;
    text-transform: uppercase;
}

.page-wrapper {
    background: transparent;
    margin-left: 232px;
    padding-top: 68px;
}

.page-wrapper .content {
    padding: 22px 22px 30px;
}

.page-header {
    align-items: flex-end;
    border: 0;
    margin-bottom: 18px;
    padding: 0;
}

.page-title h4 {
    color: var(--ogdms-ink);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 3px;
}

.page-title h6 {
    color: var(--ogdms-muted);
    font-size: 13px;
    font-weight: 600;
}

.card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--ogdms-line);
    border-radius: 8px;
    box-shadow: var(--ogdms-shadow);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid var(--ogdms-line);
    padding: 17px 18px;
}

.card-header h4,
.card-header h5 {
    color: var(--ogdms-ink);
    font-size: 16px;
    font-weight: 800;
}

.card-body {
    padding: 16px;
}

.btn,
.form-control,
.form-select,
.input-group .form-control,
.searchinputs input {
    border-radius: 8px;
}

.btn-primary,
.btn-added,
.page-header .btn-added {
    background: var(--ogdms-red);
    border-color: var(--ogdms-red);
    box-shadow: none;
}

.btn-primary:hover,
.btn-added:hover,
.page-header .btn-added:hover {
    background: var(--ogdms-red-dark);
    border-color: var(--ogdms-red-dark);
}

.btn-success {
    background: var(--ogdms-green);
    border-color: var(--ogdms-green);
}

.btn-secondary {
    background: #fff;
    border-color: var(--ogdms-line);
    color: var(--ogdms-red);
}

.form-label {
    color: var(--ogdms-muted);
    font-size: 12px;
    font-weight: 750;
    margin-bottom: 5px;
}

.form-control,
.form-select {
    border-color: var(--ogdms-line);
    color: var(--ogdms-ink);
    min-height: 40px;
}

.form-control:focus,
.form-select:focus,
.searchinputs input:focus {
    border-color: rgba(217, 20, 34, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(217, 20, 34, 0.1);
}

.select2-container {
    display: block;
    max-width: 100%;
    width: 100% !important;
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    align-items: center;
    background: #fff;
    border: 1px solid var(--ogdms-line);
    border-radius: 8px;
    color: var(--ogdms-ink);
    display: flex;
    min-height: 40px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.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: rgba(217, 20, 34, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(217, 20, 34, 0.1);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--ogdms-ink);
    line-height: 38px;
    padding-left: 12px;
    padding-right: 34px;
    width: 100%;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #9b8c8f;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px;
    right: 8px;
    top: 0;
    width: 22px;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    color: var(--ogdms-red);
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    height: 38px;
    line-height: 36px;
    margin-right: 24px;
}

.select2-container--default .select2-selection--multiple {
    align-items: flex-start;
    min-height: 40px;
    padding: 3px 6px;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: var(--ogdms-red-soft);
    border: 1px solid #ffd7dc;
    border-radius: 7px;
    color: var(--ogdms-red);
    font-size: 12px;
    font-weight: 750;
    margin: 2px;
    padding: 4px 8px 4px 22px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    border-right: 1px solid #ffd7dc;
    color: var(--ogdms-red);
    height: 100%;
    line-height: 22px;
}

.select2-container--default .select2-search--inline .select2-search__field {
    color: var(--ogdms-ink);
    font-family: inherit;
    margin-top: 5px;
}

.select2-dropdown {
    border: 1px solid var(--ogdms-line);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(160, 16, 25, 0.1);
    overflow: hidden;
    z-index: 1061;
}

.select2-container--default .select2-search--dropdown {
    padding: 8px;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid var(--ogdms-line);
    border-radius: 8px;
    color: var(--ogdms-ink);
    min-height: 36px;
    outline: 0;
    padding: 6px 10px;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: rgba(217, 20, 34, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(217, 20, 34, 0.1);
}

.select2-results__option {
    color: var(--ogdms-ink);
    font-size: 13px;
    padding: 9px 12px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: var(--ogdms-red);
    color: #fff;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background: var(--ogdms-red-soft);
    color: var(--ogdms-red);
}

.select2-container--default .select2-results__option--highlighted[aria-selected=true] {
    background: var(--ogdms-red);
    color: #fff;
}

.form-control-sm + .select2-container .select2-selection--single,
.form-select-sm + .select2-container .select2-selection--single {
    min-height: 32px;
}

.form-control-sm + .select2-container .select2-selection--single .select2-selection__rendered,
.form-select-sm + .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 30px;
}

.form-control-sm + .select2-container .select2-selection--single .select2-selection__arrow,
.form-select-sm + .select2-container .select2-selection--single .select2-selection__arrow {
    height: 30px;
}

.searchinputs {
    border: 1px solid var(--ogdms-line);
    border-radius: 8px;
    box-shadow: none;
}

.searchinputs input {
    background: transparent;
    border: 0;
    color: var(--ogdms-ink);
    flex: 1;
    height: 38px;
    min-width: 0;
    padding: 0 8px;
    width: auto;
}

.searchinputs .search-addon {
    align-items: center;
    display: inline-flex;
    flex: 0 0 auto;
    position: static;
}

.searchinputs .search-addon button {
    align-items: center;
    display: inline-flex;
    height: 28px;
    justify-content: center;
    width: 28px;
}

.searchinputs .search-addon button,
.searchinputs .search-addon span {
    color: var(--ogdms-red);
}

.user-menu.nav > li > a,
.nav-item-box > a {
    border: 1px solid var(--ogdms-line);
    border-radius: 8px;
    color: var(--ogdms-red);
}

.header .userset {
    border: 0;
}

.header .user-menu {
    gap: 10px;
}

.header .user-name {
    color: var(--ogdms-ink);
    font-weight: 800;
}

.header .user-role {
    color: var(--ogdms-muted);
}

.dash-count {
    background: #fff;
    border: 1px solid var(--ogdms-line);
    border-radius: 8px;
    box-shadow: var(--ogdms-shadow);
    min-height: 98px;
    padding: 16px;
}

.dash-count::before {
    background: var(--ogdms-red-soft);
    border-radius: 8px;
    content: "";
    display: block;
    height: 56px;
    min-width: 56px;
}

.dash-count.status-installed::before,
.dash-count.status-attended::before {
    background: #eaf9ef;
}

.dash-count.status-confirmed::before,
.dash-count.status-scheduled::before {
    background: #eef4ff;
}

.dash-count.status-pending::before,
.dash-count.status-postponed::before {
    background: #fff6e8;
}

.dash-counts {
    flex: 1;
    margin-left: 16px;
}

.dash-counts h4 {
    color: var(--ogdms-ink);
    font-size: 28px;
    font-weight: 850;
    line-height: 1;
    margin: 0 0 6px;
}

.dash-counts h5 {
    color: var(--ogdms-muted);
    font-size: 13px;
    font-weight: 750;
}

.table {
    color: var(--ogdms-ink);
}

.table thead th {
    border-bottom: 1px solid var(--ogdms-line);
    color: #5f4b50;
    font-size: 12px;
    font-weight: 800;
    text-transform: none;
}

.table tbody td {
    border-bottom: 1px solid #f5e8ea;
    padding-bottom: 14px;
    padding-top: 14px;
    vertical-align: middle;
}

.table tbody tr:hover {
    background: rgba(217, 20, 34, 0.025);
}

.table-responsive {
    border-radius: 8px;
}

.badge {
    border-radius: 7px;
    font-weight: 800;
    padding: 7px 10px;
}

.badge.bg-light {
    background: var(--ogdms-red-soft) !important;
    color: var(--ogdms-red) !important;
}

.list-group-item {
    border-color: #f5e8ea;
    color: var(--ogdms-ink);
    padding: 13px 2px;
}

.pagination .page-link {
    border-color: var(--ogdms-line);
    color: var(--ogdms-red);
}

.pagination .active .page-link {
    background: var(--ogdms-red);
    border-color: var(--ogdms-red);
}

.modal-content {
    border: 1px solid var(--ogdms-line);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(160, 16, 25, 0.12);
}

.btn {
    align-items: center;
    display: inline-flex;
    gap: 7px;
    justify-content: center;
}

.btn svg {
    height: 16px;
    width: 16px;
}

form.is-submitting .btn[type="submit"],
form.is-submitting button[type="submit"] {
    opacity: 0.76;
    pointer-events: none;
}

.ogdms-summary-row {
    margin-bottom: 16px;
}

.ogdms-summary-card {
    box-shadow: none;
    min-height: 86px;
    padding: 16px;
}

.ogdms-summary-card span {
    color: var(--ogdms-muted);
    display: block;
    font-size: 12px;
    font-weight: 750;
    margin-bottom: 10px;
}

.ogdms-summary-card strong {
    color: var(--ogdms-ink);
    display: block;
    font-size: 28px;
    font-weight: 850;
    line-height: 1;
}

.ogdms-filter-card {
    box-shadow: none;
    margin-bottom: 16px;
}

.ogdms-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ogdms-data-table {
    margin-bottom: 0;
}

.ogdms-data-table td strong {
    color: var(--ogdms-ink);
    font-weight: 800;
}

.ogdms-muted-line {
    color: var(--ogdms-muted);
    display: block;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    margin-top: 3px;
}

.ogdms-status {
    background: var(--ogdms-red-soft);
    border: 1px solid #ffd7dc;
    border-radius: 7px;
    color: var(--ogdms-red);
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    padding: 7px 9px;
    text-transform: capitalize;
    white-space: nowrap;
}

.ogdms-status-installed,
.ogdms-status-resolved,
.ogdms-status-converted,
.ogdms-status-attended {
    background: #eaf9ef;
    border-color: #c6efd3;
    color: var(--ogdms-green);
}

.ogdms-status-confirmed,
.ogdms-status-scheduled,
.ogdms-status-contacted {
    background: #eef4ff;
    border-color: #d7e6ff;
    color: var(--ogdms-blue);
}

.ogdms-status-pending,
.ogdms-status-postponed,
.ogdms-status-in_progress,
.ogdms-status-qualified {
    background: #fff6e8;
    border-color: #ffe4b7;
    color: #b86b00;
}

.ogdms-status-cancelled {
    background: #f5f0f1;
    border-color: #e6d7da;
    color: #68575c;
}

.ogdms-table-actions {
    align-items: center;
    display: flex;
    gap: 7px;
}

.ogdms-table-actions form {
    line-height: 1;
    margin: 0;
}

.ogdms-icon-btn {
    align-items: center;
    background: #fff;
    border: 1px solid var(--ogdms-line);
    border-radius: 8px;
    color: var(--ogdms-red);
    display: inline-flex;
    height: 34px;
    justify-content: center;
    padding: 0;
    width: 34px;
}

.ogdms-icon-btn:hover {
    background: var(--ogdms-red-soft);
    border-color: #ffd7dc;
    color: var(--ogdms-red-dark);
}

.ogdms-icon-btn svg {
    height: 16px;
    width: 16px;
}

.ogdms-icon-danger {
    color: #b91c1c;
}

.ogdms-count-pill {
    background: var(--ogdms-red-soft);
    border: 1px solid #ffd7dc;
    border-radius: 999px;
    color: var(--ogdms-red);
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    padding: 7px 10px;
}

.ogdms-empty-state {
    align-items: center;
    color: var(--ogdms-muted);
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
    min-height: 130px;
    padding: 26px 12px;
    text-align: center;
}

.ogdms-empty-state svg {
    color: var(--ogdms-red);
    height: 28px;
    width: 28px;
}

.ogdms-empty-state strong {
    color: var(--ogdms-ink);
    font-size: 15px;
    font-weight: 800;
}

.ogdms-pagination {
    margin-top: 16px;
}

.ogdms-pagination nav {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.ogdms-segmented {
    align-items: center;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ogdms-segmented a {
    border: 1px solid var(--ogdms-line);
    border-radius: 8px;
    color: var(--ogdms-muted);
    font-weight: 750;
    min-height: 36px;
    padding: 8px 12px;
    text-decoration: none;
}

.ogdms-segmented a.active,
.ogdms-segmented a:hover {
    background: var(--ogdms-red-soft);
    border-color: #ffd7dc;
    color: var(--ogdms-red);
}

.ogdms-notification-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ogdms-notification-item {
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--ogdms-line);
    border-radius: 8px;
    display: grid;
    gap: 12px;
    grid-template-columns: 10px minmax(0, 1fr) auto;
    padding: 14px;
}

.ogdms-notification-item.is-unread {
    background: var(--ogdms-red-soft);
    border-color: #ffd7dc;
}

.ogdms-notification-dot {
    background: var(--ogdms-red);
    border-radius: 50%;
    height: 8px;
    margin-top: 7px;
    width: 8px;
}

.ogdms-notification-item.is-read .ogdms-notification-dot {
    background: #d9c9cc;
}

.ogdms-notification-head {
    align-items: baseline;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.ogdms-notification-head strong {
    color: var(--ogdms-ink);
    font-weight: 800;
}

.ogdms-notification-head span {
    color: var(--ogdms-muted);
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 650;
}

.ogdms-notification-content p {
    color: #4d3b40;
    margin: 5px 0 0;
}

.ogdms-notification-actions {
    align-items: center;
    display: flex;
    gap: 7px;
}

.ogdms-kpi {
    align-items: center;
    display: flex;
    gap: 16px;
}

.ogdms-kpi-icon {
    align-items: center;
    background: var(--ogdms-red-soft);
    border-radius: 8px;
    color: var(--ogdms-red);
    display: inline-flex;
    height: 54px;
    justify-content: center;
    width: 54px;
}

.ogdms-kpi-icon svg {
    height: 26px;
    width: 26px;
}

.ogdms-kpi-value {
    color: var(--ogdms-ink);
    font-size: 28px;
    font-weight: 850;
    line-height: 1;
}

.ogdms-kpi-label {
    color: var(--ogdms-muted);
    font-size: 13px;
    font-weight: 750;
    margin-top: 5px;
}

.ogdms-panel-link {
    color: var(--ogdms-red);
    font-weight: 800;
    text-decoration: none;
}

.ogdms-quick-action {
    align-items: center;
    background: var(--ogdms-red-soft);
    border: 1px solid #ffd9dd;
    border-radius: 8px;
    color: var(--ogdms-ink);
    display: flex;
    font-weight: 800;
    gap: 12px;
    margin-bottom: 12px;
    padding: 16px;
    text-decoration: none;
}

.ogdms-quick-action.primary {
    background: var(--ogdms-red);
    color: #fff;
}

.ogdms-quick-action svg {
    color: currentColor;
}

.page-btn {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.page-header .page-btn .btn,
.page-header .page-btn .form-control {
    min-height: 38px;
}

.alert {
    border-radius: 8px;
    box-shadow: none;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    border: 1px solid var(--ogdms-line);
    border-radius: 8px;
    min-height: 36px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 8px !important;
}

.mini-sidebar .header-left,
.mini-sidebar .sidebar {
    width: 80px;
}

.mini-sidebar .page-wrapper {
    margin-left: 80px;
}

.mini-sidebar.expand-menu .header-left,
.mini-sidebar.expand-menu .sidebar {
    width: 232px;
}

.mini-sidebar.expand-menu .page-wrapper {
    margin-left: 232px;
}

.mini-sidebar .sidebar .sidebar-menu > ul > li {
    padding: 0 8px;
}

.mini-sidebar .sidebar .sidebar-menu > ul > li > a {
    justify-content: center;
    padding: 0;
}

.mini-sidebar .sidebar .sidebar-menu > ul > li > a svg {
    flex-basis: 26px;
}

.mini-sidebar .sidebar-section {
    display: none;
}

@media (max-width: 1199.98px) {
    .top-nav-search {
        width: 300px;
    }
}

@media (max-width: 991.98px) {
    .header .header-left,
    .sidebar {
        width: 232px;
    }

    .page-wrapper {
        margin-left: 0;
    }

    .page-wrapper .content {
        padding: 20px 14px;
    }

    .top-nav-search {
        width: auto;
    }

    .page-header {
        align-items: stretch;
        gap: 12px;
    }

    .page-btn {
        justify-content: flex-start;
        width: 100%;
    }

    .ogdms-notification-item {
        grid-template-columns: 10px minmax(0, 1fr);
    }

    .ogdms-notification-actions {
        grid-column: 2;
    }
}

@media (max-width: 767.98px) {
    .ogdms-summary-card {
        min-height: 76px;
    }

    .ogdms-summary-card strong {
        font-size: 24px;
    }

    .ogdms-actions,
    .ogdms-actions .btn {
        width: 100%;
    }

    .ogdms-data-table {
        min-width: 760px;
    }

    .ogdms-notification-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .ogdms-segmented,
    .ogdms-segmented a {
        width: 100%;
    }
}

/* Sidebar submenu conflict reset. The template JS toggles `subdrop` on the
   parent anchor, so these rules intentionally follow `a.subdrop + ul`. */
.sidebar #sidebar-menu > ul > li.submenu > a {
    align-items: center !important;
    display: flex !important;
    justify-content: flex-start !important;
}

.sidebar #sidebar-menu > ul > li.submenu > a .menu-arrow {
    align-items: center;
    background: transparent !important;
    display: inline-flex !important;
    height: 14px;
    justify-content: center;
    line-height: 1;
    margin-left: auto;
    position: relative;
    transform: none;
    width: 14px;
}

.sidebar #sidebar-menu > ul > li.submenu > a.subdrop .menu-arrow {
    transform: rotate(90deg);
}

.sidebar #sidebar-menu > ul > li.submenu > ul {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 8px;
    display: none;
    margin: 5px 0 8px !important;
    padding: 6px 6px 6px 30px !important;
    position: static;
    width: auto;
}

.sidebar #sidebar-menu > ul > li.submenu > a.subdrop + ul {
    display: block !important;
}

.sidebar #sidebar-menu > ul > li.submenu > ul > li {
    margin: 0;
    padding: 0;
}

.sidebar #sidebar-menu > ul > li.submenu > ul > li > a {
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 7px;
    color: var(--ogdms-red) !important;
    display: flex !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    gap: 8px;
    height: 35px;
    justify-content: flex-start;
    margin: 0;
    min-height: 35px;
    padding: 0 10px 0 14px !important;
    width: 100%;
}

.sidebar #sidebar-menu > ul > li.submenu > ul > li > a::after {
    display: none !important;
}

.sidebar #sidebar-menu > ul > li.submenu > ul > li > a::before {
    background: transparent;
    border-radius: 0;
    border-color: var(--ogdms-red);
    border-style: solid;
    border-width: 0 2px 2px 0;
    content: "";
    display: inline-block;
    flex: 0 0 6px;
    height: 6px;
    transform: rotate(-45deg);
    width: 6px;
}

.sidebar #sidebar-menu > ul > li.submenu > ul > li > a:hover,
.sidebar #sidebar-menu > ul > li.submenu > ul > li > a.active {
    background: #fff !important;
    color: var(--ogdms-red-dark) !important;
}

.sidebar #sidebar-menu > ul > li.submenu > ul > li > a:hover::before,
.sidebar #sidebar-menu > ul > li.submenu > ul > li > a.active::before {
    background: transparent;
    border-color: var(--ogdms-red-dark);
}

.mini-sidebar:not(.expand-menu) .sidebar #sidebar-menu > ul > li.submenu > a.subdrop + ul {
    display: none !important;
}

.account-page .login-wrapper .login-content .form-login input {
    height: 50px;
    min-height: 50px;
}

.account-page .login-wrapper .login-content .pass-group .toggle-password,
.account-page .login-wrapper .login-content .form-addons .toggle-password {
    top: 25px;
}

/* OGDMS brand assets */
.ogdms-brand {
    align-items: center;
    display: inline-flex;
    flex: 0 0 auto;
    justify-content: center;
    line-height: 1;
    text-decoration: none;
}

.ogdms-brand-mark {
    align-items: center;
    display: inline-flex;
    justify-content: center;
}

.ogdms-brand img {
    display: block;
    object-fit: contain;
}

.header .header-left .ogdms-brand-icon {
    height: 46px;
    margin-right: 12px;
    position: relative;
    width: 46px;
}

.header .header-left .ogdms-brand-icon .ogdms-brand-mark {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(65, 0, 8, 0.16);
    height: 46px;
    width: 46px;
}

.header .header-left .ogdms-brand-icon img {
    height: 34px;
    width: 34px;
}

.header .header-left .ogdms-brand-icon::after {
    color: #fff;
    content: "OGDMS";
    display: block;
    font-size: 20px;
    font-weight: 800;
    left: 56px;
    letter-spacing: 0;
    line-height: 1;
    position: absolute;
    top: 8px;
    white-space: nowrap;
}

.header .header-left .ogdms-brand-icon::before {
    color: rgba(255, 255, 255, 0.92);
    content: "Service Management";
    display: block;
    font-size: 11px;
    font-weight: 600;
    left: 56px;
    position: absolute;
    top: 29px;
    white-space: nowrap;
}

.account-page .login-wrapper .login-content .login-brand-logo {
    display: flex;
    justify-content: center;
    margin: 0 0 26px;
    width: 100%;
}

.account-page .login-wrapper .login-content .login-brand-logo .ogdms-brand-mark {
    background: #fff;
    border: 1px solid #f4d8dc;
    border-radius: 20px;
    box-shadow: 0 16px 38px rgba(160, 16, 25, 0.12);
    min-height: 116px;
    padding: 18px 24px;
    width: min(100%, 268px);
}

.account-page .login-wrapper .login-content .login-brand-logo img {
    height: auto;
    max-height: 92px;
    width: 220px;
}

.ogdms-jetstream-logo,
.ogdms-auth-card-logo img {
    display: block;
    height: auto;
    max-width: 190px;
    object-fit: contain;
}

.mini-sidebar:not(.expand-menu) .header .header-left .ogdms-brand-icon::after,
.mini-sidebar:not(.expand-menu) .header .header-left .ogdms-brand-icon::before {
    display: none;
}

.mini-sidebar:not(.expand-menu) .header .header-left .ogdms-brand-icon {
    margin-right: 0;
}

.ogdms-profile-page {
    color: #2f1b1b;
}

.ogdms-profile-hero {
    align-items: stretch;
    background: linear-gradient(135deg, #ffffff 0%, #fff6f6 100%);
    border: 1px solid rgba(217, 32, 39, 0.14);
    border-radius: 8px;
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
    margin-bottom: 20px;
    padding: 22px;
}

.ogdms-profile-main {
    align-items: center;
    display: flex;
    gap: 18px;
    min-width: 0;
}

.ogdms-profile-avatar {
    align-items: center;
    background: #d92027;
    border-radius: 50%;
    display: flex;
    flex: 0 0 92px;
    height: 92px;
    justify-content: center;
    overflow: hidden;
    width: 92px;
}

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

.ogdms-profile-kicker,
.ogdms-profile-meta span {
    color: #8f6c6c;
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.ogdms-profile-main h2 {
    color: #251313;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 4px;
}

.ogdms-profile-main p {
    color: #6b4b4b;
    margin: 0;
}

.ogdms-profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.ogdms-profile-tags span {
    background: rgba(217, 32, 39, 0.1);
    border: 1px solid rgba(217, 32, 39, 0.18);
    border-radius: 999px;
    color: #b5141b;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
}

.ogdms-profile-meta {
    display: grid;
    gap: 10px;
}

.ogdms-profile-meta div {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(217, 32, 39, 0.1);
    border-radius: 8px;
    padding: 13px 14px;
}

.ogdms-profile-meta strong {
    color: #2d1717;
    display: block;
    font-size: 14px;
    font-weight: 650;
}

.ogdms-profile-grid {
    align-items: start;
    display: grid;
    gap: 20px;
    grid-template-columns: 250px minmax(0, 1fr);
}

.ogdms-profile-sidebar {
    background: #fff;
    border: 1px solid rgba(217, 32, 39, 0.12);
    border-radius: 8px;
    display: grid;
    gap: 6px;
    padding: 10px;
    position: sticky;
    top: 88px;
}

.ogdms-profile-sidebar a {
    align-items: center;
    border-radius: 7px;
    color: #5d3b3b;
    display: flex;
    font-size: 14px;
    font-weight: 600;
    gap: 10px;
    min-height: 42px;
    padding: 0 12px;
}

.ogdms-profile-sidebar a svg {
    color: #d92027;
    height: 17px;
    width: 17px;
}

.ogdms-profile-sidebar a:hover,
.ogdms-profile-sidebar a.active {
    background: rgba(217, 32, 39, 0.1);
    color: #b5141b;
}

.ogdms-profile-content {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.ogdms-profile-section {
    background: #fff;
    border: 1px solid rgba(217, 32, 39, 0.12);
    border-radius: 8px;
    overflow: hidden;
}

.ogdms-profile-section.danger {
    border-color: rgba(217, 32, 39, 0.22);
}

.ogdms-profile-section .md\:grid {
    display: grid;
    gap: 0;
    grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
}

.ogdms-profile-section .md\:col-span-1 {
    background: #fff8f8;
    border-right: 1px solid rgba(217, 32, 39, 0.1);
    display: block;
    padding: 22px;
}

.ogdms-profile-section .md\:col-span-2 {
    display: block;
    margin-top: 0 !important;
}

.ogdms-profile-section .px-4 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.ogdms-profile-section .py-5,
.ogdms-profile-section .sm\:p-6 {
    padding: 22px !important;
}

.ogdms-profile-section .bg-white,
.ogdms-profile-section .bg-gray-50 {
    background: #fff !important;
}

.ogdms-profile-section .shadow {
    box-shadow: none !important;
}

.ogdms-profile-section h3 {
    color: #2d1717 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
}

.ogdms-profile-section p,
.ogdms-profile-section .text-sm {
    color: #765858 !important;
}

.ogdms-profile-section label {
    color: #3d2525;
    font-size: 13px;
    font-weight: 650;
    margin-bottom: 7px;
}

.ogdms-profile-section input[type="text"],
.ogdms-profile-section input[type="email"],
.ogdms-profile-section input[type="password"] {
    border: 1px solid #ead7d7 !important;
    border-radius: 7px !important;
    color: #2d1717 !important;
    height: 44px;
    min-height: 44px;
    padding: 0 12px !important;
    width: 100%;
}

.ogdms-profile-section input:focus {
    border-color: #d92027 !important;
    box-shadow: 0 0 0 3px rgba(217, 32, 39, 0.12) !important;
    outline: none !important;
}

.ogdms-profile-section .grid {
    display: grid;
}

.ogdms-profile-section .grid-cols-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.ogdms-profile-section .gap-6 {
    gap: 16px;
}

.ogdms-profile-section .col-span-6,
.ogdms-profile-section .sm\:col-span-4 {
    grid-column: span 6 / span 6;
}

.ogdms-profile-section .flex {
    display: flex;
}

.ogdms-profile-section .items-center {
    align-items: center;
}

.ogdms-profile-section .justify-end {
    justify-content: flex-end;
}

.ogdms-profile-section .text-end {
    text-align: right;
}

.ogdms-profile-section form > .flex.items-center.justify-end {
    background: linear-gradient(180deg, #fff 0%, #fff8f8 100%) !important;
    border-top: 1px solid rgba(217, 32, 39, 0.12);
    gap: 12px;
    min-height: 66px;
}

.ogdms-profile-section button {
    align-items: center;
    border-radius: 8px !important;
    display: inline-flex;
    font-weight: 700 !important;
    gap: 8px;
    justify-content: center;
    letter-spacing: 0 !important;
    min-height: 42px;
    min-width: 112px;
    padding: 0 18px !important;
    text-transform: none !important;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.ogdms-profile-section button[type="submit"],
.ogdms-profile-section .bg-gray-800 {
    background: #d92027 !important;
    border: 1px solid #d92027 !important;
    box-shadow: none !important;
    color: #fff !important;
}

.ogdms-profile-section button[type="submit"]:hover,
.ogdms-profile-section .bg-gray-800:hover {
    background: #b9141b !important;
    border-color: #b9141b !important;
    color: #fff !important;
}

.ogdms-profile-section button[type="submit"]:active,
.ogdms-profile-section .bg-gray-800:active {
    transform: translateY(1px);
}

.ogdms-profile-section .bg-white {
    border: 1px solid #ead7d7 !important;
    color: #6a4545 !important;
}

.ogdms-profile-section .bg-white:hover {
    background: #fff8f8 !important;
    border-color: rgba(217, 32, 39, 0.28) !important;
    color: #b5141b !important;
}

.ogdms-profile-section .text-gray-600 {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.16);
    border-radius: 999px;
    color: #15803d !important;
    font-size: 12px !important;
    font-weight: 700;
    min-height: 30px;
    padding: 6px 11px;
}

.ogdms-profile-section .bg-red-600 {
    background: #d92027 !important;
}

.ogdms-profile-section .text-red-600 {
    color: #d92027 !important;
}

.ogdms-profile-section .rounded-full {
    border-radius: 999px;
}

.ogdms-profile-section .size-20 {
    height: 80px;
    width: 80px;
}

.ogdms-profile-section .object-cover {
    object-fit: cover;
}

@media (max-width: 991px) {
    .ogdms-profile-hero,
    .ogdms-profile-grid,
    .ogdms-profile-section .md\:grid {
        grid-template-columns: 1fr;
    }

    .ogdms-profile-sidebar {
        position: static;
    }

    .ogdms-profile-section .md\:col-span-1 {
        border-bottom: 1px solid rgba(217, 32, 39, 0.1);
        border-right: 0;
    }
}

@media (max-width: 575px) {
    .ogdms-profile-main {
        align-items: flex-start;
        flex-direction: column;
    }

    .ogdms-profile-main h2 {
        font-size: 23px;
    }
}
