@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

* {
    margin: 0;
    padding: 0px;
    box-sizing: border-box;
}

p {
    margin: 0;
}

.text-primary {
    color: #00a651 !important;
}

.bg-primary {
    background: #00a651 !important;
    color: #fff;
}

.bg-secondary {
    background: #f39159 !important;
    color: #fff !important;
}

.bg-success {
    background: #3eb95f !important;
}

a {
    color: #00a651;
    text-decoration: none;
}

.btn {
    font-size: 14px;
    font-weight: 600;
}

.btn-primary {
    background: #00a651;
    border: #00a651;
}

h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 0 !important;
}

h5 {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

h6 {
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.5px;
}
.dropdown-item.text-danger:hover{color:#fff !important}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: #1da895 !important;
    border: #1da895 !important;
}

.form-control:active,
.form-control:focus,
.form-select:active,
.form-select:focus {
    border: 1px solid #00a651;
    box-shadow: none;
    outline: none;
}

body {
    background-color: #fbf9f8;
    font-family: "Nunito Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100, "YTLC" 500;
    font-size: 14px;
    color: #212529;
    font-weight: 400;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.sidebar {
    width: 250px;
    min-height: 100vh;
}

    .sidebar .nav-link {
        color: #292929;
        padding: 12px 20px;
        font-weight: 600;
        font-size: 16px;
        border-bottom: 1px solid #ddd;
    }

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
}
.profile-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: -webkit-fill-available;
}

.erp-modal {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}


.dropdown-item.active,
.dropdown-item:active {
    background-color: #00a651
}

.sidebar .nav-link:hover {
    background-color: #e9f5f3;
    color: #00a651;
}

.card {
    border-radius: 1.5rem;
    border: unset;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.action-card {
    border-radius: 20px;
    transition: transform 0.2s;
}

    .action-card .card-body {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 2rem;
    }

.action-card {
    background-color: #00a651;
}

    .action-card:hover {
        /* transform: translateY(-5px); */
        background-color: #32b4a2;
    }

.main-content {
    min-height: calc(100vh - 85px);
}

.top-heading {
    padding: 0 0 20px 10px;
}

footer p {
    font-size: 14px;
    font-weight: 600;
}

/* =========== Information Details ==================== */
.info-details {
    border-bottom: 1px solid #606060;
    padding: 10px 0;
}

    .info-details p {
        font-size: 15px;
        font-weight: 600;
    }

/* =========== Edit Form Information ==================== */

.edit-info-details {
    border-bottom: 1px solid #606060;
    padding: 10px 0;
}

@media(min-width:768px) {
    .edit-info-details .form-items {
        width: 40%;
    }
}



/* === Scanner styles ===*/
#reader-container {
    width: 100%;
    max-width: 300px;
    margin: 20px auto;
}

@media (min-width: 768px) {
    #reader-container {
        margin: 20px 0;
    }
}

#reader {
    width: 100%;
    aspect-ratio: 1 / 1;
}
input[readonly] {
    background-color: #f0f0f0; 
    color: #888; 
    border: 1px solid #ccc; 
    cursor: not-allowed; 
}

<!-- Custom CSS for Order Progress -->

td {
    border-bottom: none;
}

.progress-step {
    text-align: center;
    flex: 1;
    position: relative;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    position: relative;
    z-index: 2;
}

.step-label {
    font-size: 14px;
}

.progress-line {
    position: absolute;
    top: 25px;
    left: 25px;
    right: 25px;
    height: 2px;
    background-color: #dee2e6;
    z-index: 1;
}

.avatar-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.product-image {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info i {
    width: 20px;
}

.card {
    border: none;
    border-radius: 10px;
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
    border-bottom: 1px solid #dee2e6;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.step-circle {
    width: 40px;
    height: 40px;
    font-size: 12px;
}

.progress-line {
    top: 20px;
    left: 20px;
    right: 20px;
}

}


/* Order History Page CSS  / Mobile-specific styles */
@media (max-width: 767.98px) {
    .order-history-page .mobile-hidden-filters {
        display: none !important;
    }

        .order-history-page .mobile-hidden-filters.show {
            display: contents !important;
        }

    .order-history-page #showMoreFiltersContainer {
        margin-bottom: 15px;
    }

    .order-history-page #toggleFiltersBtn {
        transition: all 0.3s ease;
    }

    .order-history-page #toggleIcon {
        transition: transform 0.3s ease;
    }

        .order-history-page #toggleIcon.rotated {
            transform: rotate(180deg);
        }
}

/* Desktop styles - keep filters visible */
@media (min-width: 768px) {
    .order-history-page .mobile-hidden-filters {
        display: contents !important;
    }

    .order-history-page #showMoreFiltersContainer {
        display: none !important;
    }
}


/* ================================ */

/* Order Tracking Page CSS / Mobile-specific styles */
@media (max-width: 767.98px) {
    .order-traking-page .mobile-hidden-filters {
        display: none !important;
    }

        .order-traking-page .mobile-hidden-filters.show {
            display: contents !important;
        }

    .order-traking-page #showMoreFiltersContainer {
        margin-bottom: 15px;
    }

    .order-traking-page #toggleFiltersBtn {
        transition: all 0.3s ease;
    }

    .order-traking-page #toggleIcon {
        transition: transform 0.3s ease;
    }

        .order-traking-page #toggleIcon.rotated {
            transform: rotate(180deg);
        }
}

/* Desktop styles - keep filters visible */
@media (min-width: 768px) {
    .order-traking-page .mobile-hidden-filters {
        display: contents !important;
    }

    .order-traking-page #showMoreFiltersContainer {
        display: none !important;
    }
}

/* ================================ */

/* ============ sidebar navigation ==================== */

/* Mobile Header */
.mobile-header {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Desktop styles */
.sidebar {
    width: 280px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    transition: transform 0.3s ease;
}

/* Mobile styles */
@media (max-width: 991.98px) {
    .main-content {
        margin-top: 60px; /* Updated to account for fixed header */
    }

    .sidebar {
        transform: translateX(-100%);
        height: 100vh;
    }

        .sidebar.show {
            transform: translateX(0);
        }

    .sidebar-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1039;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

        .sidebar-backdrop.show {
            opacity: 1;
            visibility: visible;
        }
}

/* Ensure main content has proper margin on desktop */
@media (min-width: 992px) {
    body {
        margin-left: 280px;
    }

    .mobile-header {
        display: none !important;
    }
}

/* Burger icon animation */
#burgerIcon {
    transition: transform 0.3s ease;
}

.sidebar.show ~ .mobile-header #burgerIcon {
    transform: rotate(90deg);
}

/* Language and Settings styling */
.nav-link {
    transition: background-color 0.2s ease;
}

    .nav-link:hover {
        background-color: #f8f9fa;
    }

.nav-item a i{
    width:17px;
}
/* Dropdown menu styling */
.dropdown-menu {
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background-color: #00a651;
    color: white;
}

/* Border styling for split sections */
.border-end {
    border-right: 1px solid #ddd !important;
}




/* Registration Page Start */



.registration-card .main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.registration-card .main-title {
    /*font-size: 2.5rem;*/
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.registration-card .subtitle {
    font-size: 20px;
    line-height: 30px;
    font-weight: 700;
    color: #171A1FFF;
}

.registration-card .section-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 50px;
    margin-top: 20px;
}

.registration-card .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.registration-card .required {
    color: #dc3545;
}

.registration-card .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    width: 100%
}

    .registration-card .form-control:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    }

.registration-card .btn-primary {
    background-color: #1a2332;
    border-color: #1a2332;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    color: #fff;
}

    .registration-card .btn-primary:hover {
        background-color: #0f1419;
        border-color: #0f1419;
        transform: translateY(-1px);
    }

.registration-card .password-requirements {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 25px;
    margin-top: 20px;
}

.registration-card .requirements-text {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.registration-card .requirements-list {
    margin: 15px 0 0 20px;
    padding: 0;
}

    .registration-card .requirements-list li {
        color: #6c757d;
        margin-bottom: 5px;
        font-size: 0.9rem;
    }

.registration-card .password-criteria {
    margin-top: 102px;
}
/* Highlight the checkbox when it's not checked */
.registration-card .form-check-input {
    width: 20px;
    height: 20px;
    border: 2px solid #1a2332; /* Blue border */
    background-color: #f0f8ff; /* Light blue background */
    cursor: pointer;
}

    /* When the checkbox is checked */
    .registration-card .form-check-input:checked {
        background-color: #1a2332; /* Darker blue when checked */
        border-color: #1a2332;
    }

/* Optional: Add some spacing */
.registration-card .form-check-label {
    margin-left: 8px;
    font-weight: 500;
}

.registration-card .mb-1 {
    margin-bottom: 0.25rem;
}

.registration-card .mb-2 {
    margin-bottom: 0.5rem;
}

.registration-card .mb-3 {
    margin-bottom: 1rem;
}

.registration-card .mb-4 {
    margin-bottom: 1.5rem;
}

.registration-card .mb-5 {
    margin-bottom: 3rem;
}

/* Registration Page End */
/* ScanItem Page Start */
.landing-page .card {
    background: #fff;
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    text-align: center;
}


    .landing-page .card h1 {
        margin: 0 0 12px;
        color: #1b5e20;
        align-content: center;
    }


    .landing-page .card p {
        font-size: 14px;
        color: #333;
        margin-bottom: 16px;
    }


.landing-page .button-card {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.landing-page .btn-url {
    background: #1b5e20;
    color: #fff;
}

    .landing-page .btn-url:hover {
        background-color: #a73b3bab;
    }
/* ScanItem Page End */

.nav-link.active {
    background-color: #e9f5f3;
    color: #00a651;
}
.nav-link.dropdown-toggle {
    position: relative;
}

.dropdown-toggle::after {
    position: absolute;
/*    right: 15px;*/
    top: 40%;
}
.order-dropdown {
    padding-right: 20px;
}

#complaintSuccessModal .modal-content .text-muted {
    font-size: 0.9rem;
    font-weight: 800;
    color: #000 !important;
    text-decoration: underline;
}

/*Promo Banner style*/
.bnr {
    background: #2eaa60;
    border-radius: 8px;
    padding: 14px 80px 30px 23px;
    position: relative;
    min-height: 80px;
    margin: 0px 10px 25px;
}

    .bnr h5 {
        color: #fff;
        font-size: 1.125rem;
        font-weight: 600;
        line-height: 1.75rem;
        margin: 0 0 4px
    }

    .bnr .desc {
        color: #fff;
        font-size: .875rem;
        line-height: 1.25rem;
        margin: 0 0 8px;
        opacity: .95
    }

    .bnr .lnk {
        display: inline-block;
        color: #fff;
        font-size: .875rem;
        line-height: 1.25rem;
        border-bottom: 1px solid #fff;
        text-decoration: none;
        margin: 0
    }

        .bnr .lnk a {
            color: #fff;
            text-decoration: none
        }

.carousel-indicators {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0
}

    .carousel-indicators [data-bs-target] {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255,255,255,.45);
        border: none;
        padding: 0;
        margin: 0 3px;
        flex-shrink: 0;
        box-sizing: border-box
    }

    .carousel-indicators .active {
        background: #fff
    }

.carousel-control-prev, .carousel-control-next {
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    border: 1px solid rgba(255,255,255,.5);
    opacity: 1
}

.carousel-control-prev {
    right: 58px;
    left: auto
}

.carousel-control-next {
    right: 24px
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    width: 12px;
    height: 12px
}

.carousel-inner {
    width: 90% !important;
}

/*Partial delivery Modal CSS*/

.partial-delivery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

.partial-delivery-content {
    background: #fff;
    width: 650px;
    max-width: 90%;
    padding: 25px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.partial-delivery-link {
    color: #f39c12;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.partial-delivery-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    cursor: pointer;
}

.partial-delivery-content .col-8{
    font-size:1.1rem;
}

.partial-delivery-close {
    position: absolute;
    right: 15px;
    top: 10px;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
}

.pd-summary {
    display: flex;
    gap: 14px;
    margin-top: 25px;
    border-top: 1px solid #ececec;
    padding-top: 18px;
}

.pd-card {
    flex: 1;
    text-align: center;
    border-radius: 4px;
    padding: 18px 10px;
    min-height: 90px;
}

    .pd-card:nth-child(1) {
        background: #f2f5f8;
        border: 1px solid #edf0f3;
    }

    .pd-card:nth-child(2) {
        background: #f5fcf7;
        border: 2px solid #c8efd1;
    }

    .pd-card:nth-child(3) {
        background: #fff9f3;
        border: 2px solid #ffd7ae;
    }

.pd-number {
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 12px;
    color: #4a5568;
}

#pdShipped {
    color: #20a05a;
}

#pdPending {
    color: #e55b17;
}
.pd-icon {
    margin-right: 8px;
}