body {
    font-family: Roboto, sans-serif;
}

h1, .h1 {
    font-size: 28px;
    font-weight: bold;
}

h2, .h2 {
    font-size: 24px;
    font-weight: bold;
}

h4, .h4 {
    font-size: 20px;
    font-weight: bold;
}

.btn {
    font-weight: 500;
    border-radius: 0;
}

.form-control, .form-select {
    border-radius: 0;
}

#dash-content {
    margin-left: 18rem;
    transition: all 0.3s ease;
    background-color: #ebecf6;
    padding: 1.5rem;
    min-height: 100vh;
}

#dash-page-content {
    padding: 2rem 2rem;
    background-color: white;
}

#dashboard-sidebar {
    overflow-y: auto;
    overflow-x: hidden;
    width: 18rem;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    transition: all 0.3s ease;
    background-color: var(--bs-primary);
    font-size: 1rem;
}

#dashboard-sidebar span {
    white-space: nowrap;
}

/* sidebar minimized --bs- make it better later, too little time */

#dashboard-sidebar.minimized {
    width: 5rem;
    text-align: center;
}

#dashboard-sidebar .logo {
    align-self: center;
}

#dashboard-sidebar.minimized .logo {
    align-self: unset;
}

#dashboard-sidebar.minimized .logo-container {
    display: none;
}

#dashboard-sidebar.minimized ~ #dash-content {
    margin-left: 5rem;
}

#dashboard-sidebar.minimized .nav-link {
    display: block;
    justify-content: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#dashboard-sidebar.minimized span {
    display: none;
}

#dashboard-sidebar .nav-item  i {
    font-size: 1.2rem;
    width: 2rem;
}

#dashboard-sidebar .nav-item.active .nav-link {
    background-color: #1e536e;
}

#dashboard-sidebar .nav-item:not(.logo) .nav-link:hover,
#calendar-link:hover,
#calendar-link.active {
    background-color: #2f80a9;
}

#dashboard-sidebar .nav-item.sub-item .nav-link {
    background-color: var(--bs-secondary);
    font-size: 0.9rem;
}

#dashboard-sidebar .nav-item.sub-item .nav-link {
    height: 2.5rem;
    color: white;
}

#dashboard-sidebar .nav-item.sub-item.active .nav-link {
    font-weight: bold;
    background-color: #6a7785;
}

#dashboard-sidebar .nav-item.sub-item .nav-link:hover {
    background-color: #606b77;
}

#dashboard-sidebar .nav-item a {
    padding-top: 0;
    padding-bottom: 0;
    height: 2.5rem;
}

#dashboard-sidebar .nav-item .nav-link {
    display: flex;
    align-items: center;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    margin-bottom: 0.5rem;
    border-radius: 0.25rem;
}

#dashboard-sidebar .nav-item a {
    color: #dbf3ff;
    align-items: center;
    display: flex;
}

#dashboard-sidebar .dropdown-menu {
    background-color: #0d2c3b;
}

#dashboard-sidebar .dropdown-menu .dropdown-item:hover, #dashboard-sidebar .dropdown-menu .dropdown-item:focus {
    background-color: #2f80a9;
}

#nav-user-button::after {
    margin-left: auto;
}

#dashboard-sidebar .secondary-nav .nav-item a {
    color: #808080;
    font-size: 12px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.icon-link {
    padding-right: 0;
    padding-left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.icon-link i {
    font-size: 1.5em;
    padding-left: 1rem;
    padding-right: 1rem;
    margin: auto;
}

.icon-link a {
    height: 100%;
    display: flex;
}

.icon-link a:not(:hover) {
    color: #8998AA;
}

#search-header a:hover {
    text-decoration: none;
}

#search-header .search-title a {
    color: #212529;
}

#search-header .row {
    height: 5rem;
}

#search-header h1, #edit-header h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

#search-container input {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    padding-left: 3rem;
    border-radius: 1rem;
    border-color: transparent;
}

input::placeholder {
    color: #DDDDDD;
}

#search-container {
    position: relative;
}

#search-container:before {
    content: "\f002";
    font-family: "Font Awesome 5 Pro";
    font-weight: bold;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #8998AA;
    display: block;
    font-size: 16px;;
}

.content {
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.content, .content-border {
    border: 2px solid #E9E9E9;
    border-radius: 1rem;
}

.content label:not(.btn), label:not(.btn) {
    color: var(--bs-primary);
    margin-bottom: 0.25rem;
    font-weight: bold;
}

table.table td, table.table th {
    vertical-align: middle;
    padding: 1rem;
}

table.table thead th {
    font-size: 14px;
    border-top: 0;
}

table.table tfoot th {
    font-size: 14px;
}

table.table th a {
    color: var(--bs-dark);
    text-decoration: underline;
}

.text-gray {
    color: #8998AA;
}

.ui-widget.ui-widget-content {
    max-width: 50rem;
}

.ui-menu .ui-menu-item-wrapper {
    padding: 0.5rem;
}

.header-search.ui-menu .ui-menu-item-wrapper {
    padding: 1rem;
}

.ui-widget-content .ui-state-active {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
}

.header-search.ui-menu .ui-state-active {
    background-color: var(--bs-light);
    border-color: var(--bs-primary);
    color: unset;
}

.autocomplete-result .result-category {
    color: #8998AA;
}

.autocomplete-result .fa-stack {
    color: var(--bs-primary);
}

.font-weight-medium {
    font-weight: 500 !important;
}

.custom-select {
    -webkit-appearance: none;
    -moz-appearance: none;
}

.select .custom-select {
    font-size: 14px;
    background-image: none;
}

.select {
    position: relative;
}

.dropdown-toggle::after {
    font-weight: 300;
    font-family: "Font Awesome 5 Pro";
    content: "\f078";
    vertical-align: unset;
    border-top: unset;
    border-right: unset;
    border-bottom: unset;
    border-left: unset;
    font-size: 0.8rem;
    margin-left: 0.75rem;
}

.select::after {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 3;
    font-family: "Font Awesome 5 Pro";
    content: "\f078";
    color: #8998AA;
    font-size: 0.8rem;
}

#info-bar .count {
    text-align: right;
    font-size: 0.9rem;
    font-weight: bold;
}

#info-bar .status {
    display: flex;
    font-size: 0.9rem;
}

#info-bar .status a {
    font-weight: bold;
    text-decoration: revert;
}

#info-bar .status > div {
    padding: 5px;
}

#info-bar .status > div:not(:last-child):after {
    content: "|";
    padding-left: 10px;
}

#info-bar .status > div:first-child {
    padding-left: 0;
}

#info-bar .status > div:last-child {
    padding-right: 0;
}

.filter-bubbles {
    display: flex;
    align-items: center;
}

.filter-bubbles > div {
    margin-right: 0.25rem;
}

.filter-bubbles .btn, .button-row .btn {
    font-size: 0.8rem;
}

.button-row {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
}

.button-row > * {
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
}

.styled-checkbox {
    position: absolute;
    opacity: 0;
}
.styled-checkbox + label {
    position: relative;
    cursor: pointer;
    padding: 0;
}
.styled-checkbox + label:before {
    content: '';
    display: inline-block;
    vertical-align: text-top;
    width: 18px;
    height: 18px;
    background: white;
    border: 1px solid #8998AA;
    border-radius: 3px;
}
.styled-checkbox:hover + label:before {
    background: #8998AA;
}
.styled-checkbox:focus + label:before {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}
.styled-checkbox:checked + label:before {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
}
.styled-checkbox:disabled + label {
    color: #b8b8b8;
    cursor: auto;
}
.styled-checkbox:disabled + label:before {
    box-shadow: none;
    background: #ddd;
}
.styled-checkbox:checked + label:after {
    content: '\f00c';
    font-family: "Font Awesome 5 Pro";
    position: absolute;
    left: 3px;
    top: 10px;
    transform: translateY(-50%);
    color: white;
    font-size: 0.8rem;
    font-weight: 400;
}

.table .checkbox-cell {
    width: 2rem;
    vertical-align: middle;
}

.table a {
    font-weight: bold;
    text-decoration: none;
}

.checkbox-cell .form-check {
    padding-left: 0.25rem;
}

.icon-input {
    position: relative;
}

.icon-input input {
    padding-left: 2.25rem;
}

.icon-input:before {
    font-family: "Font Awesome 5 Pro";
    font-weight: normal;
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bs-primary);
    display: block;
}

[data-name="phone"]:before { content: "\f095"; transform: translateY(-50%) rotateZ(90deg); }
[data-name="email"]:before { content: "\f0e0"; }
[data-name="address"]:before { content: "\f041"; }

.tab-content {
    padding: 1rem 0;
}

.nav-tabs .nav-link {
    border-width: 0;
    border-bottom: 2px solid transparent;
    color: var(--bs-dark);
}

.nav-tabs .nav-link.active {
    color: var(--bs-primary);
    background-color: unset;
    border-bottom-color: var(--bs-primary);
    font-weight: bold;
}

#user-info img {
    width: 3rem;
    height: 3rem;
    margin-right: 1rem;
}

.content.disabled, .disabled-section {
    position: relative;
}

.content.disabled:after, .disabled-section:after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    content: '';
    background-color: white;
    opacity: 0.5;
}

.file-upload {
    position: relative;
    overflow: hidden;
}
.file-upload input {
    position: absolute;
    opacity: 0;
    right: 0;
    top: 0;
}

#activity-log ul:not(.template) {
    padding-left: 0;
    overflow-y: scroll;
    max-height: 50vh;
}

/*!* Hide scrollbar for Chrome, Safari and Opera *!*/
/*#activity-log ul:not(.template)::-webkit-scrollbar {*/
/*    display: none;*/
/*}*/

/*!* Hide scrollbar for IE, Edge and Firefox *!*/
/*#activity-log ul:not(.template) {*/
/*    -ms-overflow-style: none;  !* IE and Edge *!*/
/*    scrollbar-width: none;  !* Firefox *!*/
/*}*/

#activity-log ul:not(.template) li:not(.date-label) {
    position: relative;
    margin-top: 1rem;
    margin-right: 1rem;
    margin-left: 0;
    margin-bottom: 1rem;
}

#activity-log li.system .log-title, #activity-log li.system .log-time, #activity-log li.system .log-description {
    color: var(--bs-secondary);
    font-size: 14px;
}

#activity-log ul:not(.template) li.system::before {
    transform: scale(0.5);
    background-color: var(--bs-secondary);
}

#activity-log .log-title {
    font-weight: bold;
}

#activity-log .log-user {
    font-weight: 500;
    color: var(--bs-secondary);
}

#activity-log .log-time {
    color: var(--bs-secondary);
}

.star-rating {
    font-size: 1.25rem;
}

.star-rating:hover {
     unicode-bidi: bidi-override;
     direction: rtl;
 }

.star-rating:hover > i {
    color: #6c757d !important;
}

.star-rating > i:hover:before,
.star-rating > i:hover ~ i:before {
    cursor: pointer;
    color: #ffc107 !important;
}

.contact-primary:after {
    content: "\f005";
    font-family: "Font Awesome 5 Pro";
    font-weight: bold;
    color: var(--bs-primary);
    margin-left: 0.5rem;
}

[contenteditable] {
    min-width: 5rem;
    border-bottom: 2px solid transparent;
}

[contenteditable="true"] {
    border-color: var(--bs-primary);
}

.block-container .far, .menu-category-container .far {
    cursor: pointer;
}

.block-container textarea, .menu-category-container .expanded-content {
    transition: 0.2s;
    height: 0;
    padding: 0;
    opacity: 0;
    overflow: hidden;
}

.block-container .fa-caret-circle-up, .menu-category-container .fa-caret-circle-up {
    display: none;
}

.block-container.active .fa-caret-circle-up, .menu-category-container.active .fa-caret-circle-up {
    display: inline-block;
}

.block-container.active .fa-caret-circle-down, .menu-category-container.active .fa-caret-circle-down {
    display: none;
}

.block-container.active textarea {
    height: 100%;
    padding: 6px 12px;
    opacity: 100%;
    margin-top: .5rem!important;
    overflow: visible;
}

.menu-category-container.active .expanded-content {
    height: 100%;
    opacity: 100%;
    margin-top: .5rem!important;
    overflow: visible;
}

.block-sorting {
    background-color: rgba(124, 200, 244, 0.4);
}

#quick-add-dropdown {
    padding: 0;
}

#quick-add-dropdown::after {
    display: none;
}

.dropdown-menu i {
    font-size: inherit;
    padding-left: 0;
    padding-right: 0;
    margin: inherit;
    width: 20px;
}

.link-icons-menu.show {
    min-width: unset;
    padding: 0;
}

.link-icons-menu .dropdown-item {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

#links:not(.edit-mode) #add-link-form, #links:not(.edit-mode) .link-options {
    display: none;
}

#link-list {
    padding-left: 0;
    margin-bottom: 0;
}

#link-list li {
    display: flex;
    justify-content: space-between;
}

#link-list li:not(:last-child) {
    margin-bottom: 0.5rem;
}

#link-list a {
    font-weight: bold;
    text-decoration: revert;
    text-transform: capitalize;
}

.link-info {
    color: var(--bs-primary);
}

.link-options a {
    color: var(--bs-secondary);
}

.fc-day-top .fc-day-number {
    margin-top: 0.5rem;
    margin-right: 0.5rem;
    cursor: default;
}

.fc-day-top.fc-today .fc-day-number {
    display: block;
    position: relative;
    color: white;
    z-index: 1;
}

.fc-day-top.fc-today .fc-day-number:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--bs-primary);
    color: white;
    border-radius: 50%;
    height: 2rem;
    width: 2rem;
    z-index: -1;
}

.fc-day.fc-today {
    background-color: #FAFAFA !important;
}

.fc-head {
    display: none;
}

.fc-day {
    position: relative;
}

.fc-event-passed {
    opacity: 0.6;
}

.fc-day:before {
    content: "";
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 2px;
    opacity: 0.6;
}

.fc-day.fc-sun:before {
    content: "SUN";
}

.fc-day.fc-mon:before {
    content: "MON";
}

.fc-day.fc-tue:before {
    content: "TUE";
}

.fc-day.fc-wed:before {
    content: "WED";
}

.fc-day.fc-thu:before {
    content: "THU";
}

.fc-day.fc-fri:before {
    content: "FRI";
}

.fc-day.fc-sat:before {
    content: "SAT";
}

.fc-day-number {
    opacity: 0.6;
}

.fc-other-month.fc-day:before {
    opacity: 0.3;
}

.fc-day-header {
    text-transform: uppercase;
    color: #6c757d !important;
    font-weight: 400;
}

.fc-view-container {
    background-color: white;
}

.fc-header-toolbar h2 {
    color: black;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid #dee2e6;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    background-color: white;
}

.fc-header-toolbar .btn-primary {
    color: black;
    background-color: white;
    border: 1px solid #dee2e6;
}

.fc-header-toolbar .fa-chevron-left, .fc-header-toolbar .fa-chevron-right {
    color: #88a0c6;
}

.fc-event-title-container {
    padding: 2px 5px;
}

.fc-event-main {
    cursor: pointer;
}

.fc-content:hover {
    background-color: #efefef;
}

.fc .fc-col-header-cell {
    height: 100%;
}

.fc .fc-col-header-cell .fc-scrollgrid-sync-inner {
    height: 100%;
}

.fc .fc-col-header-cell .fc-col-header-cell-cushion {
    width: 100%;
    height: 100%;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.event-info {
    position: absolute;
    z-index: 10;
    width: 300px;
}

.event-info .close {
    position: absolute;
    top: 8px;
    right: 10px;
    z-index: 100;
}

.event-info li {
    margin-bottom: 15px;
}

.fc-more-cell {
    text-align: left;
    color: #6c757d!important;
    font-size: smaller;
}

.fc-more-cell > div {
    padding-left: 10px;
    padding-top: 20px;
}

#show-month {
    font-size: 24px;
    font-weight: bold;
    display: inline-block;
}

#calendar-header {
    border: 2px solid #E9E9E9;
    border-top-right-radius: 1rem;
    border-top-left-radius: 1rem;
    margin-right: 0;
    margin-left: 0;
}

.fc-row.fc-week .fc-day::before {
    display: none;
}

.fc-row.fc-week:first-child .fc-day::before {
    display: block;
}

.btn {
    font-size: 14px;
}

.btn.btn-lg {
    font-size: 18px;
}

.expand-button {
    color: var(--bs-secondary);
}

.expand-button:hover:before {
    font-weight: bold;
}

.expand-button:before {
    content: "\f331";
}

.collapsed .expand-button:before {
    content: "\f32d";
}

.account-icon, .assigned-to-icon {
    object-fit: cover;
    object-position: center;
}

.assigned-to-icon, .small-circle-icon {
    position: relative;
    display: flex;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: #ffa70f;
    color: black;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    overflow: hidden;
}

.small-circle-icon {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.75rem;
    object-fit: cover;
}

/* style this to fit your needs */
/* and remove [alt] to apply to all images*/
img.assigned-to-icon[alt]:after {
    position: absolute;
    display: flex;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #ffa70f;
    color: black;
    align-items: center;
    justify-content: center;
    content: attr(alt);
}

[contenteditable] {
    margin-bottom: 0;
}

.bootstrap-select .status {
    font-size: 80%;
    color: #8998aa;
    padding: .25rem 1.5rem;
}

.add-menu-item {
    font-size: 0.9rem;
    font-weight: 500;
}

.order-items tr td {
    vertical-align: middle;
}

#payment-progress {
    position: absolute;
    display: flex;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bs-info);
    z-index: 9;
    border-radius: .25rem;
    justify-content: center;
    align-items: center;
    color: white;
    transition: clip-path 0.5s;
    clip-path: polygon(0 0, 0 100%, 0 100%, 0 0);
}

#payment-progress button {
    position: absolute;
    right: 0;
    font-size: 80%;
    top: 0;
    bottom: 0;
}

.success #payment-progress button, .failed #payment-progress button {
    display: none;
}

.success #payment-progress {
    background-color: var(--bs-success);
}

.failed #payment-progress {
    background-color: var(--bs-danger);
}

.payment-in-progress #payment-progress {
    clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0);
}

.payment-in-progress button {
    box-shadow: none !important;
}

#billing .fa-edit {
    color: var(--bs-secondary);
}

#billing.edit-mode .fa-edit {
    color: var(--bs-primary);
}

#billing:not(.edit-mode) #add-billing-form {
    display: none;
}

#billing.edit-mode #no-billing-message {
    display: none;
}

#tokenform iframe {
    height: 10.5rem;
}

#tokenform {
    position: relative;
}

#tokenform.border-success:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bs-success);
    opacity: 0.2;
}

.template {
    display: none;
}

.fc-event.to-do .fc-event-title-container {
    display: flex;
    align-items: center;
}

.fc-event.to-do .fc-event-title-container:before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 0.25rem;
    border-radius: 50%;
    border: 2px solid #8998AA;
    flex-shrink: 0;
}

.fc-event.to-do.complete .fc-event-title-container:before {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
}

.fc-event.to-do.complete .fc-event-title-container:after {
    content: '\f00c';
    font-family: "Font Awesome 5 Pro";
    position: absolute;
    left: 8px;
    font-size: 60%;
    color: white;
}

.fc-event.to-do.complete .fc-event-title-container {
    color: #6c757d;
    text-decoration: line-through;
}

#todos-sidebar .form-check input:checked + .form-check-label {
    color: #6c757d;
    text-decoration: line-through;
}

.calendar-event-type .form-check:not(:last-child) {
    margin-bottom: 1rem;
}

.calendar-event-type .form-check {
    padding-left: 0;
}

.calendar-event-type .styled-checkbox + label:before {
    width: 24px;
    height: 24px;
    margin-right: 0.5rem;
    border-width: 2px;
    border-radius: 50%;
}

.calendar-event-type .styled-checkbox + label:after {
    font-size: 0.9rem;
    left: 5px;
    top: 50%;
}

.calendar-event-type .styled-checkbox + label {
    font-weight: bold;
    color: var(--bs-dark);
    display: flex;
    flex-grow: 1;
    align-items: center;
}

.fc-event.goal-monthly {
    opacity: 1;
}

.fc-event-title:before {
    font-family: "Font Awesome 5 Pro";
    font-weight: 600;
}

.fc-event.goal-monthly .fc-event-title:before {
    content: '\f456';
    margin-right: 5px;
}

.fc-event.event .fc-event-title:before {
    content: '\f133';
    margin-right: 5px;
    font-weight: 400;
}

.fc-event-time {
    order: 1;
    padding: 2px 5px;
}

.company-title {
    position: sticky;
    white-space: nowrap;
    left: 54px;
    /*background: #fefefe;*/
    z-index: 10;
    /*box-shadow: inset -2px 0px 0 0 #dee2e6;*/
}
.company-title > div {
    position: relative;
    z-index: 1;
}
.company-title:before {
    content: '';
    background-color: #fefefe;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

.sticky-checkbox {
    position: sticky;
    white-space: nowrap;
    left: 0;
    background: #fefefe;
    z-index: 10;
}

#activity-log-form,
#add-notes-form {
    margin-bottom: 1rem;
}

#activity-log-form input, #activity-log-form button,
#attendance-log-form input, #attendance-log-form button,
#add-notes-form input, #add-notes-form button,
#vacation-form input, #vacation-form button {
    height: 3rem;
}

#projects-services tr.hovering {
    background-color: var(--bs-light);
}

.sort-asc:after {
    font-weight: 900;
    font-size: 80%;
    content: "▲";
}

.sort-desc:after {
    font-weight: 900;
    font-size: 80%;
    content: "▼";
}

.daily-items-list .btn-daily-item {
    margin-bottom: 0.25rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.btn-add-item {
    position: relative;
    color: var(--bs-secondary);
}

.btn-add-item:before {
    position: absolute;
    content: "\f067";
    font-family: "Font Awesome 5 Pro";
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
}

.btn-daily-item {
    position: relative;
    color: var(--bs-secondary);
    padding-left: 1.5rem;
    width: 100%;
}
.btn-daily-item.checked {
    text-decoration: line-through;
}

.btn-daily-item:before {
    position: absolute;
    content: "\f111";
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
}
.btn-daily-item.checked:before {
    content: "\f058";
    font-weight: 600;
    color: var(--bs-primary);
}

.sort-header[onclick] {
    cursor: pointer;
}

.modal-side {
    width: 60vw;
    float: right;
}
.modal-side .modal-content {
    padding-right: 10vw;
}

.search-input {
    position: relative;
}
.search-input input {
    padding-left: 2.25rem;
}
.search-input:before {
    content: '\f002';
    font-family: 'Font Awesome 5 Pro', serif;
    font-weight: 400;
    position: absolute;
    top: 50%;
    left: 0.75rem;
    transform: translateY(-45%);
    transform-origin: center center;
}

#user-link .nav-link {
    background-color: #0d2c3b;
}

.modal.fade .modal-side {
    transform: translate(10%, 0px);
}

.modal.show .modal-side {
    transform: none;
}

.dashboard-card {
    background-color: #1e536e;
    color: #dbf3ff;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

input[disabled] ~ label {
    color: #9aa8b3;
}

.text-green {
    color: #9ecb6a !important;
}

.larger {
    font-weight: 900;
    font-size: 36px;
    line-height: 36px;
}

.table-max-height:not(.expanded) {
    max-height: 400px;
    overflow: hidden;
    padding-bottom: 3rem;
}

.table-max-height {
    position: relative;
}

.table-max-height .show-all-button {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    border: 1px solid var(--bs-border-color);
    padding: 1rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}

.table-max-height.expanded .show-all-button {
    display: none;
}

.fade-in {
    position: relative;
}
.fade-in:after {
    position: absolute;
    content: '';
    background-color: white;
    z-index: 9;
    pointer-events: none;
    animation-name: report-fade-in;
    animation-duration: 0.5s;
    animation-timing-function: ease-in;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
}

@keyframes report-fade-in {
    from { opacity: 1 }
    to { opacity: 0 }
}

.report-link {
    text-decoration: none;
}
.report-link:hover > div {
    background-color: var(--bs-primary);
    color: white !important;
}
.report-link:hover i {
    filter: brightness(0) invert(1);
}

.failed_zip {
    font-weight: bold;
    color: var(--bs-danger);
}

.clickable-headers thead th {
    cursor: pointer;
}

.loading-overlay {
    position: relative;
}
.loading-overlay:after {
    background-color: white;
    opacity: 0.5;
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.service-activity-log {
    max-height: 300px;
    overflow-y: scroll;
}



/*--------20-07-2026 new page css--------*/
.map-filter-box-main .dropdown > button { padding: 10px; border-radius: 5px; border-top: 2px solid #08B8E0!important; background: transparent; color: #6B7280; position: relative; }
.map-filter-box-main .dropdown > button::after { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-family: "Font Awesome 5 Pro"; content: "\f078"; color: #6B7280; font-size: 12px; }
.legend-dot{ width:14px; height:14px; border-radius:50%; display:inline-block; margin-right:10px; }
.territory-search label{ font-size:10px; letter-spacing:1px; color:#7d8694; }
.territory-search .form-control { border: 1px solid #e5e5e5; box-shadow: none; font-size: 15px; font-weight: 500; padding: 10px; width: 100%; border-radius: 5px !important; padding-right: 40px; }
.territory-search .form-control:focus{ border-color:#e5e5e5; box-shadow:none; z-index:2; }
.territory-search .search-btn { width: 40px; background: #f7a313; color: #fff; border-color: #f7a313; position: absolute; height: 100%; right: 0; border-radius: 5px; padding: 2px; }
.territory-search .search-btn:hover{ background:#eb9808; border-color:#eb9808; color:#fff; }
.map-filter-box-main .form-check label, 
.map-filter-box-main .dropdown-menu > div  { font-size: 14px; font-weight: 400; color: #374151; }
.map-filter-box-main input.form-check-input[type='checkbox'] { width: 16px; height: 16px; }
.dealer-map img { width: 100%; height: auto; }

.dealer-card{ width:220px; background:#2c3e50; border-radius:8px; padding:10px; color:#fff; cursor:pointer; transition:0.3s ease; -webkit-transition:0.3s ease; -moz-transition:0.3s ease; -ms-transition:0.3s ease; -o-transition:0.3s ease; }
.dealer-card:hover { border: none !important; }
.dealer-top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.dealer-name{ display:flex; align-items:center; gap:6px; font-size:14px; font-weight:600; }
.dealer-badge { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 4px; }
.dealer-zips { font-size: 16px; color: #d7d7d7; }
.dealer-image{ margin-top:10px; overflow:hidden; border-radius:6px; max-height:0; opacity:0; transition:.35s ease; }
.dealer-image img{ width:100%; display:block; }
.dealer-card:hover .dealer-image{ max-height:180px; opacity:1; }

.network-health-card{ background:#fff; border:1px solid #e6e9ee; border-radius:8px; padding:16px; }
.network-title { font-size: 18px; font-weight: 700; color: #2c3e50; margin-bottom: 18px; }
.health-item { margin-bottom: 16px; padding: 10px; border: 1px solid #CCD8DD99; border-radius: 8px; }
.health-label{ display:flex; justify-content:space-between; align-items:center; font-size:13px; color:#6b7280; margin-bottom:6px; }
.health-dot{ width:6px; height:6px; border-radius:50%; background:#2dc96b; display:inline-block; margin-right:6px; }
.health-value{ font-weight:600; color:#4b5563; }
.health-value.danger{ color:#e74c3c; }
.progress{ height:4px; background:#edf2f7; border-radius:20px; overflow:hidden; }
.progress-bar{ border-radius:20px; }

.growth-market-card{ background:#fff; border:1px solid #e7eaf0; border-radius:10px; padding:16px; }
.growth-title{ font-size:18px; font-weight:700; color:#394150; margin-bottom:14px; }
.market-box{ border:1px solid; border-radius:10px; padding:10px; height:100%; background:#fff; }
.market-header{ display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }
.market-icon{ width:28px; height:28px; border-radius:8px; display:flex; justify-content:center; align-items:center; font-size:13px; }
.market-growth { font-size: 12px; font-weight: 700; background: #fff; padding: 3px 5px; border-radius: 4px; }
.market-box h6{ font-size:15px; font-weight:700; color:#394150; line-height:1.3; margin-bottom:8px; }
.market-box p{ font-size:13px; color:#808a9b; margin-bottom:2px; }
.market-box small{ font-size:12px; color:#b2b9c5; }
/* Orange */
.orange-border{ border-color:#f8d8a2; background:#fffdf9; }
.orange-bg{ background:#fff3df; color:#f39c12; }
.orange-text{ color:#f39c12; }
/* Blue */
.blue-border{ border-color:#bfe8f8; background:#f8fdff; }
.blue-bg{ background:#dff5fd; color:#1db6e5; }
.blue-text{ color:#1db6e5; }
/* Green */
.green-border{ border-color:#c9ead8; background:#f9fffb; }
.green-bg{ background:#e4f8ed; color:#2ea95b; }
.green-text{ color:#2ea95b; }

.urgent-issues-card{ background:#fff; border:1px solid #e8edf3; border-radius:10px; padding:18px; }
.urgent-title{ font-size:18px; font-weight:700; color:#3d4656; margin-bottom:18px; }
.issue-box{ display:flex; align-items:center; gap:14px; background:#fff6f6; border:1px solid #ffd7d7; border-left:3px solid #ff4d4f; border-radius:10px; padding:12px 14px; margin-bottom:10px; }
.issue-icon{ width:34px; height:34px; border-radius:8px; background:#ef4b4b; color:#fff; display:flex; align-items:center; justify-content:center; font-size:16px; flex-shrink:0; }
.issue-content{ flex:1; }
.issue-content h6{ margin:0 0 3px; font-size:14px; font-weight:700; color:#343a40; }
.issue-content p{ margin:0; font-size:12px; color:#8c95a3; line-height:1.35; }
.resolve-btn{ background:#fff; color:#ff5b5b; border-radius:6px; padding:6px 10px; text-decoration:none; font-size:12px; font-weight:600; white-space:nowrap; transition:.3s; }
.resolve-btn:hover{ background:#ff5b5b; color:#fff; }

.section-header{ display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; }
.section-title{ margin:0; font-size:18px; font-weight:700; color:#3d4656; line-height:1; }
.view-all-btn{ display:inline-flex; align-items:center; gap:8px; color:#10b5eb; font-size:14px; font-weight:500; text-decoration:none; transition:.3s; }
.view-all-btn:hover{ color:#10b5eb; }
.view-all-icon { width: 30px; height: 30px; border: 1px solid #10b5eb; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; transition: .3s; position: relative; }
.view-all-btn:hover .view-all-icon{ background:#10b5eb; color:#fff; }
.view-all-icon::after { content: ""; position: absolute; width: 10px; height: 10px; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(-44deg); left: 7px; top: 9px; border-color: #10b5eb; transition: .3s; }
.view-all-btn:hover .view-all-icon::after{border-color:#fff; }

.filter-right { margin-bottom: 20px; }
.search-box .input-group-text { background: #FAFAFA; border-right: none; color: #a4a8ad; }
.search-box .form-control { box-shadow: none; font-size: 16px; height: 50px; border-radius: 0 5px 5px 0; border-left: 1px solid #ccc; }
.search-box .form-control:focus{ box-shadow:none; border-color:#ced4da; }
.filter-select { height: 50px; font-size: 14px; color: #666; box-shadow: none; border-radius: 5px; }
.filter-select:focus{ box-shadow:none; }
.more-filter-btn { width: 100%; border-radius: 5px; height: 50px; padding: 10px 16px; border: 1px solid #d6d9dd; background: #fff; color: #666; font-size: 13px; }
.more-filter-btn:hover { background: #ff8f33 !important; border-color: #ff8f33 !important; color: #fff !important; }
.filter-btn { padding: 12px 20px; border: 1px solid #bfc5cb; background: #fff; color: #666; font-size: 12px; font-weight: 600; border-radius: 5px; }
.export-btn { padding: 12px 20px; background: #2db8e7; border: 1px solid #2db8e7; color: #fff; font-size: 12px; font-weight: 600; border-radius: 5px; }
.filter-btn:hover{ background:#ff8f33 !important; color: #fff !important; }
.export-btn:hover{ background:#ff8f33 !important; border-color:#ff8f33 !important; color:#fff !important; }

.stats-row { overflow: hidden; background: #fff; }
.stats-box{ display:flex; align-items:center; gap:14px; padding:18px 0; border-right:1px solid #ececec; height:100%; }
.stats-icon { width: 45px; height: 45px; border-radius: 10px; background: #f5f7fa; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.stats-icon.green{ color:#1fa463; }
.stats-icon.blue{ color:#2db8e7; }
.stats-icon.red{ color:#ff5a1f; }
.stats-icon.orange{ color:#f5a000; }
.stats-icon.green-light{ color:#7cb342; }
.stats-content span{ display:block; font-size:14px; color:#666; line-height:1.2; }
.stats-content h4{ margin:4px 0 0; font-size:22px; font-weight:700; color:#222; line-height:1; }

.filter-deta-table-wrap .table-container { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; }
/* Custom Header Toolbar */
.filter-deta-table-wrap .table-toolbar { background-color: #f8f9fa; border-bottom: 1px solid #e2e8f0; padding: 14px 20px; color: #64748b; font-size: 0.875rem; }
.filter-deta-table-wrap table.table { min-width: 1200px; }
/* Table Typography & Spacing */
.filter-deta-table-wrap .table > :not(caption) > * > * { padding: 12px 16px; vertical-align: middle; }
.filter-deta-table-wrap thead th { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.05em; color: #64748b; text-transform: uppercase; border-bottom: 1px solid #e2e8f0 !important; background-color: #ffffff; }
.tab-btn-wrap  button.tab-btn { border: none; background: transparent; color: #5a5a5a; }
 /* Rank Badges */
.rank-badge { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; color: #A6A6A6; }
.rank-1 { background-color: #f59e0b;  color: #fff; }
.rank-2 { background-color: #3b82f6; color: #fff;  }
.rank-3 { background-color: #ccc; color: #fff;  }
/* Dealer Info */
.avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.dealer-name { font-weight: 500; color: #575757; font-size: 0.875rem; line-height: 1.2; }
.dealer-sub { font-size: 0.75rem; color: #94a3b8; }
/* Premier Badge */
.badge-premier { background-color: #fef3c7; color: #d97706; border: 1px solid #fde68a; border-radius: 50rem; padding: 4px 12px; font-size: 0.75rem; font-weight: 500; display: inline-flex; align-items: center; gap: 5px; }
.authorized-premier { background-color: #F7FFEE; color: #89B457; border: 1px solid #E3F1D2; border-radius: 50rem; padding: 4px 12px; font-size: 0.75rem; font-weight: 500; display: inline-flex; align-items: center; gap: 5px; }
.date-main { font-size: 14px; color: #646464; }
/* Custom Progress Bar */
.progress-wrapper { display: flex; align-items: center; gap: 10px; }
.custom-progress { width: 70px; height: 4px; background-color: #e2e8f0; border-radius: 2px; overflow: hidden; }
.custom-progress-bar { height: 100%; background-color: #38bdf8; }
/* Status Pills */
.status-btn { font-size: 0.75rem; font-weight: 600; padding: 4px 14px; border-radius: 6px; display: inline-flex; align-items: center; gap: 6px; }
.status-activate { background-color: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.status-at-risk { background-color: #fef2f2; color: #ef4444; border: 1px solid #fecaca; }
/* Actions Column */
.action-icons i { font-size: 1rem; color: #475569; cursor: pointer; margin-right: 8px; transition: color 0.15s ease; }
.action-icons i:hover { color: #0f172a; }
.action-icons i.delete-icon { color: #ef4444; }
.action-icons i.delete-icon:hover { color: #dc2626; }
/* Custom Checkbox */
.form-check-input { border-color: #cbd5e1; cursor: pointer; }
.action-icons button { background: transparent; border: none; border-radius: 50px; height: 35px; width: 35px; transition: 0.3s ease-in; }
.action-icons button:hover { background-color: #d1d1d1; }

.badge-management-page { padding: 0 !important; overflow-x: hidden; }
.badge-management-page .container-fluid { padding: 0 !important; }
.badge-main { position: relative; overflow: hidden; padding: 100px 20px; height: 500px; text-align: center; }
.bg-img { width: 100%; height: 100%; position: absolute; top: 0; left: 0; object-fit: cover; z-index: 0; }
.bg-img img { width: 100%; height: 100%; object-fit: cover; }
.badge-banner-text { position: absolute; padding: 0 20px; width: 100%; max-width: 600px; margin: 0 auto; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.badge-banner-text span { border: 1px solid #fff; padding: 5px 15px; margin-bottom: 12px; display: inline-block; border-radius: 40px; color: #fff; backdrop-filter: blur(4px); }
.badge-banner-text h1 { color: #fff; font-size: clamp(1.875rem, 1.525rem + 1.333vw, 3.125rem); font-weight: 500; }
.badge-banner-text p { color: #fff; margin-bottom: 0; }

.badge-content { padding: 1.5rem; background: #fff; }
.page-wrap { padding: 32px 0 50px; }
.page-title { font-weight: 700; font-size: 1.5rem; color: #1c1f26; margin-bottom: 2px; }
.page-wrap button.btn { background: #31B7E0; border: 1px solid #31B7E0; padding: 10px 20px; border-radius: 5px; }
.page-subtitle { color: #8a8f98; font-size: 0.9rem; }
.badge-card { position: relative; border-radius: 12px; border: 1px solid; padding: 18px 18px 14px; height: 100%; display: flex; flex-direction: column; }
.badge-card--premier { background: #FFDF99; border-color: #FF9B31; border-top: 10px solid #FF9B31; }
.badge-card--authorized { background: #eef7fd; border-color: #31B7E0; border-top: 10px solid #31B7E0; }
.badge-card--standard { background: #F3FFE5; border-color: #9CC869; border-top: 10px solid #9CC869; }
.badge-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.badge-card-title-group { display: flex; align-items: center; gap: 10px; }
.badge-icon-wrap { width: 62px; height: 62px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.badge-icon-wrap img { width: 38px; height: 38px; }
.badge-card--premier .badge-icon-wrap { background: #FF9B31; border: 1px solid #C26400; }
.badge-card--authorized .badge-icon-wrap { background: #CDF2FF; border: 1px solid #31B7E0; }
.badge-card--standard .badge-icon-wrap { background: #D7F3B7; border: 1px solid #9CC869; }
.badge-card-title { font-weight: 500; font-size: 20px; color: #1c1f26; margin: 0; line-height: 1.1; }
.bagde-img-box { position: absolute; top: 50%; transform: translateY(-50%); right: 20px; }
.tier-pill { background: #404040; color: #fff; font-size: 14px; font-weight: 400; padding: 4px 9px; border-radius: 4px; white-space: nowrap; }
.section-label { font-size: 14px; font-weight: 400; color: #5C5C5C; margin-bottom: 12px; }
.revenue-value { font-size: 24px; margin-bottom: 14px; }
.qual-list { list-style: none; padding: 0; margin: 0 0 14px; flex-grow: 1; }
.qual-list li { font-size: 16px; color: #3c4148; margin-bottom: 7px; padding-left: 16px; position: relative; }
.qual-list li::after { content: ''; position: absolute; width: 5px; height: 12px; border-right: 1px solid; border-bottom: 1px solid; border-color: #141414; left: 0; top: 5px; transform: rotate(45deg); }
.badge-card--premier .qual-list li::after { border-color: #FF9B31; }
.badge-card--authorized .qual-list li::after { border-color: #31B7E0; }
.badge-card--standard .qual-list li::after { border-color: #9CC869; }
.badge-card--premier .badge-card-footer { border-color: #FF9525; }
.badge-card--authorized .badge-card-footer { border-color: #31B7E0; }
.badge-card--standard .badge-card-footer { border-color: #9CC869; }
.qual-list li .check { color: #4caf50; font-weight: 700; line-height: 1.3; }
.badge-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid rgba(0,0,0,0.06); font-size: 0.8rem; }
.active-count { display: flex; align-items: center; gap: 6px; color: #3c4148; font-size: 14px; }
.active-count img { width: 24px; height: 24px; }
.status-pill { display: flex; align-items: center; gap: 4px; font-size: 14px; padding: 5px 12px; border-radius: 5px; }
.status-pill img { width: 11px; height: 11px; }
.status-pill--risk { background: #fde7e5; color: #d64541; border: 1px solid #F4C9C3; }
.status-pill--stable { background: #F5FFF7; color: #00AD20; border: 1px solid #C9F4D1; }
.prv-nxt-btngrp .btn { background: #efefef; border: 1px solid #bdbdbd; color: #838383; padding: 8px 20px; border-radius: 5px; }

.toolbar { display: flex; gap: 8px; width: 100%; padding-bottom: 30px; border-bottom: 1px solid #e3e3e3; flex-wrap: wrap; }
.item { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 8px; white-space: nowrap; border: 1px solid #E5E5E5; background: #FAFAFA; }
.icon { width: 18px; height: 18px; flex-shrink: 0; color: #6b6b6b; }
.stat .icon { margin-top: 1px; }
.stat-text { display: flex; flex-direction: column; line-height: 1.25; }
.stat-label { font-size: 12px; color: #8a8a8a; }
.stat-value { font-size: 13px; color: #1a1a1a; }
.action { cursor: pointer; background: transparent; font-size: 13px; font-weight: 500; color: #404040; font-family: inherit; border: 1px solid #D4D4D4; }
.action .icon { color: #1a1a1a; }
.action:hover { background: #f2f2f2; }
.action.primary { background: #111111; color: #ffffff; }
.action.primary .icon { color: #ffffff; }
.action.primary:hover { background: #000000; }
.record-wrap-box { padding: 30px 0; }
.erp-card { border-radius: 14px; overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,0.08); background: #ffffff; height: 100%; }
.erp-header { padding: 10px 20px; gap: 10px; flex-wrap: wrap; }
.erp-card.record-box .erp-header { background: #690DD3; }
.erp-header .app-name { color: #ffffff; font-weight: 600; font-size: 15px; }
.erp-card.record-box .erp-header span.badge-source { background: #51B16F; }
.erp-header .badge-source { color: #fff; font-size: 12px; padding: 5px 12px; border-radius: 4px; }
.erp-body { padding: 20px; }
.erp-body .section-label { color: #9a9a9a; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 10px;  text-transform: uppercase; }
.erp-row { display: flex; align-items: center; padding: 12px 8px; border-radius: 8px; background: #f7f7f8; gap: 5px; }
.erp-row:not(:last-child) { margin-bottom: 10px; }
.erp-row .icon-wrap { width: 20px; color: #9a9a9a; }
.erp-row .row-label { color: #555555; font-size: 14px; }
.erp-row .row-value { margin-left: auto; color: #1a1a1a; font-size: 14px; text-align: right; }
.erp-row .status-pill { background: #e8e8e8; color: #333333; font-size: 12px; padding: 3px 12px; border-radius: 4px; }
.erp-card.routing-box .erp-header { background: #0969C9; }
.erp-card.routing-box .erp-header span.badge-source { background: #2D83D9; }
.erp-card.output-box .erp-header { BACKGROUND: #9FCB6A; }
.erp-card.output-box .erp-header span.badge-source { background: #737373; }

.flow-strip { display: flex; align-items: center; gap: 14px; background: #ffffff; border: 1px solid #e5e5e5; border-radius: 10px; padding: 15px 20px; width: 100%; margin-bottom: 30px; overflow-x: auto; }
.pill { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 5px; font-size: 13px; white-space: nowrap; }
.pill-icon { width: 16px; height: 16px; flex-shrink: 0; }
.pill-purple { background: #690DD3; color: #ffffff; }
.pill-blue { background: #0969C9; color: #ffffff; }
.pill-green { background: #9FCB6A; color: #fff; }
.flow-text { font-size: 13px; color: #555555; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.flow-note { display: flex; align-items: center; gap: 8px; border: 1px solid #e5e5e5; border-radius: 5px; padding: 8px 16px; font-size: 13px; color: #555555; white-space: nowrap; }
.flow-note .icon-wrap { color: #9a9a9a; }



.sync-review-wrapper { background: #ffffff; border: 1px solid #e5e5e5; border-radius: 14px; padding: 18px 20px; }
.sync-review { overflow-x: auto;}
.sync-review table{ min-width: 1200px; }
/* Header */
.queue-header { padding-bottom: 14px; margin-bottom: 4px; flex-wrap: wrap; gap: 10px; }
.header-icon { width: 16px; height: 16px; color: #1a1a1a; }
.queue-title { font-size: 15px; font-weight: 600; color: #1a1a1a; }
.item-count { font-size: 12px; color: #9a9a9a; font-weight: 500; background: #f3f3f3; padding: 3px 10px; border: 1px solid #E5E5E5; border-radius: 5px; }
.btn-filter { background: #ffffff; border: 1px solid #e5e5e5; border-radius: 8px; font-size: 12px; font-weight: 500; color: #555555; padding: 6px 12px; }
.btn.btn-filter:hover { background: #ccc; }
.btn-filter:hover { background: #f7f7f7; }
/* Table */
.sync-table { width: 100%; border-collapse: collapse; }
.sync-table thead th { border-bottom: 1px solid #e5e5e5; background: #fafafa; color: #737373; padding: 10px 12px; white-space: nowrap; font-weight: 400; }
.sync-table tbody td { border-bottom: 1px solid #f0f0f0; padding: 14px 12px; vertical-align: middle; font-size: 13px; color: #333333; }
.sync-table tbody tr:last-child td { border-bottom: none; }
.epicor-id { color: #555555; font-weight: 500; white-space: nowrap; }
.dealer-sub { color: #9a9a9a; font-size: 12px; margin-top: 2px; }
/* Match badge */
.badge-match { display: inline-block; background: #f2f2f2; color: #9a9a9a; font-size: 12px; padding: 4px 10px; border-radius: 6px; }
.badge-match-linked { background: #1a1a1a; color: #ffffff; }
/* Change type */
.change-type { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #333333; white-space: nowrap; }
.change-icon { width: 14px; height: 14px; color: #9a9a9a; flex-shrink: 0; }
/* Status pills */
.sync-review-wrapper span.status-pill { display: inline-block; border-radius: 30px; padding: 2px 10px;}
.status-pending-review { background: #f2f2f2; color: #555555; border: 1px solid #ccc;}
.status-pending-approval { background: #f2f2f2; color: #555555; border: 1px solid #ccc; }
.status-requires-action { background: #1a1a1a; color: #ffffff; }
.status-conflict { background: #1a1a1a; color: #ffffff; }
/* Action buttons */
.btn-dark-action { background: #1a1a1a; color: #ffffff; border: none; border-radius: 5px; font-size: 12px; font-weight: 500; padding: 6px 14px; margin-right: 6px; white-space: nowrap; -webkit-border-radius: 5px; -moz-border-radius: 5px; -ms-border-radius: 5px; -o-border-radius: 5px; }
.btn-dark-action:hover { background: #000000; }
.btn-outline-action { background: #ffffff; color: #1a1a1a; border: 1px solid #e5e5e5; border-radius: 5px; font-size: 12px; font-weight: 500; padding: 6px 14px; white-space: nowrap; -webkit-border-radius: 5px; -moz-border-radius: 5px; -ms-border-radius: 5px; -o-border-radius: 5px; }
.btn-outline-action:hover { background: #f7f7f7; }

@media all and (max-width: 1600px) {
    .map-right-main .growth-market-card .col-lg-4.col-md-6 { width: 50%; }
    .bagde-img-box { position: unset; transform: unset; margin-bottom: 20px; }

    .record-wrap-box .col-lg-4.col-md-6 { width: 50%; }
}

@media all and (max-width: 1440px) {
    .map-filter-box-main .col-lg-3.col-md-6 { width: 50%; }
    .filter-status-wrap .col-lg.col-md-6.col-12 { width: 30%; flex: 0 0 auto; }
}
@media all and (max-width: 1360px) {
    .map-right-main .growth-market-card .col-lg-4.col-md-6 { width: 100%; }
    .issue-box { flex-direction: column; align-items: start; }
    .section-header { flex-direction: column; gap: 10px; align-items: start; }
    .filter-left-wrap > .row { flex-direction: column; gap: 20px; }
    .filter-left-wrap > .row .col-lg-8 { width: 100%; }

    .page-wrap .col-12.col-md-4 { width: 50%; }
    .badge-icon-wrap { width: 50px; height: 50px; }
    .badge-icon-wrap img { width: 28px; height: 28px; }
    .badge-card--premier { border-top: 6px solid #FF9B31; }
    .badge-card--standard { border-top: 6px solid #9CC869; }
    .badge-card--authorized { border-top: 6px solid #31B7E0; }
}

@media all and (max-width: 1199px) {
    .filter-select-wrap .col-lg-3 { width: 50%; margin-bottom: 20px; }
}

@media all and (max-width: 992px) {
    #dashboard-sidebar:not(.sidebar-shown) {
        max-height: 10vh;
        overflow-y: hidden;
    }

    #dashboard-sidebar:not(.sidebar-shown) ~ #dash-content {
        margin-left: 0;
        margin-top: 5.5rem;
    }

    #dashboard-sidebar:not(.sidebar-shown) .nav li:not(:first-child) {
        display: none;
    }

    #dash-page-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    #dashboard-sidebar {
        width: 100vw;
        z-index: 99;
    }

    .company-title {
        white-space: unset;
        width: 10rem;
    }

    .logo-container img {
        height: 3rem;
        width: auto;
    }

    .map-right-main .growth-market-card .col-lg-4.col-md-6 { width: 50%; }
    .issue-box { flex-direction: unset; align-items: center; }
    .section-header { flex-direction: unset; align-items: center; }
    .badge-main { padding: 60px 20px; height: 330px; }
}

@media(max-width:991px){
    .stats-box{
        border-right:none;
        border-bottom:1px solid #ececec;
    }

    .col-lg:last-child .stats-box{
        border-bottom:none;
    }
}

@media(max-width:767px){
    .filter-status-wrap .col-lg.col-md-6.col-12 { width: 50%; flex: 0 0 auto; }

    .record-wrap-box .col-lg-4.col-md-6 { width: 100%; }
}

@media screen and (max-width: 575px) {
    .map-filter-box-main .col-lg-3.col-md-6 { width: 100%; }
    .map-right-main .growth-market-card .col-lg-4.col-md-6 { width: 100%; }

    .filter-select-wrap .col-lg-3 { width: 100%; }
    .filter-status-wrap .col-lg.col-md-6.col-12 { width: 100%; }
    .table-toolbar div:first-child { flex: 1; }

    .page-wrap .col-12.col-md-4 { width: 100%; }
    .bagde-img-box { position: absolute; transform: translateY(-50%); margin-bottom: 0; }
    .page-wrap { padding: 10px 0 30px; }
}

@media screen and (max-width: 430px) {
    .bagde-img-box { position: unset; transform: unset; margin-bottom: 15px; }
}

@media screen and (max-device-width: 100em) {
    table td, table th {
        font-size: 0.8rem !important;
    }
}
