.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col, .col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm, .col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md, .col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg, .col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl, .col-xl-auto {
    padding-bottom: 10px !important;
}

.text-primary {
    color: #d09f2b !important;
}

.dataTables_empty {
    color: #dedede !important;
}

/* Login Page */
.loginBg {
    background-image: url("/img/logo/loginBg-min.jpg");
    background-repeat: no-repeat !important;
    background-size: cover !important;
}
.loginForm {
    margin-top: 12vw;
}
.loginLogo {
    width: 50%;
    margin: 0 auto;
}

/*select multiple dropdown and search user table*/
.select-wrapper {
    margin: auto;
    max-width: 600px;
    width: calc(100% - 40px);
}
/*select multiple dropdown and search user table*/
.select-pure__select {
    align-items: center;
    background: #f9f9f8;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    color: #363b3e;
    cursor: pointer;
    display: flex;
    font-size: 16px;
    font-weight: 500;
    justify-content: left;
    min-height: 44px;
    padding: 5px 10px;
    position: relative;
    transition: 0.2s;
    width: 100%;
}
/*select multiple dropdown and search user table*/
.select-pure__options {
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    color: #363b3e;
    display: none;
    left: 0;
    max-height: 221px;
    overflow-y: scroll;
    position: absolute;
    top: 50px;
    width: 100%;
    z-index: 5;
}
/*select multiple dropdown and search user table*/
.select-pure__select--opened .select-pure__options {
    display: block;
}
/*select multiple dropdown and search user table*/
.select-pure__option {
    background: #fff;
    border-bottom: 1px solid #e4e4e4;
    box-sizing: border-box;
    height: 44px;
    line-height: 25px;
    padding: 10px;
}
/*select multiple dropdown and search user table*/
.select-pure__option--selected {
    color: #e4e4e4;
    cursor: initial;
    pointer-events: none;
}
/*select multiple dropdown and search user table*/
.select-pure__option--hidden {
    display: none;
}
/*select multiple dropdown and search user table*/
.select-pure__selected-label {
    background: #5e6264;
    border-radius: 4px;
    color: #fff;
    cursor: initial;
    display: inline-block;
    margin: 5px 10px 5px 0;
    padding: 3px 7px;
}
/*select multiple dropdown and search user table*/
.select-pure__selected-label:last-of-type {
    margin-right: 0;
}
/*select multiple dropdown and search user table*/
.select-pure__selected-label i {
    cursor: pointer;
    display: inline-block;
    margin-left: 7px;
}
/*select multiple dropdown and search user table*/
.select-pure__selected-label i:hover {
    color: #e4e4e4;
}
/*select multiple dropdown and search user table*/
.select-pure__autocomplete {
    background: #f9f9f8;
    border-bottom: 1px solid #e4e4e4;
    border-left: none;
    border-right: none;
    border-top: none;
    box-sizing: border-box;
    font-size: 16px;
    outline: none;
    padding: 10px;
    width: 100%;
}


/*Attachment Salereport*/
.attachment{
    padding: 0rem !important;
}

/* Sidebar */
.page-logo img {
    width: 15% !important;
}
.page-logo, .page-sidebar, .nav-footer, .bg-brand-gradient {
    background-image: -webkit-gradient(linear, right top, left top, from(rgba(255, 255, 255, 0.30)), to(transparent)) !important;
    background-image: linear-gradient(270deg, rgba(255, 255, 255, 0.30), transparent) !important;
    background-color: black !important;
}
.nav-title {
    color: #d09f2b !important;
    font-weight: 800 !important;
}
.nav-menu li.active{
    background: linear-gradient(to bottom, #ffb300 0%, #d09f2b 100%) !important;
}
.nav-menu li.active:not(.open) > a:before{
    color:transparent !important;
}

.nav-menu li.active .fal, .nav-menu li.active a > [class*='fa-'], .nav-menu li a > .ni {
    color: black !important;
    font-weight: bold !important;
}
.nav-menu li a > [class*='fa-'], .nav-menu li a > .ni {
    color: #d09f2b !important;
}
.nav-menu li a {
    color: #d09f2b !important;
    padding: 0.7125rem 1.3rem;
    font-size: 0.8rem;
}
.nav-menu li a:hover, .nav-menu li a:hover > [class*='fa-'], .nav-menu li a:hover > .ni {
    color: white !important;
}
.nav-menu li > ul li.active > a{
    color:#012235 !important;
    font-weight:600;
}
.nav-menu li.active > a{
    box-shadow: none !important;
    color: black !important;
    font-weight:600;
}
.nav-menu li.active > a:hover{
    color: white !important;
    background-color: rgba(0, 0, 0, 0.1) !important;
}
.nav-menu li.open>ul{
    display:block;
}
.nav-menu b.collapse-sign {
    color: #d09f2b !important;
}
/* Table Style */
.bg-primary-600 {
    background-color: #a7a9ac !important;
    color: black !important;
}

/* Column Visibility Dropdown */
.dropdown-item.active, .dropdown-item:active {
    background-color: rgb(250, 209, 183);
}

#cert-detail-modal .modal-header {
    background: goldenrod;
    color: white;
    text-transform: uppercase;
}


#showModal-announcement .modal-header {
    background: goldenrod;
    color: white;
    text-transform: uppercase;
}

#showModal-announcement .announcement-title {
    text-decoration: none;
    color: black;
    transition: color 0.3s, text-decoration 0.3s;
}

    /* Hover and focus effects on title */
#showModal-announcement .announcement-title:hover h4,
#showModal-announcement .announcement-title:focus h4 {
    text-decoration: underline;
    color: goldenrod; /* Change color on hover/focus */
}

/* Panel layout adjustments */

#showModal-announcement .modal-header
{
    background: goldenrod !important;
    color: white !important;
    text-transform: uppercase !important;
}

#showModal-announcement .modal-header
{
    background: goldenrod !important;
    color: white !important;
    text-transform: uppercase !important;
}
#showModal-announcement .announcement-content {
    max-height: 60vh; /* Restrict content height to 60% of the viewport */
    overflow-y: auto; /* Enable vertical scroll if content overflows */
    padding: 15px; /* Optional: Adjust padding for better spacing */
}
#showModal-announcement .modal-header,
#showModal-announcement .modal-footer {
    position: sticky;
    top: 0;
    z-index: 1050; /* Keep header on top while scrolling */
    background-color: white; /* Ensure consistent background */
}
#showModal-announcement .modal-footer {
    bottom: 0;
}

/* Styles for the announcement cell */
.announcement-cell {
    line-height: 0px;
}

.announcement-cell {
    margin-right: 4px;
}

.badge-announcement {
    background-color: goldenrod !important;
    color: white !important;
}
/* Truncate the title with ellipsis when it overflows */
.announcement-title-text {
    white-space: nowrap; /* Prevents the text from wrapping to the next line */
    overflow: hidden;    /* Hides any overflowing text */
    text-overflow: ellipsis; /* Adds "..." at the end of the text when it overflows */
    max-width: 100%;      /* Ensures the element does not exceed the container's width */
}

.announcement-cell .font-weight-bold {
    font-size: 14px; /* Adjust title font size */
}

.announcement-cell .view-announcement {
    margin-left: auto; /* Push the button to the right */
}


/* Search */
.input-group-text:active {
    background-color: black !important;
}
.input-group-text:focus {
    background-color: black !important;
}
.input-group-text:focus-within {
    background-color: black !important;
}
.input-group-text:visited {
    background-color: black !important;
}

/* Primary button */
.btn-primary {
    /*background-image: linear-gradient(270deg,rgb(250, 188, 150), transparent);*/
    background-color: #d09f2b;
    border: #d09f2b;
    box-shadow:none !important;
}
.btn-primary:hover {
    background-image: linear-gradient(270deg, rgba(255, 255, 255, 0.30), transparent) !important;
    background-color: #012235;
    border: none;
}

/* Success button */
.btn-success {
    background-color: #00e676 !important;
    border: none !important;
}
.btn-success:hover {
    background-color: #00c853 !important;
}
.btn-success>a {
    color: white;
}

/* Success Badge */
.badge-success {
    background-color: #00e676 !important;
    color: white !important;
}


/* Danger button */
.btn-danger {
    background-color: #f44336 !important;
    border: none !important;
    -webkit-box-shadow: 0 2px 6px 0 #f44336 !important;
    box-shadow: 0 2px 6px 0 #f44336 !important;
}
.btn-danger:hover {
    background-color: #db2c2c !important;
}

/* Danger Badge */
.badge-danger {
    background-color: #f44336 !important;
}

/* Danger Notification Badge */
.bg-danger-500 {
    background-color: #f44336 !important;
}

/* Delete Alert Style */
.swal2-icon.swal2-warning {
    color: #f44336 !important;
    border-color: #f44336 !important;
}
.swal2-confirm {
    margin-right: 5px;
}

/* Datatable style */
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: linear-gradient(to bottom, rgb(250, 188, 150) 0%, #F7A06A 100%) !important;
    border: none !important;
}
.dataTables_length {
    display: none !important;
}
.dataTables_filter {
    float: left !important;
}
.dataTables_filter>label>input {
    border-radius: 5px;
}

/* Pagination Style */
.page-link {
    color: #012235 !important;
}
.pagination .page-link:hover {
    color: black !important;
}
.pagination .page-item:first-child:not(.active) .page-link {
    background: #c9e0ed !important;
}
.pagination .page-item:last-child:not(.active) .page-link {
    background: #c9e0ed !important;
}
.page-item.active .page-link {
    background: linear-gradient(to bottom, #ffb300 0%, #d09f2b 100%) !important;
}
.pagination .page-link:hover {
    background-color:  #a7a9ac !important;
}

/* DatePicker */
.datepicker table tr td.active.active {
    background-color: rgb(250, 188, 150) !important;
    border: rgb(250, 188, 150) !important;
}
.datepicker table tr td.active:active:hover, .datepicker table tr td.active.active:hover {
    background-color: #F7A06A !important;
    border: rgb(250, 188, 150) !important;
}

/* Form Style */
.form-group {
    margin-bottom: 0.8rem !important;
}

/* Input style */
.form-control:focus {
    border-color: #d09f2b !important;
}
/* Ensure the Select2 container is full width like other form controls */
.select2-container .select2-selection--multiple,
.select2-container .select2-selection--single {
    width: 100% !important;
    min-height: calc(1.5em + 0.75rem + 2px); /* Match the height of other form controls */
    padding: 0.375rem 0.75rem; /* Add padding similar to form-control */
    border: 1px solid #ced4da; /* Match border style */
    border-radius: 0.25rem; /* Match border-radius */
}

/* Customize focus state to align with other input fields */
.select2-container .select2-selection--multiple:focus,
.select2-container .select2-selection--single:focus {
    border-color: #d09f2b !important; /* Match focus border color */
    box-shadow: 0 0 0 0.2rem rgba(208, 159, 43, 0.25); /* Optional: add shadow on focus */
}
/* Datepicker style */
.datepicker {
    background-color:white !important;
}

/*Sales table Row rotal/Discount Total/ Grand Total style*/
span.inline-label {
    line-height: 3em;
}

/*Sales table Row rotal/Discount Total/ Grand Total style*/
.footer-summary .row {
    padding-top: 15px;
}

/*Sale Order (create) */
.prodLabel {
    display: none;
}
.mobileLabel {
    display: block;
}

/* Order Show Page*/
.orderCard label {
    text-decoration: underline;
}

/* Vendor/Customer */
.removeBtn {
    position: absolute;
    top: 0px;
    right: 0px;
    box-shadow: none !important;
}

@media only screen and (max-width: 767px) {
    .loginLogo {
        width: 80%;
    }
    .loginForm {
        margin-top: 35vw;
    }
    .loginHeight {
        height: 85vh;
    }
    .prodLabel {
        display: block;
    }
    .mobileLabel {
        display: none;
    }
    .poRow {
        margin-top: -50px;
    }
}

/*Product Page Disabled Style*/
.productDisabled {
    margin-left: 20px;
}

/*Sales Report Pagination style*/
.pagination {
    float:right;
}

/*sales report search button style*/
.reportStyle {
    margin-top:25px;
}

/*input number style*/
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.subheader.style{
    margin-bottom:0 !important;
}

.platform{
   /* border: 1px solid #08314C; */
   padding: 0.25em 0.4em;
   font-size:85%;
   font-weight: 500;
   text-align: center;
   line-height: 1;
   border-radius: 4px;
   background-color:#FABB95;
}

.payment{
    /* border: 1px solid #08314C; */
    padding: 0.25em 0.4em;
    font-size:85%;
    font-weight: 500;
    text-align: center;
    line-height: 1;
    border-radius: 4px;
    background-color:#FABB95;
}

.price{
    float:right;
}

span{
    display: inline-block;
}
.qty{
    text-align:center;
}

.lowStock{
    -webkit-appearance: none;
}

/*sweetaler button */
.swal2-icon.swal2-warning{
    font-size:20px !important;
}

/*print sticker*/
.sticker-border{
    border: 1px black solid;
    padding: 15px;
    text-align: center;
    width: 600px;
    height: 800px;
    font-size: 28px;
}
.sticker-title{
    text-align: end;
}
.sticker-dt{
    text-align: initial;
}

/*dealer contact in new order*/
.del_contact{
    display:flex;
    float:right;
    font-weight:500;
}

.contact_type_container {
    font-size: x-small;
    vertical-align: -webkit-baseline-middle;
    position: relative;
    bottom: 8px;
}

select.outlet-selector {
    max-width: 160px;
    width: 100%;
}
.demo {
    width: 100%;
    height: 22px;
    text-align: center;
    font-weight: bold;
    font-size: smaller;
    background: #d1d1d1;
    color: black;
    line-height: 2em;
}

/* sales create */
.address_info {
    display: none;
}

/* sidebar certificate count */
.signal_css{
    border-radius: 25%!important;
    width: auto;
    height: 18px;
    text-align: center;
}
.count-badge {
    display: inline-block;
    padding: 3px 6px;
    border-radius: 75%;
    font-weight: bold;
    text-align: center;
}

.pending-color {
    background: linear-gradient(180deg, #fff281, #FFC107);
    color: black;
}

.new-color {
    background-color: red;
    color: white;
}
/* top dealer table */
.top-champion {
    color: gold;
}

.top-second {
    color: silver;
}

.top-third {
    color: #CD7F32;
}

.measurement_attachment_container {
    border: 1px dashed #868e96;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
}

.attachment_container {
    border: 1px dashed #868e96;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
}

.popover {
    max-width: unset !important;
}

.disabled_class {
    background-color:#D3D3D3;
}

.inner-gate-mark:after {
    content: "Innergate ↓";
    position: absolute;
    top: -1.2rem;
    left: 0;
    color: red;
    padding: 2px 5px;
    font-size: 8px;
    border-radius: 5px;
}

@-webkit-keyframes blinker {
    from {opacity: 1.0;}
    to {opacity: 0.0;}
  }

.blink{
    text-decoration: blink;
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 0.8s;
    -webkit-animation-iteration-count:infinite;
    -webkit-animation-timing-function:ease-in-out;
    -webkit-animation-direction: alternate;
}

.media-card {
    width: 100%;
    max-width: 220px;
    margin-right: 15px;
    margin-bottom: 15px;
    position: relative;
}

/* Image container styles */
.media-img-top {
    max-width: 220px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f7f7f7;
    position: relative;
}

/* Style for the image displayed in the card */
.media-image {
    max-height: 100%;
    width: 220px;
    object-fit: cover;
}

/* Style for icon images (PDF, Video) */
.icon-image {
    height: 50px;
    width: 50px;
}

/* Button container styles with hover effect */
.media-divbutton {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 1;
}

.media-divbutton button {
    display: none;
    padding: 6px 12px;
    font-size: 12px;
}

/* Enable button display and pointer events on card hover */
.card:hover .media-divbutton button {
    display: block;
}

.card:hover .media-divbutton {
    pointer-events: auto;
}

/* Style for card body */
.media-card-body {
    background-color: #c4c4c4;
    z-index: 1;
}

/* Select2 container style */
.select2-container, .select2-container .selection {
    width: 100% !important;
}

.media-preview{
    width: 200px;
    height: 150px;
    overflow: hidden;
    position: relative;
}

.media-title{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
}

.btn-lg.btn-icon {
    margin-right:8px;
    padding: 6px 12px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.media-table{
    width: 100px;
    height:50px;
    text-align: center;
}

.grid .media-checkbox {
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 10;
}

.media-checkbox-list-td{
    text-align: center;
    position: relative;
}
.media-checkbox-label{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    padding: 5px;
    margin: 0;
    z-index: 1;
}

.select-all-checkbox {
    transform: scale(1.1);
    margin-right: 6px;
    cursor: pointer;
}

.select-all-label {
    font-weight: bold;
    color: #e0a627;
    font-size: 15px;
    cursor: pointer;
}

/* Packaging Media Styles - Sale Show Page */
.packaging-image-link {
    overflow: hidden;
    display: block;
}

.packaging-image-link img {
    transition: transform 0.3s ease;
}

.packaging-image-link:hover img {
    transform: scale(1.1);
}

.packaging-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.packaging-image-link:hover .packaging-overlay {
    opacity: 1;
}

.packaging-overlay i {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Override darkgray color for packaging media card headers */
.packaging-media-card .card-header small {
    color: #ffffff !important;
    text-transform: none !important;
    font-weight: 500;
}

.packaging-media-card .card-header.bg-dark small {
    color: #ffffff !important;
}

/* Packaging Media Upload Modal Styles - ProductionList Index */
.preview-container .card {
    transition: all 0.3s ease;
}

.preview-container .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.remove-file-btn {
    transition: all 0.2s ease;
}

.remove-file-btn:hover {
    transform: scale(1.1);
}

.custom-file-label::after {
    content: "Browse";
}

.file-count {
    font-weight: bold;
    color: #007bff;
}

.form-group label i {
    margin-right: 5px;
}

/* Production List Filter Card */
.production-filter-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.production-filter-card .form-label {
    font-size: 0.875rem;
    margin-bottom: 0.375rem;
    color: #495057;
}

.production-filter-card .form-control,
.production-filter-card .input-group {
    font-size: 0.875rem;
}

.production-filter-card .input-group-sm .form-control,
.production-filter-card .input-group-sm .input-group-text {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
}

.production-filter-card .btn {
    font-size: 0.875rem;
    font-weight: 500;
}

/* Packaging Media Edit Mode Styles */
.packaging-media-section .btn-remove-media {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 10;
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.packaging-media-section .btn-remove-media:not(:disabled):hover {
    background-color: #c82333;
    transform: scale(1.1);
}

.packaging-media-section .btn-remove-media:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.packaging-media-section .media-item {
    transition: opacity 0.3s ease;
}

.packaging-media-section .btn-add-media {
    transition: all 0.2s ease;
}

.packaging-media-section .btn-add-media:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.packaging-media-section .edit-buttons .btn {
    transition: all 0.2s ease;
}

/* iPad Pro and Tablet Optimizations (768px - 1200px) */
@media (min-width: 768px) and (max-width: 1199px) {
    .production-filter-card .form-label {
        font-size: 0.8125rem;
        margin-bottom: 0.25rem;
    }

    .production-filter-card .form-control,
    .production-filter-card .input-group {
        font-size: 0.8125rem;
    }

    .production-filter-card .input-group-sm .form-control,
    .production-filter-card .input-group-sm .input-group-text {
        font-size: 0.8125rem;
        padding: 0.25rem 0.5rem;
    }

    .production-filter-card .btn {
        font-size: 0.8125rem;
        padding: 0.375rem 0.75rem;
    }

    /* Reduce margins between columns on tablets */
    .production-filter-card .row > [class*="col-"] {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .production-filter-card .card-body {
        padding: 0.75rem !important;
    }

    /* Better spacing for button groups on tablets */
    .production-filter-card .d-flex.flex-column {
        margin-top: 0.5rem;
    }

    /* Adjust margins on lg breakpoint (992px-1199px, iPad Pro range) */
    @media (min-width: 992px) {
        .production-filter-card .row {
            margin-left: -0.75rem;
            margin-right: -0.75rem;
        }

        .production-filter-card .row > [class*="col-"] {
            padding-left: 0.75rem;
            padding-right: 0.75rem;
        }

        .production-filter-card .mb-3 {
            margin-bottom: 0.75rem !important;
        }
    }
}

/* Sale Show Page - Media Download/Remove Buttons */
.btn-download-media {
    position: absolute;
    top: 35px;
    right: 5px;
    z-index: 10;
    padding: 3px 6px;
    font-size: 0.7rem;
    opacity: 0.9;
}

.btn-download-media:hover {
    opacity: 1;
}

.btn-remove-media {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 11;
    padding: 3px 6px;
    font-size: 0.7rem;
}

/* Status Flow Styles - Sale Show Page */
.status-flow-container {
    display: inline-flex;
    margin-left: 10px;
    position: relative;
    vertical-align: middle;
    align-items: flex-start;
    height: 60px;
}

.status-flow {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 3px;
}

.status-flow-item {
    display: flex;
    align-items: center;
    position: relative;
}
.popover-body.popover-statusflow:not(:empty) {
    padding: 3px 6px;
    font-size: smaller;
}

@media (max-width: 768px) {
    .card.view-sales-detail-card .card-header {
        flex-direction: column;
    }
}
@media (max-width: 500px) {
    .status-flow-container {
        display: none;
    }
}
.status-circle-pending,
.status-circle-completed,
.status-circle-current {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.status-circle-pending {
    background-color: #6c757d;
    border: 2px solid #6c757d;
}

.status-circle-completed {
    background-color: #28a745;
    border: 2px solid #28a745;
}

.status-circle-current {
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.3);
    animation: pulse 2s infinite;
    width: 14px;
    height: 14px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(40, 167, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

.status-circle-pending:hover,
.status-circle-completed:hover {
    transform: scale(1.3);
    cursor: pointer;
}

.status-connector {
    width: 15px;
    height: 2px;
    background-color: #6c757d;
    flex-shrink: 0;
}

.status-connector-completed {
    background-color: #28a745;
}

.status-label {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 0.7rem;
    white-space: nowrap;
    background: white;
    padding: 2px 5px;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    z-index: 10;
}

.status-label small {
    font-size: 0.6rem;
    display: block;
}

/* Packaging Media Horizontal Layout */
.media-types-horizontal-container {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

.media-types-horizontal-container::-webkit-scrollbar {
    height: 8px;
}

.media-types-horizontal-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.media-types-horizontal-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.media-types-horizontal-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.media-type-section {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    background: #fafafa;
}

.media-item {
    width: 200px !important;
}

.media-item img {
    width: 200px !important;
    height: 150px !important;
    object-fit: cover !important;
}

.media-item video {
    width: 200px !important;
    height: 150px !important;
    object-fit: cover !important;
}

.packaging-media-card {
    max-width: 100%;
    overflow: hidden;
}

/* Mobile-friendly file input styling */
.mobile-styled-input {
    border: 2px dashed #dee2e6;
    border-radius: 4px;
    padding: 20px 10px;
    text-align: center;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 60px;
    display: block;
    width: 100%;
    position: relative;
    color: #6c757d;
    font-weight: 500;
    font-size: 14px;
}

.mobile-styled-input:hover,
.mobile-styled-input:focus {
    border-color: #007bff;
    background-color: #e7f3ff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* File selected state - subtle green border */
.mobile-styled-input.has-file {
    border-color: #28a745;
}

/* Mobile specific enhancements */
@media (max-width: 768px) {
    .mobile-styled-input {
        border-radius: 8px;
        padding: 50px 15px;
        min-height: 90px;
        font-size: 16px;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .mobile-styled-input:hover,
    .mobile-styled-input:active,
    .mobile-styled-input:focus {
        border-color: #007bff;
        background-color: #e7f3ff;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
    }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    .mobile-styled-input {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -webkit-appearance: none;
    }
}

/* Ensure file inputs are visible and clickable */
.mobile-styled-input {
    opacity: 1 !important;
    visibility: visible !important;
}

