/* ═══════════════════════════════════════════════════════════
   ADOREFORYOU THEME — Custom Component Overrides
   Smooth, warm, and premium styling for third-party packages
   ═══════════════════════════════════════════════════════════ */

/* Active link for frontend start */
.profile-link.active, .profile-link.active .lab {
    --tw-text-opacity: 1;
    color: rgb(var(--primary) / var(--tw-text-opacity));
}
/* Active link for frontend close */


/* ── Date Picker ─────────────────────────────────────────── */
.dp__input {
    border-color: rgb(15 31 61 / 0.15) !important;
    color: inherit !important;
    font-family: var(--client-font) !important;
    font-size: 0.875rem !important;
    padding: 8px 25px !important;
    border-radius: 0.75rem !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: rgb(251 247 242) !important;
}

.dp__input:hover {
    border-color: rgb(var(--primary) / 0.15) !important;
    color: inherit !important;
    box-shadow: 0 2px 8px rgba(15, 31, 61, 0.04) !important;
}

.dp__input_focus {
    border-color: rgb(var(--primary) / 0.3) !important;
    color: inherit !important;
    box-shadow: 0 4px 16px rgba(15, 31, 61, 0.08) !important;
}

.dp__input.invalid {
    border-color: rgb(198 40 40 / 0.5) !important;
}

.dp__input_icons {
    background: rgb(251 247 242) !important;
    padding: 4px 4px !important;
}

.dp__clear_icon {
    right: 1px !important;
}
[dir="rtl"] .dp__clear_icon {
    right: unset !important;
    left: 1px !important;
}


/* ── Tag Package ─────────────────────────────────────────── */
.vue-tags-input {
    max-width: 100% !important;
}

.vue-tags-input .ti-input {
    border-radius: 0.75rem !important;
    border-color: rgb(15 31 61 / 0.15) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: rgb(251 247 242) !important;
}

.vue-tags-input.ti-focus .ti-input {
    border-color: rgb(var(--primary) / 0.3) !important;
    box-shadow: 0 4px 16px rgba(15, 31, 61, 0.06) !important;
}

.vue-tags-input.invalid-tag .ti-input {
    border-color: rgb(198 40 40 / 0.5) !important;
}


/* ── Textarea / Quill Editor ─────────────────────────────── */
.textarea-error-box-style {
    padding: 0;
    margin: 0;
    border: 1px solid;
    border-radius: 0.75rem;
}

.textarea-error-box-style.invalid::before {
    content: none !important;
}

.textarea-border-radius {
    border-radius: 0 0 0 0.75rem;
    border-color: rgb(15 31 61 / 0.15) !important;
}

.ql-toolbar.ql-snow {
    border: 1px solid rgb(15 31 61 / 0.15) !important;
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
    background: rgb(251 247 242) !important;
}

.ql-container.ql-snow {
    border-left: 1px solid rgb(232 228 224) !important;
    border-right: 1px solid rgb(232 228 224) !important;
    border-bottom: 1px solid rgb(232 228 224) !important;
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
}


/* ── Text Description ────────────────────────────────────── */
.text-description>ol {
    list-style: auto !important;
    margin: auto !important;
    padding: revert !important;
}

/* Bullets are drawn by .text-description ul li::before (gold dots). */
.text-description>ul {
    list-style: none !important;
    margin: 0 0 0.75rem !important;
    padding: 0 !important;
}


/* ── Vue Select ──────────────────────────────────────────── */
.vue-select.no-radius {
    border-radius: 0 !important;
}

.vue-select {
    width: auto !important;
    border: 1px solid rgb(15 31 61 / 0.15) !important;
    border-radius: 0.75rem !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    flex-direction: column !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: #ffffff !important;
}

.vue-select:hover {
    border-color: rgb(var(--primary) / 0.15) !important;
    box-shadow: 0 2px 8px rgba(15, 31, 61, 0.04) !important;
}

.vue-select.invalid {
    border: 1px solid rgb(198 40 40 / 0.5) !important;
}

.vue-input {
    padding: 0.1rem 0 !important;
}

.vue-input input {
    font-size: 0.9375rem !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
}

.vue-input input::placeholder {
    color: #4A4A5A !important;
}

.vue-dropdown {
    border: 1px solid rgb(var(--primary) / 0.15) !important;
    box-shadow: 0 8px 32px rgba(15, 31, 61, 0.08), 0 2px 8px rgba(26, 15, 18, 0.04) !important;
    border-radius: 0.75rem !important;
    animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-4px) scaleY(0.96); }
    to { opacity: 1; transform: translateY(0) scaleY(1); }
}

.vue-select.direction-top .vue-dropdown {
    border-top-left-radius: 0.75rem !important;
    border-top-right-radius: 0.75rem !important;
    z-index: 100000;
}

.vue-select.direction-bottom .vue-dropdown {
    border-bottom-left-radius: 0.75rem !important;
    border-bottom-right-radius: 0.75rem !important;
    z-index: 100000;
}

.vue-select[aria-expanded='true'].direction-top {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.vue-select[aria-expanded='true'].direction-bottom {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.vue-select[aria-expanded='true'] {
    border-color: rgb(var(--primary) / 0.3) !important;
    box-shadow: 0 4px 16px rgba(15, 31, 61, 0.08) !important;
}

.vue-dropdown-item.highlighted {
    background-color: rgb(var(--primary) / 0.04) !important;
}

.vue-dropdown-item.selected.highlighted {
    background-color: rgb(var(--primary) / 0.08) !important;
    color: rgb(var(--primary)) !important;
}

.vue-dropdown-item.selected {
    background-color: rgb(var(--primary) / 0.08) !important;
    color: rgb(var(--primary)) !important;
}

.vue-dropdown-item {
    font-size: 15px;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0.5rem;
    margin: 2px 4px;
}

.frontend-select input::placeholder {
    font-size: 1rem !important;
    color: rgb(26 15 18 / 1) !important;
}


/* ── Range Slider ────────────────────────────────────────── */
.simple-range-slider-popover.simple-range-slider-popover-left,
.simple-range-slider-popover-arrow,
.simple-range-slider-popover.simple-range-slider-popover-right {
    display: none;
}

.simple-range-slider .simple-range-slider-bg-bar {
    margin: 10px 10px 10px !important;
    background: rgb(var(--primary-slate)) !important;
    border-radius: 100px !important;
}

.simple-range-slider .simple-range-slider-bg-bar .simple-range-slider-anchor {
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(15, 31, 61, 0.2) !important;
    border: 2px solid rgb(var(--primary)) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.simple-range-slider .simple-range-slider-bg-bar .simple-range-slider-anchor:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 16px rgba(15, 31, 61, 0.3) !important;
}


/* ── Icon Sizes ──────────────────────────────────────────── */
.lab-font-color-1 {
    color: #E8E4E0 !important;
}

[class="lab"].lab-font-size-20, [class^="lab-"].lab-font-size-20, [class*=" lab-"].lab-font-size-20 {
    font-size: 20px !important;
}

[class="lab"].lab-font-size-2xl, [class^="lab-"].lab-font-size-2xl, [class*=" lab-"].lab-font-size-2xl {
    font-size: 1.5rem !important;
    line-height: 2rem !important;
}

[class="lab"].lab-font-size-xl, [class^="lab-"].lab-font-size-xl, [class*=" lab-"].lab-font-size-xl {
    font-size: 1.25rem !important;
    line-height: 1.75rem !important;
}

[class="lab"].lab-font-size-8, [class^="lab-"].lab-font-size-8, [class*=" lab-"].lab-font-size-8 {
    font-size: 8px !important;
}

[class="lab"].lab-font-size-10, [class^="lab-"].lab-font-size-10, [class*=" lab-"].lab-font-size-10 {
    font-size: 10px !important;
}

[class="lab"].lab-font-size-16, [class^="lab-"].lab-font-size-16, [class*=" lab-"].lab-font-size-16 {
    font-size: 16px !important;
}

[class="lab"].lab-font-size-24, [class^="lab-"].lab-font-size-24, [class*=" lab-"].lab-font-size-24 {
    font-size: 24px !important;
}

[class="lab"].lab-font-size-14, [class^="lab-"].lab-font-size-14, [class*=" lab-"].lab-font-size-14 {
    font-size: 14px !important;
}


/* ── Installer ───────────────────────────────────────────── */
.bg-installer {
    background-image: url(../../../images/required/installer.jpg);
}


/* ── Misc Overrides ──────────────────────────────────────── */
iframe.w-full.rounded-2xl {
    background: rgb(26, 15, 18) !important;
    border-radius: 1rem !important;
}

.sr-only {
    left: inherit !important;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    color: transparent;
    cursor: pointer;
    position: absolute;
    inset: 0;
    z-index: 10;
    height: 100%;
    width: 100%;
}


/* ── Drawer (RTL/LTR) ───────────────────────────────────── */
.drawer:where([dir="ltr"], [dir="ltr"] *) {
    right: 0px;
    --tw-translate-x: 100%;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.drawer:where([dir="rtl"], [dir="rtl"] *) {
    left: 0px;
    right: unset !important;
    --tw-translate-x: -100%;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.drawer.active:where([dir="ltr"], [dir="ltr"] *) {
    --tw-translate-x: 0px;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.drawer.active:where([dir="rtl"], [dir="rtl"] *) {
    --tw-translate-x: -0px;
    right: unset !important;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}


/* ── Velvet Product Card Hover Effects ───────────────────── */
.product-card-velvet {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1rem;
}

.product-card-velvet:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(15, 31, 61, 0.1), 0 4px 12px rgba(26, 15, 18, 0.04);
}

.product-card-velvet:hover img {
    transform: scale(1.03);
}


/* ── Toast Notification Styling ──────────────────────────── */
.Vue-Toastification__toast {
    border-radius: 0.75rem !important;
    box-shadow: 0 8px 32px rgba(26, 15, 18, 0.12) !important;
    font-family: var(--client-font) !important;
    backdrop-filter: blur(8px) !important;
}

.Vue-Toastification__toast--success {
    background: linear-gradient(135deg, #1AB759 0%, #15943e 100%) !important;
}

.Vue-Toastification__toast--error {
    background: linear-gradient(135deg, #C62828 0%, #a01f1f 100%) !important;
}

.Vue-Toastification__progress-bar {
    background: rgba(255, 255, 255, 0.4) !important;
    border-radius: 100px !important;
}


/* ── Swiper Pagination Velvet ────────────────────────────── */
.swiper-pagination-bullet {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.swiper-pagination-bullet-active {
    background: rgb(var(--primary)) !important;
    box-shadow: 0 2px 8px rgba(15, 31, 61, 0.3) !important;
}


/* ── Modal Backdrop ──────────────────────────────────────── */
.modal {
    backdrop-filter: blur(4px);
}

.modal.active .modal-dialog {
    animation: modalIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.92) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}


/* ── Loading Spinner ─────────────────────────────────────── */
@media only screen and (max-width: 1023px) {
    .velmld-parent.componentLoading {
        position: unset !important;
    }
}


/* ── Smooth Link Underline Effect ────────────────────────── */
.velvet-link {
    position: relative;
    text-decoration: none;
}

.velvet-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, rgb(var(--primary)), rgb(var(--velvet-gold)));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 100px;
}

.velvet-link:hover::after {
    width: 100%;
}
