.actions a img {
    height: 24px;
    width: 24px;
    padding: 2px;
    tabindex: none;
}

tr a img {
    opacity: 0.25;
    transform: scale(0.75);
    transition: all 1s;
}

tr:hover a img,
tr:focus a img,
tr:focus-within a img,
tr:active a img {
    opacity: 1;
    transform: scale(1.1);
}

tr a img:hover:not(.scaleOnHover) {
    opacity: 1;
    transform: scale(2);
}

.scaleOnHover {
    opacity: 0.25;
    transform: scale(0.75);
    transition: all 1s;
}

.scaleOnHover:hover {
    opacity: 1;
    transform: scale(1.5);
}

tr a.showOnHover {
    opacity: 0;
    transition: opacity 0.3s;
}

tr:hover a.showOnHover {
    opacity: 1;
    transform: scale(2.5);
}

td,
th {
    padding: 5px;
}

.select2-container .select2-selection--single {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 40px;
    user-select: none;
    -webkit-user-select: none;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {

    line-height: 36px;
}

a {
    cursor: pointer;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 6px;
    right: 1px;
    width: 20px;
}

.required label:not(.btnLabel)::after {
    font-weight: bold;
    content: '*';
    color: red;
    margin-left: 5px;
}

.btnLabel {
    display: flex;
}

/* .btnLabel::after {
    font-weight: bold;
    content: '*';
    color: red;
    margin-left: 5px;
} */


/* Style the modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Add animation */
.modal-content {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}

@-webkit-keyframes tada {
    0% {
        -webkit-transform: scaleX(1);
        transform: scaleX(1)
    }

    10%,
    20% {
        -webkit-transform: scale3d(.9, .9, .9) rotate(-3deg);
        transform: scale3d(.9, .9, .9) rotate(-3deg)
    }

    30%,
    50%,
    70%,
    90% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate(3deg);
        transform: scale3d(1.1, 1.1, 1.1) rotate(3deg)
    }

    40%,
    60%,
    80% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate(-3deg);
        transform: scale3d(1.1, 1.1, 1.1) rotate(-3deg)
    }

    to {
        -webkit-transform: scaleX(1);
        transform: scaleX(1)
    }
}

@keyframes tada {
    0% {
        -webkit-transform: scaleX(1);
        transform: scaleX(1)
    }

    10%,
    20% {
        -webkit-transform: scale3d(.9, .9, .9) rotate(-3deg);
        transform: scale3d(.9, .9, .9) rotate(-3deg)
    }

    30%,
    50%,
    70%,
    90% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate(3deg);
        transform: scale3d(1.1, 1.1, 1.1) rotate(3deg)
    }

    40%,
    60%,
    80% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate(-3deg);
        transform: scale3d(1.1, 1.1, 1.1) rotate(-3deg)
    }

    to {
        -webkit-transform: scaleX(1);
        transform: scaleX(1)
    }
}

.animate__tada {
    -webkit-animation-name: tada;
    animation-name: tada
}

.icon-container svg {
    opacity: 0.2;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

tr:hover .icon-container svg {
    opacity: 1;
}

.icon-container:hover svg {
    transform: scale(1.5);
}

.icon-text {
    opacity: 0.2;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

tr:hover .icon-text {
    opacity: 1;
}

/*spinner*/
/* styles.css */

/* styles.css */

.overlay {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 99;
}

.spinner {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 5s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



.tooltip-container {
    position: relative;
    display: inline-block;
}

.tooltip-container .tooltip-text {
    visibility: hidden;
    width: max-content;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px 10px;
    position: absolute;
    z-index: 99;
    bottom: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    font-size: 12px;
    font-family: Arial, sans-serif;
}

.tooltip-container .tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.tooltip-container:hover .tooltip-text,
.tooltip-container:focus-within .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.navigation:hover {
    transform: scale(1.1) rotate(360deg);
    filter: drop-shadow(2px 4px 6px black);
}

div:where(.swal2-container) button:where(.swal2-styled):not([disabled]) {
    cursor: pointer;
    background-color: #3498db;
}

div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel) {
    border: 0;
    border-radius: .25em;
    background: initial;
    background-color: #6e7881 !important;
    color: #fff;
    font-size: 1em;
}

.tableDates {
    font-size: .8rem !important;
    font-weight: 300 !important;
}

/* //pulse animation */
.pulse {
    animation-timing-function: ease;
    animation: pulse 2s infinite;
}

.ss-main .ss-single-selected {
    height: 29.6px;
    color: black;
}

.ss-main {
    /* border: 2px solid transparent; */
    border-radius: 0.375rem;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.ss-main:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
}

.ss-content .ss-list .ss-option {
    color: black;
}

.ss-content .ss-search .ss-addable {
    display: flex;
    align-items: end;
}

.ss-option-selected {
    background-color: #3b82f6 !important;
    color: white !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

.ss-main.ss-invalid .ss-multi-selected,
.ss-main.ss-invalid .ss-single-selected {
    border-color: red;
}

/* Hide error message by default */
.ss-main .ss-invalid-message {
    display: none;
    color: red;
    font-size: 12px;
    margin-top: 4px;
}

/* Show error message when invalid */
.ss-main.ss-invalid .ss-invalid-message {
    display: block;
}


.tippy-box[data-animation='custom'] {
    transition: transform 0.4s ease, opacity 0.3s ease;
}

@keyframes pulse {
    0% {
        transform: scale(1, 1);
        box-shadow: 0 0 0 0px rgba(154, 36, 36, 0.2);
    }

    25% {
        transform: scale(1, 1);
    }

    50% {
        transform: scale(1.2, 1.2);
    }

    100% {
        transform: scale(1, 1);
        box-shadow: 0 0 0 12px rgba(158, 25, 215, 0);
    }
}

/* code for status in saleorder module view */
.mn-status {
    align-items: center;
    gap: 15px;
    justify-content: flex-start;
}

.status-step {
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 10px;
}

.status-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    flex-shrink: 0;
    z-index: 1;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid #fff;
}

.status-circle.bg-green-500 {
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
}

.status-circle.bg-red-500 {
    background: linear-gradient(135deg, #F44336, #E57373);
}

.status-tick {
    font-size: 16px;
    font-weight: bold;
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}


.status-line {
    height: 1px;
    width: 40px;
    margin: 0 2px;
    border-radius: 1px;
}

.status-line.green-line {
    background: linear-gradient(90deg, #4CAF50, #66BB6A);
}

.status-line.red-line {
    background: linear-gradient(90deg, #F44336, #E57373);
}

.status-line.yellow-line {
    background: linear-gradient(90deg, #d9c835, #c5b310);
}

.status-info {
    display: flex;
    flex-direction: column;
}

.status-info strong {
    font-size: 13px;
    color: #333;
}

.status-info span {
    font-size: 10px;
    color: #555;
}

.form-check-input[type=checkbox] {
    margin-right: 5px;
    margin-bottom: 3px;
}

input[readonly] {
    background-color: #f3f4f6;
}

.textLink:hover {
    text-decoration: underline;
    cursor: pointer;
}



@media (max-width: 768px) {
    .status-circle {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }

    .status-line {
        width: 20px;
    }

    .status-info strong {
        font-size: 10px;
    }

    .status-info span {
        font-size: 8px;
    }
}

/* code end for status in saleorder module view */