@charset "UTF-8";

body {
    font-family: "Roboto", sans-serif;
    margin: 0;
    padding: 0;
    font-size: 14px;
    height: 100%;
}

html {
    height: 100%;
}

.login-container {
    background: url("./images/login-background.jpg") center center/cover no-repeat;
    height: 100vh;
    position: relative;
}

    .login-container h2 {
        font-size: 36px;
    }

@media (min-width: 1500px) {
    .login-container h2 {
        font-size: 48px;
    }
}

.login-container p {
    font-size: 18px;
}

@media (min-width: 1500px) {
    .login-container p {
        font-size: 20px;
    }
}

.login-container .left-desc {
    max-width: 100%;
    gap: 30px;
}

@media (min-width: 1200px) and (max-width: 1499px) {
    .login-container .left-desc {
        max-width: 90%;
    }
}

@media (min-width: 1500px) {
    .login-container .left-desc {
        max-width: 90%;
    }
}

.login-card {
    border-radius: 1.5rem;
    box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.08);
}

    .login-card h5 {
        font-size: 20px;
    }

.custom-tabs .nav-link {
    font-weight: 500;
    color: #6A6A6A;
    border: none;
    border-bottom: 1px solid transparent;
    padding: 0.75rem 1rem;
}

    .custom-tabs .nav-link svg {
        fill: #6A6A6A;
    }

    .custom-tabs .nav-link.active {
        color: #000;
        border-bottom: 2px solid #000;
        font-weight: 600;
    }

        .custom-tabs .nav-link.active svg {
            fill: rgb(249, 66, 58);
        }

        .custom-tabs .nav-link.active .icon-bg {
            background: rgba(249, 66, 58, 0.1);
        }

.icon-bg {
    background: rgba(108, 117, 125, 0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-danger {
    background: rgb(249, 66, 58);
    border: 1px solid rgb(249, 66, 58);
}

.notification-item {
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    border-left: 3px solid transparent !important;
}

    .notification-item:hover {
        background-color: rgb(255, 232, 231);
    }

    .notification-item.read {
        border-left: 3px solid #DA291C !important;
    }

        .notification-item.read .notification-title {
            font-weight: 600 !important;
        }

        .notification-item.read .notification-date {
            font-weight: 600 !important;
        }

        .notification-item.read .notification-subtitle {
            font-weight: 500 !important;
        }

.notification-title {
    font-weight: 700;
    font-size: 15px;
}

.notification-subtitle {
    font-size: 12px;
    color: #6A6A6A;
}

.notification-date {
    font-size: 12px;
    color: #000;
    font-weight: 600;
    width: 80px;
}

.nav-tabs .nav-link {
    color: #000;
    fill: #6A6A6A;
    border: none;
    position: relative;
}

    .nav-tabs .nav-link.active .icon::before {
        color: #DA291C !important;
        stroke: #DA291C !important;
        font-weight: 400;
    }

    .nav-tabs .nav-link.active {
        color: #DA291C !important;
        stroke: #DA291C !important;
        font-weight: 400;
        border: none;
    }

        .nav-tabs .nav-link.active .icon-Fleet .path1::before {
            color: #DA291C !important;
        }

        .nav-tabs .nav-link.active .icon-Fleet .path2::before {
            color: #DA291C !important;
        }

        .nav-tabs .nav-link.active::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            height: 3px;
            width: 100%;
            background-color: #DA291C;
            border-radius: 1.5px;
        }

.table-section .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.table-section .dropdown-item.active {
    background-color: #DA291C;
    color: #fff;
}

.dropdown-item:active {
    background-color: #DA291C;
    color: #fff;
}

.form-control,
.form-select {
    border-radius: 6px;
}

    .form-control:focus,
    .form-select:focus {
        border-color: #6A6A6A;
        color: #6A6A6A;
        background-color: #fff;
        box-shadow: none;
        outline: none;
    }

.form-check-input {
    border: 1px solid #6A6A6A;
}

.offcanvas .form-control:focus,
.offcanvas .form-select:focus {
    border-color: #9A9A9A;
    color: #6A6A6A;
    background-color: #fff;
    box-shadow: none;
    outline: none;
}

.btn-close:focus {
    box-shadow: none;
}

.supply-row button {
    border: 1px solid #D6D6D6;
    padding: 6px 14px !important;
    min-width: 120px;
    justify-content: center;
}

    .supply-row button:hover {
        background-color: #F5F5F5;
        border: 1px solid #D6D6D6;
    }

.component-title {
    color: #9d7cd8;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

    .component-title::before {
        content: "◆";
        margin-right: 8px;
        font-size: 12px;
    }

.collapsible-item {
    background-color: #f8f9fa;
    border: none;
    border-radius: 6px;
    margin-bottom: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

    .collapsible-item .collapsible-header {
        background: #fff;
        border: 1px solid #EAEAEA;
        padding: 12px 16px;
        width: 100%;
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: #296CC3;
        font-weight: 500;
        font-size: 14px;
        box-shadow: 0px 4px 32px 0px rgba(0, 0, 0, 0.0784313725);
        transition: all 0.3s ease;
    }

        .collapsible-item .collapsible-header .toggle-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 18px;
            height: 18px;
            font-size: 15px;
            border: 1px solid #666;
            color: #000;
        }

    .collapsible-item .collapsible-content {
        background-color: #fff;
        border: 1px solid #EAEAEA;
        transition: all 0.3s ease;
    }

.offcanvas {
    min-width: 650px;
}

@media (min-width: 1900px) {
    .offcanvas {
        min-width: 40%;
    }
}

.service-call .card {
    padding: 20px 24px;
    border: 1px solid #fff;
    height: 100%;
}

    .service-call .card .card-header {
        border: none;
        padding: 0;
    }

        .service-call .card .card-header h6 {
            font-size: 20px;
            font-weight: 500;
        }

        .service-call .card .card-header a {
            text-decoration: none;
            color: #DA291C;
        }

    .service-call .card .list-group-item {
        border: none;
        padding: 12px 0;
        border-radius: 8px;
    }

        .service-call .card .list-group-item p {
            font-size: 15px;
            font-weight: 500;
        }

        .service-call .card .list-group-item span {
            color: #6A6A6A;
            font-size: 12px;
        }



span.assigned {
    border: 1px solid #CDE3FF;
    background-color: #E6F0FF;
    padding: 8px 16px;
    color: #296CC3 !important;
    border-radius: 25px;
    font-weight: 400;
    min-width: 90px;
}

span.completed {
    border: 1px solid #EAEAEA;
    background-color: #fff;
    padding: 8px 16px;
    color: #3A3A3A !important;
    border-radius: 25px;
    font-weight: 400;
    min-width: 90px;
}

span.new {
    border: 1px solid #FCC36D;
    background-color: #FFF4EB;
    padding: 8px 16px;
    color: #FF7B1C !important;
    border-radius: 25px;
    font-weight: 400;
    min-width: 90px;
}

td span.new {
    border: 1px solid #EAEAEA;
    background-color: #FFF3E0;
    padding: 6px 30px;
    color: #F57C00;
    border-radius: 25px;
    font-weight: 400;
    min-width: 115px;
}

span.in-process {
    border: 1px solid #CDE3FF;
    background-color: #E6F0FF;
    padding: 8px 16px;
    color: #296CC3 !important;
    border-radius: 25px;
    font-weight: 400;
    min-width: 90px;
}

td span.in-process {
    border: 1px solid #EAEAEA;
    background-color: #fff;
    padding: 6px 24px;
    color: #296CC3 !important;
    border-radius: 25px;
    font-weight: 400;
    min-width: 115px;
}

span.acknowledged {
    border: 1px solid #EAEAEA;
    background-color: #fff;
    padding: 8px 16px;
    color: #3A3A3A !important;
    border-radius: 25px;
    font-weight: 400;
    min-width: 90px;
}

td span.acknowledged {
    border: 1px solid #EAEAEA;
    background-color: #E0F2F1;
    padding: 6px 24px;
    color: #296CC3 !important;
    border-radius: 25px;
    font-weight: 400;
    min-width: 115px;
}

td span.pending {
    border: 1px solid #FCC36D;
    background-color: #FFF4EB;
    padding: 6px 30px;
    color: #FF7B1C !important;
    border-radius: 25px;
    font-weight: 400;
    min-width: 115px;
}

td span.assigned {
    border: 1px solid #CDE3FF;
    background-color: #E6F0FF;
    padding: 6px 24px;
    color: #296CC3 !important;
    border-radius: 25px;
    font-weight: 400;
    min-width: 115px;
}

td span.completed {
    border: 1px solid #EAEAEA;
    background-color: #fff;
    padding: 6px 24px;
    color: #3A3A3A !important;
    border-radius: 25px;
    font-weight: 400;
    min-width: 115px;
}

.chart-container {
    position: relative;
    width: 200px;
    height: 200px;
}

.donut-chart {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    background: conic-gradient(from 0deg, #6B82FF 0deg, #BCC6FF 144deg, #32D06F 144deg, #A2FFC6 230deg, #FF7B1C 230deg, #FFD4B5 310deg, #F2F2F7 310deg, #F2F2F7 360deg);
}

    .donut-chart::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 65%;
        height: 65%;
        background: #fff;
        border-radius: 50%;
    }

.center-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.device-count {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin: 0;
    line-height: 1;
}

.device-label {
    font-size: 16px;
    color: #6A6A6A;
    margin: 8px 0 0 0;
    font-weight: 500;
}


.info-card .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

    .info-card .dot.blue {
        background-color: #7086FD;
    }

    .info-card .dot.yellow {
        background-color: #FFB47E;
    }

    .info-card .dot.grey {
        background-color: #D6D6D6;
    }

    .info-card .dot.green {
        background-color: #6FD195;
    }

.info-card .label {
    font-size: 16px;
    color: #3A3A3A;
}

.info-card .value {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

.profile-section {
    background: #EAEAEA;
}

.breadcrumb .breadcrumb-item a {
    color: #6A6A6A;
    text-decoration: none;
}

.breadcrumb .breadcrumb-item.active {
    color: #000;
    font-size: 20px;
    font-weight: 500;
}

.inner-profile-section {
    padding-bottom: 25px;
}

    .inner-profile-section h4 {
        font-size: 20px;
    }

    .inner-profile-section p {
        font-size: 15px;
        color: #3A3A3A;
    }

.profile-info {
    border-top: 1px solid #EAEAEA;
    padding-top: 25px;
}

    .profile-info p {
        font-size: 13px;
        font-weight: 500;
        color: #6A6A6A;
        margin-bottom: 25px;
    }

    .profile-info .d-flex p {
        min-width: 130px;
        font-size: 15px;
        font-weight: 400;
    }

    .profile-info .d-flex span {
        font-size: 15px;
        color: #000;
    }

    .profile-info button {
        border: 1px solid #DA291C;
        background-color: #DA291C;
        color: #fff;
        padding: 10px 16px;
        min-width: 120px;
        border-radius: 8px;
    }

.outer-profile-section {
    border: 1px solid #EAEAEA;
    background-color: #fff;
    padding: 20px;
}

.floating-label {
    position: relative;
}

    .floating-label input {
        width: 100%;
        padding: 12px;
        padding-bottom: 6px;
        border: 1px solid #ccc;
        border-radius: 4px;
        outline: none;
        font-size: 16px;
    }

        .floating-label input:focus {
            border-color: #0d6efd;
        }

        .floating-label input:not(:-moz-placeholder) + label {
            top: 2px;
            left: 8px;
            font-size: 10px;
            background: #fff;
            padding: 0 4px;
            color: #0d6efd;
        }

        .floating-label input:focus + label, .floating-label input:not(:placeholder-shown) + label {
            top: 2px;
            left: 8px;
            font-size: 10px;
            background: #fff;
            padding: 0 4px;
            color: #0d6efd;
        }

    .floating-label label {
        position: absolute;
        left: 12px;
        top: 12px;
        color: #777;
        pointer-events: none;
        transition: all 0.2s ease-in-out;
    }

#equipmentDetailsWrapper .nav-tabs, #locationDetailsContainer .nav-tabs {
    border: none;
}

    #equipmentDetailsWrapper .nav-tabs button.nav-link, #locationDetailsContainer .nav-tabs button.nav-link {
        font-size: 15px;
    }

        #equipmentDetailsWrapper .nav-tabs button.nav-link.active, #locationDetailsContainer .nav-tabs button.nav-link.active {
            background: transparent;
            color: #3A3A3A !important;
            font-weight: 500;
        }

            #equipmentDetailsWrapper .nav-tabs button.nav-link.active::after, #locationDetailsContainer .nav-tabs button.nav-link.active::after {
                background-color: #6A6A6A;
            }

#equipmentDetailsWrapper #equipmentDetailsContent, #locationDetailsContainer #equipmentDetailsContent {
    margin-top: 15px;
}

    #equipmentDetailsWrapper #equipmentDetailsContent .tab-pane, #locationDetailsContainer #equipmentDetailsContent .tab-pane {
        border: 1px solid #EAEAEA;
    }

#offcanvasAddUsers .offcanvas-header, #userOffcanvas .offcanvas-header {
    padding: 0;
}

#offcanvasAddUsers .upload-img, #userOffcanvas .upload-img {
    cursor: pointer;
}

#offcanvasAddUsers input[type=file], #userOffcanvas input[type=file] {
    display: none;
}

#offcanvasAddUsers label, #userOffcanvas label {
    min-width: 150px;
    font-size: 15px;
}

#offcanvasAddUsers .offcanvas-body .dropdown, #userOffcanvas .offcanvas-body .dropdown {
    width: 100%;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

    #offcanvasAddUsers .offcanvas-body .dropdown button, #userOffcanvas .offcanvas-body .dropdown button {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #offcanvasAddUsers .offcanvas-body .dropdown .dropdown-menu, #userOffcanvas .offcanvas-body .dropdown .dropdown-menu {
        left: 0 !important;
        right: 0 !important;
    }

#offcanvasAddUsers .form-check-input:checked, #userOffcanvas .form-check-input:checked {
    background-color: #3A3A3A;
    border-color: #3A3A3A;
}

#offcanvasAddUsers .switch, #userOffcanvas .switch {
    position: relative;
    display: inline-block;
    width: 46px !important;
    min-width: auto;
    height: 24px;
}

    #offcanvasAddUsers .switch input, #userOffcanvas .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

        #offcanvasAddUsers .switch input:checked + .slider, #userOffcanvas .switch input:checked + .slider {
            background-color: #2196f3;
        }

            #offcanvasAddUsers .switch input:checked + .slider::before, #userOffcanvas .switch input:checked + .slider::before {
                transform: translateX(22px);
            }

    #offcanvasAddUsers .switch .slider, #userOffcanvas .switch .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #aaa;
        transition: 0.4s;
        border-radius: 24px;
    }

        #offcanvasAddUsers .switch .slider::before, #userOffcanvas .switch .slider::before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 3px;
            bottom: 3px;
            background-color: #fff;
            transition: 0.4s;
            border-radius: 50%;
        }

.edit-button:hover {
    background: transparent;
    color: #6A6A6A;
}

.input-group {
    border-radius: 6px;
}

    .input-group .form-control:focus {
        border-color: transparent;
    }

.ticket-id {
    display: flex;
    justify-content: space-between;
}

    .ticket-id p {
        color: #000000;
        size: 18px;
        font-weight: 500;
    }

    .ticket-id span {
        font-size: 18px;
        color: #296CC3;
    }

/* Fleet title text */
.fleet-title {
    font-size: 13px;
    font-weight: 500;
    color: rgb(41, 108, 195);
    text-transform: uppercase;
}

.fleet-fms-title {
    font-size: 12px; /* Small and sophisticated */
    font-weight: 700; /* Bold weight for presence */
    text-transform: uppercase; /* Standard for product taglines */
    letter-spacing: 2.2px; /* Increased tracking for readability */
    color: #0056b3; /* Matching the blue branding in your dashboard */
    opacity: 0.85; /* Slightly softened so it doesn't compete with the logo */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-top: 2px;
}

@media (max-width: 767px) {
    .fleet-title {
        display: none;
    }
}

/* Mobile Styles */
@media (max-width: 767px) {
    /* Sidebar Menu */
    #mobileMenu {
        position: fixed;
        top: 10px;
        left: -100%;
        height: 100vh;
        width: 98%;
        background: #fff;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.15);
        overflow-y: auto;
        transition: all 0.3s ease-in-out;
        z-index: 1050;
        padding: 20px;
    }
        /* When opened */
        #mobileMenu.show {
            left: 0;
        }
        /* Nav items in mobile */
        #mobileMenu .navbar-nav {
            flex-direction: column;
            gap: 15px;
            align-items: flex-start !important;
        }
    /* Box shadow only in mobile */
    .navbar {
        box-shadow: none;
    }

    .btn-close {
        position: absolute;
        right: 0;
        top: 0;
        transform: rotate(225deg);
        font-size: 40px;
        background: none;
        border: none;
        outline: none;
    }

    .dropdown-menu-end {
        width: 100% !important;
    }
}

@media (max-width: 767px) {
    .logo,
    .logo1 {
        width: 60px;
    }
}

.dropdown-item.active-submenu {
    color: #DA291C !important;
    background-color: transparent !important;
}

.custom-progress {
    height: 4px;
    background: linear-gradient(to right, #e0e0e0, #f9f9f9);
    border-radius: 0;
    overflow: hidden;
}

    .custom-progress .progress-bar {
        width: 50%;
        background: linear-gradient(to right, #0EA618, #0EA618);
        transition: width 0.4s ease;
        border-radius: 0;
    }

.service-call-sec .nav-link.active::after {
    display: none;
}

.service-call-history-filter {
    flex-direction: column;
    align-items: flex-start !important;
}

    .service-call-history-filter .d-flex.align-items-center.gap-4.ms-auto {
        margin-left: 0 !important;
    }

#orderDetailsOffcanvas {
    width: 700px;
    background: #fff;
    border-radius: 12px 0 0 12px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9f9f9;
    border-radius: 10px;
    padding: 10px 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

    .order-item h6 {
        margin: 0;
        font-size: 14px;
        font-weight: 600;
    }

    .order-item small {
        color: #888;
        font-size: 12px;
    }

.qty-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 600;
}

.stats-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 8px 0;
    border-bottom: 1px dashed #E5E5EA;
}

    .stats-row:last-child {
        border-bottom: none;
    }

/* FIX: Ensure all labels are exactly the same width */
.device-label {
    flex: 0 0 140px; /* Do not grow, do not shrink, stay at 140px */
    width: 140px; /* Increased slightly to accommodate longer labels */
    font-size: 16px;
    color: #1C1C1E;
    font-weight: 400;
    margin: 0;
    /* Optional: If text is still too long, it will show "..." instead of shifting the bar */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/*.device-label {
    min-width: 110px;
    font-size: 16px;
    color: #1C1C1E;
    font-weight: 400;
    margin: 0;
}*/

.progress-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ANIMATION: The "Grow" effect */
@keyframes growBar {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

.progress-bar {
    height: 24px;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    /* Animation settings */
    transform-origin: left;
    animation: growBar 1s ease-out forwards;
    /* Keep your existing transitions for hover effects etc */
    transition: width 0.3s ease;
}
    /*.progress-bar {
    height: 24px;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    transition: width 0.3s ease;
}*/

    .progress-bar.type-desktop {
        background: linear-gradient(153.52deg, #BCC6FF 0%, #6B82FF 67.85%);
    }

    .progress-bar.type-large {
        background: linear-gradient(153.58deg, #FFB4B1 0%, #F9423A 69.12%);
    }

    .progress-bar.type-mfp {
        background: linear-gradient(153.6deg, #A2FFC6 0%, #32D06F 66.83%);
    }

    .progress-bar.type-network {
        background: linear-gradient(153.75deg, #93FFF6 0%, #1BCCBD 66.97%);
    }

    .progress-bar.type-cloud {
        background: linear-gradient(153.78deg, #FFD4B5 0%, #FF7B1C 67%);
    }

.count-value {
    font-size: 16px;
    font-weight: 600;
    color: #1C1C1E;
    min-width: 40px;
}

.user-profile-hover {
    position: relative;
    display: inline-block;
}

    .user-profile-hover .profile-card {
        display: none;
        position: absolute;
        bottom: 100%;
        left: 0;
        z-index: 1000;
        width: 300px;
        background: white;
        border-radius: 8px;
        box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.1);
    }

    .user-profile-hover:hover .profile-card {
        display: block;
    }

.profile-card .user-info {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid #D6D6D6;
    padding: 15px;
}

    .profile-card .user-info img {
        width: 48px;
        height: 48px;
        border-radius: 50%;
    }

.profile-card .copy-button {
    cursor: pointer;
    margin-left: 4px;
}

.profile-card .actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
}

.profile-card .action-link {
    color: #296CC3;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .profile-card .action-link:hover {
        text-decoration: underline;
    }

.product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-radius: 6px;
    position: relative;
    cursor: pointer;
}

    .product-item:hover h4 {
        color: #e50914 !important;
    }

    .product-item:hover .add-btn {
        display: block;
    }

    .product-item .product-text h4 {
        font-size: 15px;
        margin: 0;
        font-weight: 600;
        color: #000;
        transition: color 0.3s ease;
    }

    .product-item .product-text p {
        margin: 3px 0 0 0;
        font-size: 13px;
        color: #555;
    }

    .product-item .add-btn {
        display: none;
        background: transparent;
        border: 1px solid #ccc;
        border-radius: 6px;
        padding: 5px 12px;
        font-size: 13px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .product-item .counter {
        display: none;
        align-items: center;
        gap: 10px;
        border: 1px solid #ddd;
        border-radius: 6px;
        padding: 4px 10px;
        font-size: 14px;
    }

        .product-item .counter button {
            background: transparent;
            border: none;
            font-size: 18px;
            cursor: pointer;
            padding: 0 5px;
            color: #000;
        }

            .product-item .counter button:hover {
                color: #e50914;
            }

        .product-item .counter span {
            width: 25px;
            text-align: center;
            font-weight: 500;
        }

.modal-content {
    border-radius: 10px;
    padding: 20px;
}

    .modal-content .modal-header {
        border-bottom: none;
        text-align: center;
        width: 100%;
        display: block;
        padding-bottom: 0;
    }

        .modal-content .modal-header .modal-title {
            font-size: 1.25rem;
            font-weight: 600;
            text-align: center;
        }

    .modal-content .btn-close {
        position: absolute;
        top: 15px;
        right: 15px;
    }

    .modal-content .modal-body {
        text-align: center;
    }

        .modal-content .modal-body p {
            color: #666;
            font-size: 14px;
            margin-bottom: 20px;
        }

        .modal-content .modal-body form .form-control {
            border-radius: 8px;
            padding: 10px;
            margin-bottom: 12px;
            font-size: 14px;
        }

        .modal-content .modal-body form .btn-add {
            background-color: #e50914;
            color: #fff;
            border: none;
            border-radius: 8px;
            padding: 10px 20px;
            font-weight: 500;
            transition: all 0.3s ease;
        }

            .modal-content .modal-body form .btn-add:hover {
                background-color: #c20810;
            }

.form-container form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

    .form-container form .form-row {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

        .form-container form .form-row.two-col {
            flex-direction: row;
            gap: 14px;
        }

            .form-container form .form-row.two-col input,
            .form-container form .form-row.two-col select {
                flex: 1;
            }

        .form-container form .form-row input,
        .form-container form .form-row select {
            width: 100%;
            padding: 10px 14px;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            font-size: 14px;
            outline: none;
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
        }

            .form-container form .form-row input:focus,
            .form-container form .form-row select:focus {
                border-color: #000;
                box-shadow: 0 0 0 1px #000;
            }

            .form-container form .form-row input::-moz-placeholder, .form-container form .form-row select::-moz-placeholder {
                color: #888;
            }

            .form-container form .form-row input::placeholder,
            .form-container form .form-row select::placeholder {
                color: #888;
            }

        .form-container form .form-row select {
            background-color: #fff;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='black' d='M6 8L0 0h12z'/></svg>");
            background-repeat: no-repeat;
            background-position: right 12px center;
            background-size: 10px;
            cursor: pointer;
        }

.remove-modal {
    border-radius: 8px;
    padding: 10px;
    background-color: #fff;
}

    .remove-modal .modal-header {
        justify-content: center;
        position: relative;
    }

        .remove-modal .modal-header .modal-title {
            font-weight: 600;
            font-size: 16px;
            text-align: center;
            width: 100%;
        }

        .remove-modal .modal-header .btn-close {
            position: absolute;
            right: 16px;
            top: 16px;
            opacity: 0.7;
        }

            .remove-modal .modal-header .btn-close:hover {
                opacity: 1;
            }

    .remove-modal .modal-body p {
        color: #333;
        font-size: 14px;
        margin-bottom: 0;
    }

    .remove-modal .modal-footer {
        display: flex;
        justify-content: center;
        gap: 10px;
    }

        .remove-modal .modal-footer .remove-btn {
            background-color: #d32f2f;
            border: none;
            color: white;
            font-weight: 500;
            padding: 6px 18px;
            border-radius: 6px;
            transition: background 0.2s;
        }

            .remove-modal .modal-footer .remove-btn:hover {
                background-color: #b71c1c;
            }

        .remove-modal .modal-footer .cancel-btn {
            background-color: #bdbdbd;
            border: none;
            color: white;
            font-weight: 500;
            padding: 6px 18px;
            border-radius: 6px;
            transition: background 0.2s;
        }

            .remove-modal .modal-footer .cancel-btn:hover {
                background-color: #9e9e9e;
            }

#myTab {
    margin-bottom: -60px;
}
/*# sourceMappingURL=style.css.map */

.search-user-input {
    max-width: 180px;
}

td {
    border: 1px solid #ebebeb !important;
    white-space: normal !important;
}

/*.blur-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);*/ /* optional dim */
/*backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1050;
    display: none;
}*/


@media screen and (max-width: 1024px) {
    #myTab {
        gap: 10px !important;
        margin-bottom: -10px !important;
        width: 100%;
        justify-content: space-between;
    }
}

@media screen and (min-width: 991px) and (max-width: 1200px) {
    #myTab {
        margin-bottom: -70px !important;
        gap: 6px !important;
    }
}

.embed-container {
    width: 100%;
    height: 100vh; /* full viewport height */
}

    .embed-container embed {
        width: 100%;
        height: 100%;
        border: none;
    }


/* Donut Chart */
.chart-container1 {
    position: relative;
    width: 176px;
    height: 176px;
    flex-shrink: 0;
}

.donut-chart1 {
    width: 176px;
    height: 176px;
    border-radius: 50%;
    background: conic-gradient( #dc3545 0deg 5deg, #ffc107 5deg 10deg, #28a745 10deg 360deg );
    position: relative;
}

.donut-hole1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: white;
    border-radius: 50%;
}


.legend-item1 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}


.legend-dot1 {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.legend-dot.critical1 {
    background-color: #dc3545;
}

.legend-dot.warning1 {
    background-color: #ffc107;
}

.legend-dot.healthy1 {
    background-color: #28a745;
}

/* Issue List */
.issue-list1 {
    flex: 1;
    max-height: 250px;
    overflow-y: auto;
}

    .issue-list1 h2 {
        font-size: 24px;
        font-weight: 600;
        margin-bottom: 20px;
        color: #212529;
    }

.issue-item1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    transition: background-color 0.2s;
}

    .issue-item1:hover {
        background-color: #e9ecef;
    }

.issue-content1 {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.issue-icon1 {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    font-weight: bold;
}

.issue-icon.critical1 {
    background-color: #f8d7da;
    color: #dc3545;
    min-width: 20px;
    min-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 10px;
}

.issue-icon.warning1 {
    background-color: #fff3cd;
    color: #ffc107;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 10px;
}

.issue-details1 h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 2px 0;
    color: #212529;
}

.issue-details1 p {
    font-size: 12px;
    margin: 0;
    color: #6c757d;
}

.issue-count1 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #212529;
    min-width: 30px;
}

.count-icon1 {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
}

.count-icon.critical1 {
    background-color: #dc3545;
    color: white;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 10px;
}

.count-icon.warning1 {
    background-color: #ffc107;
    color: white;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 10px;
}
/*.btn-group .btn {
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

    .btn-group .btn:first-child {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .btn-group .btn:last-child {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

.btn-group .btn-primary {
    background-color: #007bff;
    color: white;
    border: 1px solid #007bff;
}

.btn-group .btn-outline-primary {
    background-color: white;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

    .btn-group .btn-outline-primary:hover {
        background-color: #f8f9fa;
        color: #007bff;
    }*/


.company-link {
    padding: 8px 20px;
    text-decoration: none;
    color: #6c757d;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
}

    .company-link:first-child {
        border-radius: 20px 0 0 20px;
        border-right: none;
    }

    .company-link:last-child {
        border-radius: 0 20px 20px 0;
    }

    .company-link.active {
        background-color: #007bff;
        color: white;
        border-color: #007bff;
    }

    .company-link:hover:not(.active) {
        background-color: #e9ecef;
        color: #495057;
    }

.hidden-billing {
    display: none !important;
}

.printer_card {
    border-radius: 8px;
    min-height: 100px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    cursor: pointer;
}

    .printer_card .printer_info {
        grid-template-columns: 70px 1fr;
        display: grid;
        gap: 10px;
        align-items: center;
        grid-template-columns: 80px 1fr;
        max-width: calc(100% - 30px);
        order: 1;
    }

.thumb {
    position: relative;
}

.error_card img {
    opacity: 0.5;
}

.thumb .cross {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.info {
    display: grid;
    flex-direction: column;
    gap: 6px;
    position: relative;
}

.status_state {
    border-radius: 8px;
    border: 1px solid rgb(246, 246, 246);
    font-size: 0.9em;
    order: 3;
    width: 100%;
}

.text-overflow-handle h4 {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    font-size: 14px;
}

.tooltip_content {
    display: none;
    /* min-width: 160px; */
    color: #fff;
    background-color: black;
    text-align: center;
    padding: 5px;
    border-radius: 5px;
    position: absolute;
    top: 20px;
    font-size: 12px;
}

.text-overflow-handle p {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    font-size: 14px;
}

.error_card .color_status {
    grid-template-columns: 30px 1fr 20px 40px;
    gap: 0;
    border-bottom: 1px solid rgb(246, 246, 246);
    padding: 10px;
    display: grid;
}

.status_state > div {
    gap: 0;
}

.status_state .defect {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgb(224, 28, 28);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: white;
}

.defectfontSize {
    font-size: 10px !important;
}

.status_state > div > div:last-child {
    font-size: 12px;
    color: red;
    text-align: right;
}

.status_icon {
    order: 1 !important;
    margin-left: auto;
    align-items: flex-start !important;
    min-width: auto !important;
    display: flex;
    justify-content: flex-end;
}

.abacus-card {
    min-width: 310px;
    max-width: 350px;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.06), 0 12px 24px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.info h4, p {
    margin: 0;
}

img {
    max-width: 100%;
}

.printer-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Tabs */
.printer-tabs1 {
    border-bottom: 1px solid #eee;
}

    .printer-tabs1 .nav-link {
        border: none;
        color: #888;
        font-weight: 500;
        padding-bottom: 12px;
    }

        .printer-tabs1 .nav-link.active {
            color: #000;
            border-bottom: 2px solid #ff4d4f;
            background: transparent;
        }

/* Alerts */
.printer-alert-list1 {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.printer-alert-item1 {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: #f8f8f8;
    border-radius: 10px;
    font-size: 15px;
}

.printer-alert-danger1 {
    color: #ff4d4f;
    background: #fff;
}

.printer-alert-warning1 {
    color: #ff8c00;
    background: #fff;
}

.printer-time1 {
    margin-left: auto;
    font-size: 13px;
    font-weight: 500;
}

/* Badge */
.printer-badge1 {
    margin-left: auto;
    padding: 6px 14px;
    border-radius: 20px;
    background: #fff1e6;
    color: #ff8c00;
    font-size: 13px;
    font-weight: 500;
}



.printer-accordion-item {
    border: none;
    background: transparent;
}

.printer-accordion-btn {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 12px 16px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .printer-accordion-btn:not(.collapsed) {
        background: #eef2f6;
        box-shadow: none;
    }

.alert-count {
    color: #dc3545;
}

.alert-time {
    font-size: 12px;
    color: #6c757d;
}

.printer-alert-list1 {
    padding: 10px 0;
}

.printer-alert-item1 {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-bottom: 1px solid #eee;
}

.printer-alert-danger1 {
    color: #dc3545;
}

.printer-alert-warning1 {
    color: #fd7e14;
}

.printer-time1 {
    margin-left: auto;
    font-size: 12px;
    color: #6c757d;
}

.printer-badge1 {
    margin-left: auto;
    background: #ffc107;
    color: #000;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
}

.supplies-header h6 {
    font-weight: 600;
}

.supplies-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.supply-item {
    display: grid;
    grid-template-columns: 2fr 1fr 3fr auto;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.supply-progress {
    height: 8px;
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar1 {
    height: 100%;
    border-radius: 10px;
}

.bg-cyan {
    background-color: #00e5e5;
}

.bg-magenta {
    background-color: #ff00ff;
}


.meter-reading {
    font-size: 14px;
}

.meter-total {
    font-size: 15px;
}

.meter-row {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.meter-header {
    font-weight: 600;
    color: #555;
}

.meter-row span:last-child {
    font-weight: 500;
}
/* Apply active red underline to dropdown parent nav-link */
/*.nav-tabs .nav-link.active,
.nav-tabs .nav-link.show {
    border-bottom: 2px solid #DA291C !important;
    color: #DA291C !important;
}*/

/* Active state for both regular tabs and dropdown toggle nav links */
/*.nav-tabs .nav-link.active {
    color: #DA291C !important;
    border-bottom: 2px solid #DA291C !important;
    font-weight: 600;
}*/

.valid-phone .validation-error {
    white-space: nowrap;
}

#summaryItemList {
    max-height: 420px;
    overflow-y: auto;
}

.app-store {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}


#orderTable {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

    #orderTable thead {
        background-color: #4CAF50;
        color: white;
    }

#orderTable th,
#orderTable td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

    #orderTable tbody tr:hover {
        background-color: #f5f5f5;
        transition: 0.3s;
    }

    #orderTable tbody tr:last-child td {
        border-bottom: none;
    }

    #orderTable th {
        font-weight: 600;
        letter-spacing: 0.5px;
    }

    #supplyDetailsTable td {
      word-break: break-word !important;
}
#supplyDetailsTable th {
    border: 1px solid #e7e7e7 !important;
}
    /*#supplyDetailsTable {
        max-height: 300px;
        overflow-y: auto;
    }*/

    #supplyDetailsTable {
        border: 1px solid #e7e7e7 !important;
    }


@media print {
    body * {
        visibility: hidden;
    }

    #offcanvasRightSupplies, #offcanvasRightSupplies * {
        visibility: visible;
    }

    #offcanvasRightSupplies {
        position: absolute;
        left: 0;
        top: 0;
        width: 100% !important;
        max-width: 100% !important;
    }
    .offcanvas .offcanvas-header .offcanvas-body {
        width: 100% !important;
        max-width: 100% !important;
    }

    @page {
        margin: 0;
    }

    body {
        margin: 0;
    }

    #offcanvasRightSupplies table {
        width: 100%;
    }

}
