/* Swal */
@import "../../fonts.css";

.custom-warning-modal {
    background-color: #ffdddd;
    /* Example: change background color */
    border: 2px solid #ff0000;
    /* Example: add a border */
    border-radius: 10px;
    /* Example: round the corners */
    color: #333;
    /* Change text color */
}

.myaccount .tab-content {
    border-top: none !important;
    border-top-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
}



.custom-warning-modal .swal2-title {
    font-size: 1.5rem;
    /* Style the title */
    font-weight: bold;
    /* Make the title bold */
}

.custom-warning-modal .swal2-content {
    font-size: 1rem;
    /* Style the content */
}

div:where(.swal2-container).swal2-backdrop-show,
div:where(.swal2-container).swal2-noanimation {
    background: rgb(0 2 15 / 85%) !important;
}

div:where(.swal2-container) .swal2-input {
    height: 2.625em;
    margin: 10px 0px;
    padding: 0 .75em;
    width: -webkit-fill-available !important;
    font-size: 15px;
    padding: 2px 7px !important;
}

.swal2-html-container textarea {
    font-size: 14px;
    height: 110px !important;
    padding: 10px 12px !important;
}

.reviewmodal .swal2-html-container label {
    text-align: left;
    float: left;
    font-size: 14px;
    margin-bottom: -14px;
}

.loginmodal {
    background: #f4f4f4 !important;
}


@keyframes swalfadeIn {
    0% {
        -webkit-transform: translateZ(-80px);
        transform: translateZ(-80px);
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        opacity: 1;
        transform: scale(1);
    }
}

/* Define the fade-out animation */
@keyframes swalfadeOut {
    0% {
        opacity: 1;
        /* Start fully visible */
        transform: scale(1);
        /* Start with normal size */
    }

    100% {
        opacity: 0;
        /* End with invisible */
        transform: scale(0.9);
        /* End with a smaller size */
    }
}

/* Apply the fade-in animation to the Swal popup */
.swal-fade-in {
    animation: swalfadeIn 0.5s ease-in forwards;
    /* Smooth fade-in with ease-in timing */
}

/* Apply the fade-out animation to the Swal popup */
.swal-fade-out {
    animation: swalfadeOut 0.5s ease-out forwards;
    /* Smooth fade-out with ease-out timing */
}

div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm) {
    border: 0;
    border-radius: .25em;
    background: initial;
    background-color: #262626 !important;
    color: #fff !important;
    font-size: 1em;
}

div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel) {
    border: 0;
    border-radius: .25em;
    background: initial;
    background-color: #9E9E9E !important;
    color: #fff !important;
    font-size: 1em;
}

/* Swal */


.variant-box {
    border: 1px solid #e1e1e1;
    padding: 2px 12px;
    background: #f1f1f1;
    margin-right: 3px !important;
    margin-top: .5rem !important;
}


#cartloading {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    /* Ensures the spinner appears above other content */
}




/* Order Details  */


#order-heading {
    background-color: #edf4f7a8;
    position: relative;
    max-width: 800px;
    padding-top: 20px;
    margin: 30px auto 23px;
    padding-bottom: 17px;
}

#order-heading .text-uppercase {
    font-size: 0.9rem;
    color: #777;
    font-weight: 600;
}

#order-heading .h4 {
    font-weight: 600;
}

#order-heading .h4+div p {
    font-size: 0.8rem;
    color: #777;
}

.close {
    padding: 10px 15px;
    background-color: #777;
    border-radius: 50%;
    position: absolute;
    right: -15px;
    top: -20px;
}

.wrapper {
    padding: 0px 50px 50px;
    max-width: 800px;
    margin: 0px auto 40px;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}

.table th {
    border-top: none;
}

.table thead tr.text-uppercase th {
    font-size: 0.8rem;
    padding-left: 0px;
    padding-right: 0px;
}

.table tbody tr th,
.table tbody tr td {
    font-size: 0.9rem;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 5px;
}


.list div b {
    font-size: 0.8rem;
}

.list .order-item {
    font-weight: 600;
    color: #6db3ec;
}

.list:hover {
    background-color: #f4f4f4;
    cursor: pointer;
    border-radius: 5px;
}

label {
    margin-bottom: 0;
    padding: 0;
    /*font-weight: 900;*/
}


.price {
    color: #000;
    font-weight: 700;
}

p.text-justify {
    font-size: 0.9rem;
    margin: 0;
}


.subscriptions {
    border: 1px solid #ddd;
    border-left: 5px solid #ffa500;
    padding: 10px;
}

.subscriptions div {
    font-size: 0.9rem;
}

@media(max-width: 425px) {
    .wrapper {
        padding: 20px;
    }

    body {
        font-size: 0.85rem;
    }

    .subscriptions div {
        padding-left: 5px;
    }

    img+label {
        font-size: 0.75rem;
    }

}

/* Order Details */


/* Data Table */

.orders-view-button {
    cursor: pointer;
    font-size: 13px;
    padding: 1px 6px;
}

div.dataTables_wrapper div.dataTables_info {
    padding-top: 0px;
    font-size: 11px;
}

table.table-bordered.dataTable thead tr:first-child th,
table.table-bordered.dataTable thead tr:first-child td {
    border-top-width: 1px;
    font-size: 12px;
}

div.dataTables_wrapper div.dataTables_length label {
    font-weight: normal;
    text-align: left;
    white-space: nowrap;
    font-size: 11px;
}

div.dataTables_wrapper div.dataTables_filter label {
    font-weight: normal;
    white-space: nowrap;
    text-align: left;
    font-size: 11px;
}

.page-item:first-child .page-link {
    border-top-left-radius: var(--bs-pagination-border-radius);
    border-bottom-left-radius: var(--bs-pagination-border-radius);
    font-size: 12px;
    padding: 0px 9px;
}

.page-item:not(:first-child) .page-link {
    margin-left: calc(var(--bs-border-width)* -1);
    font-size: 12px;
    padding: 0px 9px;
}

.spinner-dark {
    position: relative;
    top: 2px;
    color: #000
}

.pesco-pagination-active {
    background-color: #13172b;
}

.editable {
    background: #fff;
    display: inline-block;
    padding: 8px;
    margin: 9px 0px;
    border: 1px solid #cecece;
    border-radius: 4px;
    width: -webkit-fill-available;
}

.noneditable {
    background: #e6e6e6;
    display: inline-block;
    padding: 8px;
    margin: 9px 0px;
    border: 1px solid #cecece;
    border-radius: 4px;
    width: -webkit-fill-available;
}

.icon-btn {
    cursor: pointer;
}

.swal2-popup {
    z-index: 9999 !important;
    /* Ensure it's higher than the Bootstrap modal */
}

/* Optionally, if the background overlay is also hidden behind the modal */
.swal2-overlay {
    z-index: 9998 !important;
}

button {
    border: none;
    background: none;
    box-shadow: none;
}


@keyframes shakesize {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(0);
    }
}

/* Add the shake effect class */
.shakesize {
    animation: shakesize 0.3s ease-in-out;
    animation-iteration-count: 3;
}



/* Sidebar Menu Cart */

.badges-on-sale-cart {
    padding: 0 6px;
    background-color: var(--critical);
    border-radius: 999px;
    color: var(--white);
    font-size: 9px;
    letter-spacing: 0.1em;
    position: relative;
    top: -3px;
}

.sidebar-cart-item {
    position: relative;
    padding: 35px 20px 35px 115px;
    /* border-bottom: 1px solid rgba(0, 0, 0, 0.1); */
    margin-bottom: 0;
    text-align: left;
}

.sidebar-cart-item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.sidebar-cart-item a {
    display: block;
    font: 400 16px var(--heading-font);
    width: 150px;
}

.sidebar-cart-item img {
    position: absolute;
    left: 20px;
    top: 30px;
    width: 80px;
    object-fit: cover;
    height: 80px;
    border-radius: 10px;
}

.sidebar-cart-item .remove-cart {
    position: absolute;
    top: 50%;
    right: 20px;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    font-size: 15px;
}

.variant-detail {
    font-size: 12px;
}

.remove-cart {
    color: #000 !important;
}

/* Sidebar Cart */

/* Announcement Bar Styles */
.announcement-bar {
    background-color: #333;
    color: white;
    padding: 2px 0;
    position: static;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* Message Container */
.message-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 100%;
    overflow: visible;
    text-align: center;
}

/* Individual message styling */
.message {
    display: none;
    font-size: 12px;
    font-weight: normal;
    padding: 0 10px;
    white-space: pre-line;
}

.message.active {
    display: inline-block;
}

/* Arrow buttons */
.msgarrow i,
.msgarrow i:hover {
    position: absolute;
    top: 48%;
    transform: translateY(-50%);
    font-size: 12px;
    cursor: pointer;
    padding: 5px;
    color: #c7c7c7;
    border: none;
    border-radius: 50%;
    z-index: 10;
}

.msgarrow-left {
    left: 0px;
}

.msgarrow-right {
    right: 0px;
}

.btn-primary {
    background: #000;
    border: none;
}

.nav-tabs button {
    background: #ffffff;
    border-radius: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom: 1px solid #ffffff;
    border: 1px solid #dee2e6;
}

.collection-circle .img-style {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}