﻿/* ------ Checkbox CSS ------  */

.diamond-filter-btn {
    display: block;
}

.lnk-diamond-detail {
    font-size: 16px;
}

.diam-img {
    width: -webkit-fill-available;
}

.dia-desc-para {
    color: #4b4b4b;
}

    .dia-desc-para span {
        color: black;
    }

    .dia-desc-para img {
        width: 33px;
        margin-right: 6px;
    }

    .dia-desc-para.center {
        margin: auto 0;
        display: flex;
        align-items: center;
        gap: 4px;
    }

.diamond-filter {
    font-family: 'Manrope',sans-serif;
}

input[type="checkbox"][id^="chk"] {
    display: none;
}

input, span {
    -webkit-transition-property: none;
    -moz-transition-property: none;
    -o-transition-property: none;
    transition-property: none;
}

ul {
    list-style-type: none;
    padding-left: 0px;
}

.filtersection li {
    display: inline-block;
}

tr {
    cursor: pointer;
}

.p-1\.5 {
    padding: 0.375rem;
}

.border-gray-300 {
    border-color: rgb(209 213 219 / var(--tw-border-opacity));
}

.border {
    border-width: 1px;
}

.rounded-md {
    border-radius: 0.375rem;
}

.w-12 {
    width: 3rem;
}

.h-12 {
    height: 3rem;
}

.rounded-full {
    border-radius: 9999px;
}

.bg-yellow-400 {
    background-color: #FACC15;
}

.bg-zinc-400 {
    background-color: #cbcbcb;
}

.bg-rose-300 {
    background-color: #FDA4AF;
}

.rounded-full {
    border-radius: 9999px;
}

.w-auto {
    width: auto;
}

.h-8 {
    height: 2rem;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-center {
    text-align: center;
}

.pt-2 {
    padding-top: 0.5rem;
}

.text-theme-900 {
    color: #005aab;
}

.border-theme-900 {
    border-color: #005aab !important;
}

.overflow-x-hidden {
    overflow-x: hidden;
}

#FilterSection label {
    font-family: 'Manrope', sans-serif;
    padding: 0px;
    display: block;
    position: relative;
    margin: 0px 0px;
    cursor: pointer;
    justify-items: center;
   }

.color-container label {
    margin: 0px 6px !important;
}

label:before {
    background-color: white;
    color: white;
    content: " ";
    display: block;
    border-radius: 50%;
    border: 1px solid #003642;
    position: absolute;
    top: -5px;
    left: -5px;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 18px;
    transition-duration: 0.4s;
    transform: scale(0);
}

label img {
    height: 37px;
    width: 37px;
    transition-duration: 0.2s;
    transform-origin: 50% 50%;
}

.color-container label img {
    height: 33px;
    width: 33px;
}

.shp-name {
    display: flex;
    justify-content: center;
    font-size: 12px;
}

:checked + label {
    border-color: rgba(2,56,81,0.3) !important;
}

.filter-reset img {
    vertical-align: text-top;
}

.filter-reset a {
    vertical-align: text-bottom;
}

/*:checked + label img {
        border: 1px solid #003642;
        border-radius: 50%;
        width: 37px;
        height: 37px;
        padding: 3px;
        margin: 0px 0px;
    }*/
.shp-container:has(input:checked), .color-container:has(input:checked) {
    border: 1px solid #bdbdbd;
    border-radius: 6px;
}

input:checked + label img {
    -webkit-animation: yellow 1.5s;
    -moz-animation: yellow 1.5s;
    -o-animation: yellow 1.5s;
    animation: yellow 1.5s;
}

.shape-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 5px;
    padding: 0;
}

    .shape-grid li {
        list-style: none;
        text-align: center;
    }

    .shape-grid label div {
        line-height: 1.2; /* tighter lines */
        margin-top: 4px; /* reduce vertical gap */
    }

.mobShape {
    width: 70px;
}

.deskShape {
    width: 110px;
}

.mobShapeName {
    font-size: 12px;
}

.shapeName {
    font-family: Lato,sans-serif;
    text-align: center;
    text-transform: capitalize;
}

/* ----- Customize Bar ------ */
.irs--round .irs-handle {
    top: 28px;
    width: 20px;
    height: 20px;
    border: 1px solid #003642;
    background-color: #003642;
    border-radius: 20px;
    box-shadow: none;
}

.irs--round .irs-bar {
    background-color: #003642;
}

    .irs--round .irs-bar:hover {
        background-color: #003642;
    }

.txtCTWT, .txtPRICE, .txtLWRATIO, .txtDEPTH, .txtTBL, .txtLEN, .txtWID, .txtHGT {
    margin-top: 20px;
    width: 100px;
    padding: 0px 6px;
    height: 30px;
}

.txtTable {
    margin-top: 11px;
    width: 105px;
    padding: 0px 6px;
    height: 26px;
}

.txtDepth {
    margin-top: 11px;
    width: 105px;
    padding: 0px 6px;
    height: 26px;
}

.txtRatio {
    margin-top: 11px;
    width: 105px;
    padding: 0px 6px;
    height: 26px;
}

.txtLength {
    margin-top: 11px;
    width: 105px;
    padding: 0px 6px;
    height: 26px;
}

.txtWidth {
    margin-top: 11px;
    width: 105px;
    padding: 0px 6px;
    height: 26px;
}

.txtHeight {
    margin-top: 11px;
    width: 105px;
    padding: 0px 6px;
    height: 26px;
}

.txtPerCarat {
    margin-top: 11px;
    width: 105px;
    padding: 0px 6px;
    height: 26px;
}


/*-------------- Select Checkbox ------------ */
.checkbox {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    text-align: left;
    cursor: pointer;
    font-size: 1rem;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    margin: 0;
}

    .checkbox > span {
        background-color: none;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -ms-flex-negative: 0;
        flex-shrink: 0;
        border-radius: 0.22rem;
    }

        .checkbox > span:after {
            content: '';
            border-color: transparent;
            border-style: solid;
            border-width: 0 2px 2px 0 /*rtl:ignore*/ !important;
            -webkit-transform: rotate(45deg) /*rtl:ignore*/;
            transform: rotate(45deg) /*rtl:ignore*/;
            margin-top: -2px;
        }

    .checkbox > input {
        position: absolute;
        z-index: -1;
        opacity: 0;
    }

        .checkbox:hover > input:not([disabled]) ~ span,
        .checkbox > input:focus ~ span {
            -webkit-transition: all 0.3s ease;
            transition: all 0.3s ease;
        }

    .checkbox.checkbox-disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

    .checkbox > input:checked ~ span {
        -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;
        background-color: none;
    }

        .checkbox > input:checked ~ span:after {
            display: block;
        }

    .checkbox > span {
        height: 18px;
        width: 18px;
    }

        .checkbox > span:after {
            width: 5px;
            height: 10px;
        }

    .checkbox > input:focus ~ span {
        border: 1px solid transparent;
    }

    .checkbox > input:checked ~ span {
        background-color: #003642;
    }

        .checkbox > input:checked ~ span:after {
            border-color: #ffffff;
        }

    .checkbox.checkbox-primary > span {
        border: 1px solid #bbbbbb;
    }

    .checkbox.checkbox-primary > input:focus ~ span {
        border: 1px solid #bbbbbb;
    }

    .checkbox.checkbox-primary > input:checked ~ span {
        background-color: #003642;
        border: none;
    }

        .checkbox.checkbox-primary > input:checked ~ span:after {
            border-color: #ffffff;
        }

/*-------------- Select Checkbox ------------ */

a {
    color: #003642;
}

/*-------- Table Design -------- */
.table > thead {
    background-color: #003642;
    color: #fff;
    text-align: center;
}


table th {
    position: -webkit-sticky;
    position: sticky !important;
    top: 40px;
    z-index: 1;
    color: white;
    background-color: #003642 !important;
    font-weight: 400;
}

table, th, tr, thead {
    font-family: 'Manrope', sans-serif;
}

.table td, .table th {
    border-top: none !important;
    border-bottom-width: 0px !important;
    text-align: center;
}

#dtInventory.table td {
    white-space: nowrap;
}

.table-hover tbody tr.activeDiamondDetail:hover {
    background-color: transparent !important;
    --bs-table-accent-bg: transparent !important;
}

.table-hover tbody tr.activeDiamondDetail {
    background-color: transparent !important;
}

.table-hover > tbody > tr.shopDiamondTableTr {
    background-color: #155f6f !important;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #f9f9f9;
    --bs-table-accent-bg: none;
}

.table-shape {
    opacity: 0.5;
    margin-right: 10px;
    vertical-align: text-top;
}

.shopDiamondTableTr a, .shopDiamondTableTr span {
    color: white !important;
}

tr.diamondList.shopDiamondTableTr :is(a, span) {
    color: white !important;
}

.empty-table {
    padding: 40px 25px;
    border: 1px solid lightgray;
    margin: 12px;
    border-radius: 19px;
    text-align: center;
    display: flex;
    place-content: center;
}

    .empty-table p {
        color: #003642;
        font-size: 20px;
    }

    .empty-table a {
        max-width: 500px;
    }

.sticky-table-strip {
    position: sticky;
    top: 103px;
    z-index: 999;
}

/*@media only screen and (min-width: 1200px) and (max-width: 1900px) {
    .sticky-table-strip {
        top: 137px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1652px) {
    .sticky-table-strip {
        top: 143px;
    }
}

@media only screen and (min-width:768px) and (max-width:991px) {
    .sticky-table-strip {
        top: 159px;
    }
}

@media only screen and (min-width: 768px) {
    .diamond-filter-btn {
        min-width: 185px;
    }
}

@media only screen and (max-width: 767px) {
    .sticky-table-strip {
        top: 76px;
    }*/

    .diamond-filter-btn {
        font-size: 14px !important;
    }
}

@media only screen and (max-width: 730px) {
    .sticky-table-strip {
        top: 104px;
    }
}
/*-------- Table Design -------- */

/*-------- Range Slider -------- */
.irs--round .irs-grid-text {
    font-size: 12px;
}

.irs--round .irs-grid-text {
    color: #747474;
    font-family: 'Manrope', sans-serif;
}

.irs-grid-pol.small {
    height: 0px;
}

.irs--round {
    height: 35px;
}

    .irs--round .irs-grid-pol {
        background-color: white;
    }

.range-name {
    width: 114px;
    text-align: left;
    padding-right: 15px;
    padding-top: 10px;
    color: #003642;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    /*line-height: 70px;*/
    margin: auto 0;
}

.range-name-carat, .range-name-price, .range-name-depth, .range-name-ratio, .range-name-tbl {
    margin-top: 15px;
}

.adv-range-name {
    line-height: normal;
    text-align: left;
    width: auto;
}
/*-------- Range Slider -------- */
/*--- Custom Tooltip ----*/
.info-icon {
    color: #003642;
    cursor: pointer;
    position: relative;
    align-content: center;
}

    .info-icon:hover {
        color: #495057;
    }

    .info-icon .fa {
        font-size: 18px;
    }

.tooltip-custom {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    color: #1b1b1b;
    padding: 10px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
    width: auto;
    max-width: 310px;
    min-width: 230px;
    max-width: calc(100vw - 40px);
    text-align: left;
    line-height: 19px;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 8px 16px 0px;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

    /* Arrow pointing down */
    .tooltip-custom::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        border: 5px solid transparent;
        border-top-color: white;
    }

.info-icon:hover .tooltip-custom {
    opacity: 1;
    visibility: visible;
}

.form-check-input:focus {
    box-shadow: none;
}

.fs-12 {
    font-size: 12px;
}

.quick-shipping {
    border-radius: 0.375rem;
    border: 1px solid #003642;
    padding: 5px 7px 5px 28px !important;
}

.quick-shipping-mob {
    border-radius: 0.375rem;
    border: 1px solid #003642;
    padding: 4px 7px 4px 28px !important
}

.button-icon {
    width: 14px;
    display: inline-block;
    vertical-align: middle;
    height: 15px;
    width: auto;
    margin-right: 4px;
}

.button-icon-adjust {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.white-btn > button {
    color: #003642;
    background-color: #fff;
    border: 1px solid #003642;
}

button {
    font-weight: 400 !important;
}
/*-------- Table Loading -------- */
.loader {
    width: 60px;
    position: relative;
    left: 500px;
}

.loader-wheel {
    animation: spin 1s infinite linear;
    border: 4px solid #003642;
    border-left: 4px solid #fff;
    border-radius: 50%;
    height: 50px;
    margin-bottom: 10px;
    width: 50px;
}

.discounted-price a {
    color: #cc0c39 !important;
}

.cross-off-price {
    color: gray !important;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/*-------- Table Loading -------- */

/*-------- Start: Mobile Filter Modal -------- */

/* Ensure modal itself is scrollable */
.modal.modal-bottom-slide .modal-dialog {
    z-index: 1050; /* Above backdrop */
}

/* Ensure modal body scrolls when content overflows */
.modal.modal-bottom-slide .modal-body {
    padding: 0;
    max-height: 100vh;
    overflow: auto;
    padding-top: 20px;
}

/* --- Styles for Bottom Sliding Modal --- */
.modal.modal-bottom-slide .modal-dialog {
    /* Positioning */
    position: fixed; /* Position relative to viewport */
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0; /* Reset default margins */
    /* Sizing */
    max-width: 100%; /* Override Bootstrap's max-width for modals */
    height: 100vh;
    transform: translateY(100%); /* Start below the viewport */
    transition: transform .3s ease-out; /* Transition the transform property */
    padding: 0px;
}

.modal.modal-bottom-slide.show .modal-dialog {
    transform: translateY(0); /* Slide to final position (bottom edge) */
}

.modal.modal-bottom-slide .modal-footer {
    /* Add background/border if needed */
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding: 18px 15px;
}
/*-------- End: Mobile Filter Modal -------- */

/*-------- Start: Filters Active -------- */
.filter-active {
    box-shadow: none;
    transition: none;
    border: 1px solid #003642 !important;
    background-color: #e7fbff;
    cursor: pointer;
    font-weight: 600;
}
/*-------- End: Filters Active -------- */

/*-------- Start: Advanced Filters  -------- */
.advanced-toggle {
    cursor: pointer;
    text-align: center;
}

.mobilefilter-button-container {
    /* z-index: 1030; */ /* Below default modal backdrop (1050) */
    border-top: 1px solid #dee2e6;
}

/* Animation for the advanced filters */
.advanced-filters {
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    max-height: 0; /* Initially collapsed */
    opacity: 0; /* Initially invisible */
}


    .advanced-filters.expanded {
        max-height: 500px; /* Adjust this value based on your content height */
        opacity: 1;
    }

.addi-detail, .filterAccord {
    padding-bottom: 0px;
}

    .addi-detail .accordion-item, .filterAccord .accordion-item {
        border: 0px;
    }

    .addi-detail .accordion-button, .filterAccord .accordion-button {
        padding: 11px 10px;
        box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
    }

        .addi-detail .accordion-button:not(.collapsed)::after, .filterAccord .accordion-button:not(.collapsed)::after {
            background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>");
            transform: rotate(180deg);
        }

        .addi-detail .accordion-button:not(.collapsed), .filterAccord .accordion-button:not(.collapsed) {
            color: #212526;
            background-color: transparent;
        }

.addi-detail, .filterAccord {
    padding-bottom: 0px;
}

    .addi-detail .accordion-item, .filterAccord .accordion-item {
        border: 0px;
    }

    .addi-detail .accordion-button, .filterAccord .accordion-button {
        padding: 11px 10px;
        box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
    }

        .addi-detail .accordion-button:not(.collapsed)::after, .filterAccord .accordion-button:not(.collapsed)::after {
            background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>");
            transform: rotate(180deg);
        }

        .addi-detail .accordion-button:not(.collapsed), .filterAccord .accordion-button:not(.collapsed) {
            color: #212526;
            background-color: transparent;
        }

/*-------- End: Advanced Filters -------- */

/*-------- Start: Shop Diamond Page Buttons -------- */
.chkbtn-custom {
    background-color: #fff;
    border-radius: 0.375rem;
    overflow: hidden;
    float: left;
   
}

    .chkbtn-custom label {
        float: left;
        padding: 7px 14px !important;
    }

        .chkbtn-custom label span {
            text-align: center;
            display: block;
        }

        .chkbtn-custom label input {
            position: absolute;
            display: none;
                   }
      
    .chkbtn-custom input:checked + span {
        color: #ffffff;
           }

.btn-bestBargains {
    color: #003642;
    border: 1px solid #003642;
}

    .btn-bestBargains label input {
        color: #003642 !important;
    }

        .btn-bestBargains label input + span {
            color: #003642;
        }

.btn-diam label input + span {
    color: #003642;
}

.btn-diam {
    color: #003642;
    border: 1px solid #003642;
}

    .btn-diam label input {
        color: #003642 !important;
    }

        .btn-diam label input + span {
            color: #003642;
        }

    .btn-diam label:has(input:checked) {
        background-color: #003642 !important;
        color: #ffffff !important;
    }

.diamSource .return,
.diamSource .white {
    border-radius: 0.375rem 0 0 0.375rem;
    border-right: 1px solid lightgray;
}

.diamSource .finalSale,
.diamSource .color {
    border-left: 0;
    border-radius: 0 0.375rem 0.375rem 0;
}
/*-------- End: Shop Diamond Page Buttons -------- */

/*-------- Start: Shop Diamond Page Css -------- */

[aria-expanded="false"] > .expanded,
[aria-expanded="true"] > .collapsed {
    display: none;
}

.metalBorder {
    border-color: #003642 !important;
    cursor: pointer;
}

.astro-sort {
    cursor: pointer;
}

.loading-spinner {
    width: 30px;
    height: 30px;
    border: 2px solid #003642;
    border-radius: 50%;
    border-top-color: #0001;
    display: inline-block;
    animation: loadingspinner .7s linear infinite;
}

@keyframes loadingspinner {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

.modal-block-ui {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.6);
    z-index: 1055; /* higher than modal content */
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: all; /* block all interaction */
}
/*-------- End: Shop Diamond Page Css -------- */

@media only screen and (min-width: 1200px) {
    .container {
        max-width: 1300px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    label img, .color-container label img {
        width: 50px;
        height: 50px;
    }
}

@media only screen and (min-width: 768px) {
    .accordion-button::after {
        margin-left: 10px;
    }
}

@media only screen and (max-width: 767px) {
    .sticky-table-strip {
        top: 0px !important;
        white-space: nowrap;
    }

    .advanced-toggle {
        text-align: left;
    }

    label img, .color-container label img {
        width: 60px;
        height: 60px;
    }
}

@media only screen and (max-width: 600px) {
    .color-container label {
        margin: 0px 8px !important;
    }

    .table td {
        font-size: 12px;
    }

    .tblShopDiamondDiv {
        overflow-x: auto;
    }

    .table th {
        font-size: 11px;
        position: static !important;
    }

    .shape-row {
        text-align: left !important;
    }

    .range-name-carat, .range-name-price {
        margin-top: 0px;
        margin-bottom: -20px;
    }

    .range-name {
        margin-bottom: -25px;
        font-size: 13px;
    }

    .range-name-shape, .range-name-colorFancy, .range-name-lab, .range-name-fancycolorintensity {
        margin-bottom: 0px;
    }

    label img, .color-container label img {
        width: 60px;
        height: 60px;
    }

    .shp-name {
        display: flex;
        font-size: 12px;
    }

    :checked + label img {
        width: 60px;
        height: 60px;
    }

    .delivery-notes {
        color: #c21035;
        text-align: center;
        margin-bottom: 2px;
        font-size: 11px;
        line-height: 16px;
    }

    .empty-table p {
        color: #003642;
        font-size: 16px;
    }

    .chkbtn-custom {
        font-size: 12px;
    }

        .chkbtn-custom label {
            float: left;
            padding: 5px 7px !important;
        }

    .single-product-cart > button {
        padding: 5px 8px !important;
        font-size: 12px;
    }

    #divDisclaimer {
        font-size: 11px;
    }
}
