﻿.jwlCardDiv{
    margin-bottom:15px;
}
/* CARD */
.jwlCard {
    background: white;
    border-radius: 1rem;
    /*overflow: hidden;*/
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    transition: transform .3s;
}

.jwlCard:hover {
    transform: scale(1.03);
}

/* HEADER LABEL */
.jwlCard-header {
    color: var(--bg-main); 
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem;
}

/* IMAGE WRAPPER */
.jwlCard-image-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
}

.jwlCard-image-wrap img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid rgba(0, 0, 0, .125);
    aspect-ratio: 1;
    object-fit: cover;
}

.jwlCardbadge {
    position: absolute;
    top: 6px;
    right: 0px;
    background: #1950414f;
    color: #5a5a5a;
    font-weight: 600;
    padding: 1px 8px;
    border-radius: 8px 0px 0px 8px;
    font-size: 12px;
}


.badge-toggle {
   /* display: inline-block;
    overflow: hidden;
    height: auto;
    min-height: 22px;*/
}

.badge-toggle span {
    position: absolute;
    opacity: 0;
    animation: toggleBadge 4s infinite;
    transition: opacity 0.3s ease;
}

.badge-toggle span:nth-child(1) {
    animation-delay: 0s;
}

.badge-toggle span:nth-child(2) {
    animation-delay: 2s;
}

@keyframes toggleBadge {
    0%, 45% {
        opacity: 1;
    }

    55%, 100% {
        opacity: 0;
    }
}



/* BODY */
.jwlCard-body {
    padding: 7px 1px 7px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.jwlCard-title {
    font-size: 16px;
    height: 100px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 2px;
    line-height: 1.3;
    text-transform: capitalize;
}

.jwlCard-subinfo {
    font-size: 14px;
    color: #5a5a5a;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
    margin-bottom: 5px;
    line-height: 1.4;
}

.gold-color-circle {
    display: inline-block;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
    border: 1px solid #ccc;
}

.jwlCard-style-gold {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.jwlCard-details-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.jwlCard-details-row .jwlCard_totalamount {
    font-size: 18px;
    color: #111827;
}

.jwlCard-details-left {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    color: #5a5a5a;
}

.jwlCard-details-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.jwlCard-checkbox {
    position: absolute;
    top: 6px;
    left: 10px;
    width: unset;
}

.jwlCard-actions {
    position: absolute;
    bottom: -100px;
    right: 50%;
    transform: translateX(50%);
    display: flex;
    flex-direction: row;
    gap: 10px;
    transition: bottom 0.3s ease, opacity 0.3s ease;
    opacity: 0.8 !important;
    z-index: 2;
    background: white;
    max-width: 100%;
    padding: 7px;
    width: 99%;
    justify-content: center;
}

.jwlCard:hover .jwlCard-actions {
    bottom: 0;
    opacity: 1;
}

.jwlCard-icon-btn {
    background-color: transparent;
    border: 1px solid var(--bg-main);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s, color 0.2s;
    color: var(--bg-main);
}

.jwlCard-icon-btn i {
    font-size: 13px;
    transition: color 0.2s;
}

.jwlCard-icon-btn:hover {
    transform: scale(1.1);
    background-color: var(--bg-main);
    color: white; 
}

.active-btn {
    background-color: var(--bg-main);
    color: white;
}


/*.tooltip-text {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 6px;
    background-color: black;
    backdrop-filter: blur(6px);
    color: #fff;
    padding: 0px 5px;
    font-size: 11px;
    font-weight: 300;
    border-radius: 0.5rem;
    white-space: nowrap;
    border: 1px solid rgba(250, 204, 21, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 50;
}*/

/*.jwlCard-icon-btn:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
}*/

.dropdown-wrapper {
    width: 100%; /* or 100% if inside another full-height container */
}

.dropdown-wrapper .checkbox-dropdown-list {
    height: auto !important;
}

.OccasionLabel {
    display: flex !important;
    justify-content: space-between;
}

.Occasiondropdown #Occasion_select li {
    display: flex;
}

.sidebar_widget .checkbox-dropdown {
    width: 100%;
}

.Occasiondropdown {
    width: 100%;
    border: 1px solid #d4d5d9;
}

.jwlCardSkeleton{
    height:265px;
}

.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: #000 transparent transparent transparent;
}

.shimmer {
    background: linear-gradient(90deg, #e0e0e0 25%, #f6f6f6 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/*.quick-connect .qc-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: transparent; 
    padding: 10px 15px;
    border-radius: 50px;
    position: relative;
    overflow: visible; 
    text-decoration: none;
    z-index: 1;
}

.quick-connect .qc-icon .icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e1e1e1;
    background: #fff;
    color: #262626;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    position: relative;
    overflow: hidden;
    transition: color 0.5s, border-color 0.5s;
    z-index: 3;
}

.quick-connect .qc-icon .label {
    color: #262626;
    font-weight: 500;
    white-space: nowrap;
    user-select: none;
    z-index: 3;
    transition: none;
}

.quick-connect .qc-icon .icon::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    transition: top 0.5s;
    z-index: 0;
}

.quick-connect .qc-icon:hover .icon::before {
    top: 0;
}

.icon i:hover {
    color: #ffffff;
}

.quick-connect .qc-icon:hover .icon {
    transform: rotateY(360deg);
}

.quick-connect .col-4:nth-child(1) .qc-icon .icon::before {
    background: #3b5999;
}

.quick-connect .col-4:nth-child(2) .qc-icon .icon::before {
    background: #55acee;
}

.quick-connect .col-4:nth-child(3) .qc-icon .icon::before {
    background: #25D366;
}*/

.quick-connect .qc-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    padding: 10px 15px;
    border-radius: 50px;
    position: relative;
    overflow: visible;
    text-decoration: none;
    z-index: 1;
}

.quick-connect .qc-icon .icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e1e1e1;
    background: #fff;
    color: #262626;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    position: relative;
    overflow: hidden;
    transition: color 0.5s, border-color 0.5s;
    z-index: 3;
}

.quick-connect .qc-icon .icon i {
    color: #262626;
    transition: transform 0.5s;
    z-index: 3;
    position: relative;
    font-size: 20px;
    text-align: center;
}

/* flip only the icon */
.quick-connect .qc-icon:hover .icon i {
    color: #ffffff;
    transform: rotateY(360deg);
}

.quick-connect .qc-icon .icon::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    transition: top 0.5s ease;
    z-index: 0;
}

/* slide background up on hover */
.quick-connect .qc-icon:hover .icon::before {
    top: 0;
}

    /* Label */
.quick-connect .qc-icon .label {
    color: #262626;
    font-weight: 500;
    white-space: nowrap;
    user-select: none;
    z-index: 3;
    transition: none;
}

/* Individual Icon Fill Backgrounds */
.quick-connect .col-2:nth-child(1) .qc-icon .icon::before {
    background: #3b5999;
}

.quick-connect .col-2:nth-child(2) .qc-icon .icon::before {
    background: #55acee;
}

.quick-connect .col-2:nth-child(3) .qc-icon .icon::before {
    background: #25D366;
}

.requestcatalog_wrapper {
    margin: 25px 0px 30px;
}

.requestcatalog_header {
    margin-bottom: 20px;
}

.requestcatalog_header h3 {
    color: var(--bg-main);
    margin: 0px;
}

.requestcatalog_ptag{
    font-size: 15px;
    margin:0;
}

.accordion-button {
    background-color: #fff;
    font-weight: 500;
    border-radius: 0.375rem !important;
    transition: all 0.3s ease;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #ccc;
}

.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: #487c6e; 
}

.btn-dark {
    background-color: #487c6e;
    border-color: #487c6e;
}

.requestcatalog_accordion_btn {
    background-color: #487c6e;
    color: #ffffff;
}

.specificationHeading{
    font-size: 20px;
    margin-bottom: 20px;
}

#requestcatalog_upload::-webkit-file-upload-button {
    background-color: var(--bg-main) !important;
    border: 1px solid var(--bg-main) !important;
    color: #fff !important;
    padding: 5px 10px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease-in-out !important;
    margin-top: 4px;
    cursor: pointer;
}

#requestcatalog_upload::-webkit-file-upload-button:hover {
    background: #578269 !important;
    box-shadow: none !important;
}

.accordion-button {
    position: relative; /* needed for absolute positioning */
}

/* Hide default arrow */
.accordion-button::after {
    display: none;
}

/* Custom plus/minus symbol */
.accordion-button::before {
    content: '+';
    font-size: 20px;
    font-weight: bold;
    color: var(--bg-main);
    position: absolute;
    right: 1rem; /* distance from right edge */
    top: 50%;
    transform: translateY(-50%);
    transition: content 0.2s ease;
}

/* When accordion is open, show minus */
.accordion-button:not(.collapsed)::before {
    content: '–';
    color: white;
}

