/* carousel start */
.carousel__prev,
.carousel__next {
    font-size: 1.5rem !important;
    height: 2.5rem !important;
    width: 2.5rem !important;
    border-radius: 30px !important;
    color: rgb(110 113 145 / var(--tw-text-opacity)) !important;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity));
    --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.carousel__prev:hover,
.carousel__next:hover {
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity)) !important;
    --tw-bg-opacity: 1;
    background-color: rgb(255 0 107 / var(--tw-bg-opacity)) !important;
}

/* carousel end */

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

.vue-select {
    width: auto !important;
    border: 1px solid rgb(229 231 235 / var(--tw-border-opacity)) !important;
    border-radius: 0.375rem !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    flex-direction: column !important;
}

.vue-select.invalid {
    border: 1px solid rgb(252 165 165 / var(--tw-border-opacity)) !important
}

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

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

.vue-input input::placeholder {
    color: #697a8d !important;
}

.vue-dropdown {
    border: 1px solid #ff006b33 !important;
    box-shadow: 0 0.25rem 1rem rgb(229 231 235 / 45%) !important;
}

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

.vue-select.direction-bottom .vue-dropdown {
    border-bottom-left-radius: 0.375rem !important;
    border-bottom-right-radius: 0.375rem !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: #ff006b33 !important;
}

.vue-dropdown-item.highlighted {
    background-color: rgba(67, 89, 113, .04) !important;
}

.vue-dropdown-item.selected.highlighted {
    background-color: rgba(105, 108, 255, .08) !important;
    color: rgb(255 0 107 / var(--tw-text-opacity)) !important;
}

.vue-dropdown-item.selected {
    background-color: rgba(105, 108, 255, .08) !important;
    color: rgb(255 0 107 / var(--tw-text-opacity)) !important;
}

.vue-dropdown-item {
    font-size: 15px;
    padding: 0.4375rem 0.875rem !important;
}

/* Select code close */


/* Map code start*/
.map-height {
    height: 24rem;
}

/* Map code close*/


/* Date picker code start*/
/* .dp__input {
    border-color: rgb(229 231 235 / var(--tw-border-opacity)) !important;
} */

.dp__input_focus {
    border-color: rgb(255 0 107 / 0.2) !important;
}

.custom-datepicker>.dp__main>div {
    width: 240px !important;
}

.dp__input {
    border: 1px solid #e5e7eb !important;
    height: 40px !important;
    border-radius: 0.375rem !important;
}

.dp__input:hover {
    border-color: inherit !important;
}

/* Date picker code close here*/

/* custom height start*/
.c-h-30 {
    height: 7.50rem;
}

.c-h-25 {
    height: 6.75rem
}

/* custom height end*/

/* Font size and color start */
.db-table-action.qr-code i {
    background-color: rgb(246 166 9 / 0.1);
    --tw-text-opacity: 1;
    color: rgb(246 166 9 / var(--tw-text-opacity))
}

.db-table-action.qr-code i:hover {
    background-color: rgb(246 166 9 / 0.2);
}

.font-fill-primary-toggle {
    color: #FF006B;
}

@media (max-width: 639px) {
    .font-fill-primary-toggle {
        color: #FFFFFF !important;
    }
}

.font-fill-paragraph-toggle {
    color: #FFFFFF;
}

@media (max-width: 639px) {
    .font-fill-paragraph-toggle {
        color: #FF006B !important;
    }
}

.lab-margin-top-minus-20 {
    margin-top: -20px;
}

.lab-font-display-block {
    display: block;
}

.font-fill-primary {
    color: #FF006B;
}

.font-fill-paragraph {
    color: #6E7191;
}

.font-fill-danger {
    color: #FB4E4E;
}

.font-fill-black {
    color: #1F1F39;
}

.font-fill-pos {
    color: #FF8A26;
}

.add-btn:hover .font-fill-primary {
    color: #ffffff;
}

.info-btn:hover .font-fill-paragraph {
    color: #FF006B;
}

.lab-font-bold {
    font-weight: bold !important;
}

.lab-font-size-12 {
    font-size: 12px !important;
}

.lab-font-size-13 {
    font-size: 13px !important;
}

.lab-font-size-14 {
    font-size: 14px !important;
}

.lab-font-size-15 {
    font-size: 15px !important;
}

.lab-font-size-16 {
    font-size: 16px !important;
}

.lab-font-size-17 {
    font-size: 17px !important;
}

.lab-font-size-20 {
    font-size: 20px !important;
}

.lab-font-size-22 {
    font-size: 22px !important;
}

.lab-font-size-24 {
    font-size: 24px !important;
}

.lab-font-size-30 {
    font-size: 30px !important;
}

.lab-font-size-32 {
    font-size: 32px !important;
}

.lab-font-color-1 {
    color: #dee2e5 !important;
}

.lab-font-color-2 {
    color: #a0a3bd !important;
}

.lab-font-color-3 {
    color: #27282a !important;
}

.lab-color-pink {
    color: #f46099 !important;
}

.lab-color-portage {
    color: #8a7ff8 !important;
}

.lab-color-cornflower-blue {
    color: #5b7df7 !important;
}

.lab-color-heliotrope {
    color: #b082f8 !important;
}

.lab-color-yellow {
    color: #f5a83b !important;
}

.lab-color-green {
    color: #5ec869 !important;
}

.lab-color-blue {
    color: #008bba !important;
}

.lab-color-blue-2 {
    color: #4D7CF7 !important;
}

.lab-color-delivered {
    color: #797ef8 !important;
}

.lab-color-red {
    color: #F74D4D !important;
}



.lab-font-weight-600 {
    font-weight: 600;
}

/* Font size and color close*/

/* Variation size start */
.variation-margin-right {
    margin-right: 10px;
}

/* Variation size close */

/* branch start */
.branch-margin-right {
    margin-right: 10px;
}

/* branch close */

/* time start */
.time-margin-right {
    margin-right: 10px;
}

/* time close */

/* day take start */
.day-take-margin-right {
    margin-right: 10px;
}

/* day take close */

/* Margin - 6 top start*/
.margin-top-6 {
    margin-top: 1.5rem;
}

.margin-top-5-px {
    margin-top: 5px;
}

/* Margin - 6 top close*/

/* payment custom font size start */
.payment-font-size {
    font-size: 12px;
}

/* payment custom font size end */

/* POS code start */
.pos-card-height {
    height: 250px !important;
}

.pos-image-height {
    height: 68% !important;
}

.pos-add-button:hover .font-fill-primary {
    color: white;
}

/* POS code end */
/* Advance order code start */
.advance-order {
    background-color: #1AB759;
    color: #ffffff;
}

/* Advance order code close */

/* Language conde start */
.font-color-danger {
    color: rgb(239 68 68 / var(--tw-text-opacity));
}

.language-note-font-size {
    font-size: 12px;
}

.strong-left-tab {
    margin-left: 40px;
}

/* Language conde end */

/* cds conde start */
.db-main-customer {
    padding: 80Px 16px 20px 16px;
    height: 100vh;
    overflow: auto;
    transition: all;
    background: #f7f7fc;
    transition: all 0.5s ease-in-out;
}

.db-main-customer.hiddenHeader {
    padding-top: 20px;
}

.kitchen-board.db-tab-btn.active {
    background-color: #FF006B !important;
    color: white !important;
    border-radius: 8px;
}

/* cds conde end */


.dropdown-list {
    transform: scaleY(0) !important;
}

.dropdown-list.active {
    transform: scaleY(1) !important;
    transform-origin: top !important;
}

html.dark {
    color-scheme: dark;
    background-color: #0f172a !important;
}

html.dark body {
    background-color: #0f172a !important;
    color: #cbd5e1 !important;
}

html.dark #app {
    background-color: #0f172a;
    min-height: 100vh;
}

/* Headings & Typography */
html.dark h1,
html.dark h2,
html.dark h3,
html.dark h4,
html.dark h5,
html.dark h6 {
    color: #f8fafc !important;
}

html.dark .text-heading,
html.dark .text-\[\#1F1F39\] {
    color: #f1f5f9 !important;
}

html.dark .text-paragraph,
html.dark .text-\[\#6E7191\],
html.dark .text-\[\#566a7f\] {
    color: #94a3b8 !important;
}

html.dark .text-placeholder,
html.dark .text-\[\#A0A3BD\] {
    color: #64748b !important;
}

/* Backgrounds & Cards */
html.dark .bg-white {
    background-color: #1e293b !important;
}

/* Page containers, auth cards, and demo cards */
html.dark .shadow-xs.rounded-2xl.bg-white,
html.dark .shadow-xs.rounded-2xl,
html.dark .container.shadow-xs.rounded-2xl {
    background-color: #1e293b !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4) !important;
}

html.dark .ff-header,
html.dark .ff-header.active,
html.dark .ff-header.landing-header.active,
html.dark .db-header,
html.dark .db-sidebar,
html.dark .db-card,
html.dark .product-card-grid,
html.dark .product-card-list,
html.dark .payment-label,
html.dark .drawer,
html.dark .modal-dialog,
html.dark .profile-paper,
html.dark .dropdown-list,
html.dark .db-tabDiv {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #cbd5e1;
}

html.dark .db-main,
html.dark .db-main-customer {
    background-color: #0f172a !important;
    color: #cbd5e1 !important;
}

html.dark .sub-header {
    background-color: #1e293b !important;
    border-color: #334155 !important;
}

/* Borders & Dividers */
html.dark .border-gray-100,
html.dark .border-gray-200,
html.dark .border-gray-300,
html.dark .border-slate-100,
html.dark .border-slate-200,
html.dark .border-\[\#EFF0F6\],
html.dark .border-\[\#D9DBE9\],
html.dark .border-\[\#d9dee3\],
html.dark .border-\[\#F7F7FC\],
html.dark .border-gray-1,
html.dark .border-gray-2 {
    border-color: #334155 !important;
}

html.dark .bg-\[\#EFF0F6\],
html.dark .bg-\[\#f7f7fc\],
html.dark .bg-\[\#F7F7FC\],
html.dark .bg-\[\#f9fafb\] {
    background-color: #1e293b !important;
    color: #f8fafc !important;
}

/* Inputs, Textareas, Selects */
html.dark input[type="text"],
html.dark input[type="password"],
html.dark input[type="email"],
html.dark input[type="number"],
html.dark input[type="search"],
html.dark input[type="tel"],
html.dark textarea,
html.dark select,
html.dark .db-field-control {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

html.dark input:focus,
html.dark textarea:focus,
html.dark select:focus,
html.dark .db-field-control:focus {
    border-color: #ff006b !important;
}

html.dark input::placeholder,
html.dark textarea::placeholder {
    color: #64748b !important;
}

/* Autofill styling in dark mode */
html.dark input:-webkit-autofill,
html.dark input:-webkit-autofill:hover,
html.dark input:-webkit-autofill:focus,
html.dark textarea:-webkit-autofill,
html.dark select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #1e293b inset !important;
    -webkit-text-fill-color: #f8fafc !important;
    border-color: #334155 !important;
    caret-color: #f8fafc !important;
}

/* Phone input container in guest login & signup */
html.dark .flex.items-center.border-\[\#D9DBE9\],
html.dark div.border-\[\#D9DBE9\] {
    background-color: #1e293b !important;
    border-color: #334155 !important;
}

html.dark div.border-\[\#D9DBE9\] input {
    background-color: transparent !important;
    border: none !important;
    color: #f8fafc !important;
}

html.dark div.border-\[\#D9DBE9\] span,
html.dark div.border-\[\#D9DBE9\] button {
    color: #f8fafc !important;
}

/* Checkbox and radio */
html.dark .custom-checkbox-icon {
    border-color: #475569 !important;
}

html.dark .custom-radio-span {
    border-color: #475569 !important;
}

html.dark .custom-radio-field:checked + .custom-radio-span {
    background-color: #1e293b !important;
    border-color: #ff006b !important;
}

/* Buttons & Links */
html.dark a.border-primary.bg-white,
html.dark button.border-primary.bg-white {
    background-color: #1e293b !important;
    color: #ff006b !important;
}

html.dark a.border-primary.bg-white:hover,
html.dark button.border-primary.bg-white:hover {
    background-color: rgba(255, 0, 107, 0.12) !important;
}

html.dark .db-btn-outline,
html.dark .modal-btn-outline,
html.dark .db-pagination-navigate,
html.dark .db-card-filter-btn {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

html.dark .db-btn-outline:hover,
html.dark .modal-btn-outline:hover,
html.dark .db-card-filter-btn:hover {
    background-color: #334155 !important;
    color: #ff006b !important;
}

/* Pastel Badges & Tints in Dark Mode */
html.dark .bg-\[\#FFEDF4\] {
    background-color: rgba(255, 0, 107, 0.15) !important;
    color: #ff4d94 !important;
}

html.dark .bg-\[\#FFEBD8\] {
    background-color: rgba(249, 115, 22, 0.15) !important;
    color: #fb923c !important;
}

html.dark .bg-\[\#BDEFFF\],
html.dark .bg-\[\#D6F5FF\] {
    background-color: rgba(14, 165, 233, 0.15) !important;
    color: #38bdf8 !important;
}

html.dark .text-\[\#008BBA\],
html.dark .text-\[\#00749B\] {
    color: #38bdf8 !important;
}

/* Header, Mobile Nav & Carousel */
html.dark nav.fixed.bottom-0 {
    background-color: #1e293b !important;
    border-top: 1px solid #334155 !important;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3) !important;
}

html.dark nav.fixed.bottom-0 a,
html.dark nav.fixed.bottom-0 button {
    color: #94a3b8;
}

html.dark nav.fixed.bottom-0 a.text-primary,
html.dark nav.fixed.bottom-0 button.text-primary {
    color: #ff006b !important;
}

html.dark .carousel__prev,
html.dark .carousel__next {
    background-color: #1e293b !important;
    color: #f8fafc !important;
}

/* Modals & Alerts */
html.dark .modal-dialog {
    background-color: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #cbd5e1 !important;
}

html.dark .modal-header,
html.dark .modal-footer {
    border-color: #334155 !important;
}

html.dark .bg-red-100 {
    background-color: rgba(153, 27, 27, 0.3) !important;
    border-color: rgba(239, 68, 68, 0.5) !important;
    color: #fca5a5 !important;
}

html.dark .bg-green-100 {
    background-color: rgba(20, 83, 45, 0.3) !important;
    border-color: rgba(34, 197, 94, 0.5) !important;
    color: #86efac !important;
}

/* Footer social buttons keep clean contrast */
footer .rounded-full.bg-white {
    background-color: #ffffff !important;
    color: #ff006b !important;
}

/* POS keypad numbers in dark mode */
html.dark .num.bg-\[\#F7F7FC\] {
    background-color: #334155 !important;
    color: #f8fafc !important;
    border: 1px solid #475569 !important;
}

html.dark .num.bg-\[\#F7F7FC\]:hover {
    background-color: #475569 !important;
}

/* ==========================================================================
   DARK MODE DYNAMIC LOGO (theawhite.png)
   ========================================================================== */
html.dark .light-logo {
    display: none !important;
}

html.dark .dark-logo {
    display: inline-block !important;
}

html:not(.dark) .dark-logo {
    display: none !important;
}

html:not(.dark) .light-logo {
    display: inline-block !important;
}