/* --------------------------------------------------------------------------
   1. BRAND VARIABLES & COLOR SYSTEM
   -------------------------------------------------------------------------- */
:root {
    /* Brand Colors */
    --wiya-primary-gold: #f3cc3e;
    --wiya-dark-charcoal: #2b2721;
    --wiya-text-muted: #665f53;
    --wiya-bg-card: #ffffff;
    --wiya-bg-header: #faf8f3;
    --wiya-bg-badge: #fef7da;
    --wiya-bg-action-btn: #fffdf5;
    --wiya-border-card: #ebdca7;
    --wiya-border-badge: #e9d380;
    --wiya-border-divider: #f5edd3;
    
    /* Native Status Colors */
    --wiya-status-green: #27ae60;
    --wiya-status-red: #e74c3c;
    --wiya-status-orange: #e67e22;
    --wiya-contact-blue: #2980b9;
}

[class*="fa-"],
[class*="wcfmfa"],
.fa, .fas, .far, .fal, .fab, .wcfmfa {
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands", "wcfmfa", "FontAwesome" !important;
    font-style: normal !important;
    line-height: 1 !important;
}
.fas, .fa, .wcfmfa { font-weight: 900 !important; }
.far { font-weight: 400 !important; }

.wcfmfa-check-circle,
.fa-check-circle,
.wcfm_vendor_status_active,
#wcfm-vendors .wcfmfa-check-circle,
#wcfm-vendors span[data-tip*="Active"] .wcfmfa {
    color: var(--wiya-status-green) !important;
}

.wcfmfa-times-circle,
.fa-times-circle,
.wcfmfa-power-off,
.fa-power-off,
.wcfm_vendor_status_disable,
.wcfm_vendor_status_offline,
#wcfm-vendors .wcfmfa-times-circle,
#wcfm-vendors .wcfmfa-power-off,
#wcfm-vendors span[data-tip*="Disable"] .wcfmfa,
#wcfm-vendors span[data-tip*="Off-line"] .wcfmfa {
    color: var(--wiya-status-red) !important;
}

#wcfm-vendors .wcfmfa-envelope,
#wcfm-vendors span[data-tip*="Email Verified"] .wcfmfa {
    color: var(--wiya-status-green) !important;
}

#wcfm-vendors .wcfmfa-envelope-open,
#wcfm-vendors span[data-tip*="Pending"] .wcfmfa {
    color: var(--wiya-status-orange) !important;
}

#wcfm-vendors .wcfmfa-at,
#wcfm-vendors .wcfmfa-phone,
#wcfm-vendors .wcfmfa-map-marker-alt,
#wcfm-shop-customers .wcfmfa-at,
#wcfm-shop-customers .wcfmfa-phone,
#wcfm-shop-managers .wcfmfa-at {
    color: var(--wiya-contact-blue) !important;
    margin-right: 6px !important;
    font-size: 13px !important;
}

/* --------------------------------------------------------------------------
   3. PAGE HEADINGS & TOP HEADER ACTION BUTTONS
   -------------------------------------------------------------------------- */
.wcfm-page-heading-text,
.wcfm-top-element-container h2,
#wcfm_vendors_listing .wcfm-page-heading-text,
#wcfm_vendors_listing .wcfm-top-element-container h2 {
    color: var(--wiya-dark-charcoal) !important;
    font-weight: 800 !important;
    font-size: 20px !important;
    letter-spacing: -0.02em !important;
    line-height: 1.2 !important;
}

.wcfm-top-element-container .add_new_wcfm_ele_dashboard,
.wcfm-top-element-container a.wcfm_wp_admin_view,
#wcfm_vendors_listing .wcfm-container .add_new_wcfm_ele_dashboard {
    background-color: var(--wiya-dark-charcoal) !important;
    color: var(--wiya-primary-gold) !important;
    border: 1px solid var(--wiya-dark-charcoal) !important;
    border-radius: 8px !important;
    padding: 0 16px !important;
    height: 38px !important;
    min-height: 38px !important;
    box-sizing: border-box !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    line-height: 36px !important;
    white-space: nowrap !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-decoration: none !important;
}

.wcfm-top-element-container a.wcfm_wp_admin_view,
.wcfm-top-element-container #wcfm_capability_settings {
    width: 38px !important;
    padding: 0 !important;
}

.wcfm-top-element-container .add_new_wcfm_ele_dashboard:hover,
.wcfm-top-element-container a.wcfm_wp_admin_view:hover {
    background-color: var(--wiya-primary-gold) !important;
    color: var(--wiya-dark-charcoal) !important;
    border-color: var(--wiya-primary-gold) !important;
}

/* --------------------------------------------------------------------------
   4. CLASSIC TABLE BASE STYLES
   -------------------------------------------------------------------------- */
.dataTables_wrapper table.dataTable,
table[id^="wcfm-"] {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
    background: var(--wiya-bg-card) !important;
    border: 1px solid var(--wiya-border-card) !important;
    border-radius: 12px !important;
    margin: 14px 0 !important;
}

.dataTables_wrapper thead th,
table[id^="wcfm-"] thead th {
    background: var(--wiya-bg-header) !important;
    color: var(--wiya-dark-charcoal) !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    padding: 14px 16px !important;
    border-bottom: 2px solid var(--wiya-border-card) !important;
}

.dataTables_wrapper tbody td,
table[id^="wcfm-"] tbody td {
    padding: 12px 16px !important;
    border-bottom: 1px solid var(--wiya-border-divider) !important;
    color: var(--wiya-dark-charcoal) !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    vertical-align: middle !important;
}

.dataTables_wrapper tbody td a,
table[id^="wcfm-"] tbody td a {
    color: var(--wiya-dark-charcoal) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

/* --------------------------------------------------------------------------
   5. FILTERS, SEARCH, SELECT2 & FORMS
   -------------------------------------------------------------------------- */
.wcfm_filters_wrap select,
.wcfm_filters_wrap input,
.dataTables_wrapper select,
.dataTables_wrapper .dataTables_filter input[type="search"],
.select2-container--default .select2-selection--single {
    background-color: var(--wiya-bg-card) !important;
    border: 1px solid var(--wiya-border-card) !important;
    border-radius: 8px !important;
    color: var(--wiya-dark-charcoal) !important;
    height: 38px !important;
    padding: 4px 12px !important;
    font-size: 13px !important;
    outline: none !important;
    box-sizing: border-box !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--wiya-dark-charcoal) !important;
    line-height: 28px !important;
}

textarea.wcfm-textarea {
    width: 100% !important;
    background: var(--wiya-bg-card) !important;
    border: 1px solid var(--wiya-border-card) !important;
    border-radius: 8px !important;
    padding: 10px 12px !important;
    color: var(--wiya-dark-charcoal) !important;
    font-size: 13px !important;
    box-sizing: border-box !important;
}

.wcfm_submit_button,
input[type="submit"].wcfm_submit_button {
    border-radius: 8px !important;
    padding: 8px 20px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    background-color: var(--wiya-primary-gold) !important;
    color: var(--wiya-dark-charcoal) !important;
    border: 1px solid var(--wiya-primary-gold) !important;
}

.wcfm_submit_button:hover {
    background-color: var(--wiya-dark-charcoal) !important;
    color: var(--wiya-primary-gold) !important;
    border-color: var(--wiya-dark-charcoal) !important;
}

/* --------------------------------------------------------------------------
   6. DATATABLES EXPORT BUTTONS
   -------------------------------------------------------------------------- */
.dt-buttons,
.dataTables_wrapper .dt-buttons,
.wcfm_buttons {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
    flex-wrap: wrap !important;
}

.dt-button,
.dataTables_wrapper .dt-button,
a.dt-button,
button.dt-button,
.wcfm_buttons a,
.buttons-excel,
.buttons-print,
.buttons-csv,
.buttons-pdf {
    background-color: var(--wiya-bg-action-btn) !important;
    background-image: none !important;
    border: 1px solid var(--wiya-border-card) !important;
    border-radius: 8px !important;
    color: var(--wiya-dark-charcoal) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 6px 14px !important;
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

.dt-button:hover,
.dataTables_wrapper .dt-button:hover,
a.dt-button:hover,
button.dt-button:hover,
.wcfm_buttons a:hover,
.buttons-excel:hover,
.buttons-print:hover,
.buttons-csv:hover,
.buttons-pdf:hover {
    background-color: var(--wiya-primary-gold) !important;
    border-color: var(--wiya-primary-gold) !important;
    color: var(--wiya-dark-charcoal) !important;
}

.buttons-excel i, .buttons-excel::before { color: #1d6f42 !important; }
.buttons-pdf i, .buttons-pdf::before     { color: #e74c3c !important; }
.buttons-csv i, .buttons-csv::before     { color: #2980b9 !important; }
.buttons-print i, .buttons-print::before { color: var(--wiya-dark-charcoal) !important; }

/* --------------------------------------------------------------------------
   7. DATATABLES PAGINATION & INFO
   -------------------------------------------------------------------------- */
.dataTables_wrapper .dataTables_info {
    float: left !important;
    margin-top: 16px !important;
    font-size: 13px !important;
    color: var(--wiya-text-muted) !important;
    font-weight: 600 !important;
}

.dataTables_wrapper .dataTables_paginate {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    float: right !important;
    margin-top: 16px !important;
    gap: 4px !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 5px 12px !important;
    border-radius: 6px !important;
    background: var(--wiya-bg-card) !important;
    border: 1px solid var(--wiya-border-card) !important;
    color: var(--wiya-dark-charcoal) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: var(--wiya-dark-charcoal) !important;
    color: var(--wiya-primary-gold) !important;
    border-color: var(--wiya-dark-charcoal) !important;
    font-weight: 700 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover:not(.current) {
    background: var(--wiya-primary-gold) !important;
    color: var(--wiya-dark-charcoal) !important;
    border-color: var(--wiya-primary-gold) !important;
}

/* --------------------------------------------------------------------------
   8. GRID CARDS CONTAINER SETUP
   -------------------------------------------------------------------------- */
#wcfm-vendors,
#wcfm-shop-customers,
#wcfm-shop-managers,
#wcfm-memberships {
    display: block !important;
    width: 100% !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

#wcfm-vendors tbody,
#wcfm-shop-customers tbody,
#wcfm-shop-managers tbody,
#wcfm-memberships tbody {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
    border: none !important;
    background: transparent !important;
}

#wcfm-vendors tbody td,
#wcfm-shop-customers tbody td,
#wcfm-shop-managers tbody td,
#wcfm-memberships tbody td {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

/* --------------------------------------------------------------------------
   9. VENDORS CARD LAYOUT (#wcfm-vendors)
   -------------------------------------------------------------------------- */
#wcfm-vendors tbody tr {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    /* Using auto rows collapses all extra dead space cleanly */
    grid-template-rows: auto auto auto auto auto !important;
    gap: 10px 8px !important;
    padding: 18px !important;
    background: var(--wiya-bg-card) !important;
    border: 1px solid var(--wiya-border-card) !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(51, 47, 39, 0.04) !important;
    box-sizing: border-box !important;
    position: static !important;
}

/* Vendor Status Badges */
#wcfm-vendors tbody td.sorting_1 {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
}

#wcfm-vendors tbody td:nth-child(2) {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
}

/* Store Name / Title & Contact */
#wcfm-vendors tbody td:nth-child(3) {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    display: block !important;
    width: 100% !important;
}

#wcfm-vendors tbody td:nth-child(3) a.wcfm_dashboard_item_title {
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: var(--wiya-dark-charcoal) !important;
    display: block !important;
    word-break: break-word !important;
    margin-bottom: 4px !important;
}

#wcfm-vendors tbody td:nth-child(3) span,
#wcfm-vendors tbody td:nth-child(3) div {
    font-size: 13px !important;
    color: var(--wiya-text-muted) !important;
    line-height: 1.4 !important;
}

/* Vendor Store Label */
#wcfm-vendors tbody td:nth-child(4) {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    display: block !important;
    width: 100% !important;
}

#wcfm-vendors tbody td:nth-child(4) a {
    display: inline-flex !important;
    align-items: center !important;
    background-color: transparent !important;
    color: var(--wiya-dark-charcoal) !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    padding: 0 !important;
    border: none !important;
}

/* Vendor Total Sales */
#wcfm-vendors tbody td:nth-child(5) {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    border-top: none !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    margin-top: 0 !important;
    width: 100% !important;
}

#wcfm-vendors tbody td:nth-child(5) .wcfm_amount,
#wcfm-vendors tbody td:nth-child(5) span[class*="amount"] {
    display: inline-flex !important;
    align-items: center !important;
    background: var(--wiya-bg-badge) !important;
    border: 1px solid var(--wiya-border-badge) !important;
    border-radius: 6px !important;
    padding: 4px 10px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--wiya-dark-charcoal) !important;
}

#wcfm-vendors tbody td:nth-child(5) .wcfm_amount::before,
#wcfm-vendors tbody td:nth-child(5) span[class*="amount"]::before {
    content: "TOTAL SALES: " !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: var(--wiya-dark-charcoal) !important;
    margin-right: 4px !important;
}

/* Vendor Card Action Footer */
#wcfm-vendors tbody td:last-child {
    grid-column: 1 / -1 !important;
    grid-row: 5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    border-top: 1px solid var(--wiya-border-divider) !important;
    padding-top: 10px !important;
    margin-top: 4px !important;
    width: 100% !important;
}

/* --------------------------------------------------------------------------
   9. VENDORS CARD LAYOUT (#wcfm-vendors)
   -------------------------------------------------------------------------- */
#wcfm-vendors tbody tr {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    /* 1fr on row 5 creates a spacer track that pushes the action footer to the bottom */
    grid-template-rows: auto auto auto auto 1fr auto !important;
    gap: 8px 8px !important;
    padding: 18px !important;
    background: var(--wiya-bg-card) !important;
    border: 1px solid var(--wiya-border-card) !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(51, 47, 39, 0.04) !important;
    box-sizing: border-box !important;
    position: static !important;
}

/* Vendor Status Badges */
#wcfm-vendors tbody td.sorting_1 {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
}

#wcfm-vendors tbody td:nth-child(2) {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
}

/* Store Name / Title & Contact */
#wcfm-vendors tbody td:nth-child(3) {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    display: block !important;
    width: 100% !important;
}

#wcfm-vendors tbody td:nth-child(3) a.wcfm_dashboard_item_title {
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: var(--wiya-dark-charcoal) !important;
    display: block !important;
    word-break: break-word !important;
    margin-bottom: 4px !important;
}

#wcfm-vendors tbody td:nth-child(3) span,
#wcfm-vendors tbody td:nth-child(3) div {
    font-size: 13px !important;
    color: var(--wiya-text-muted) !important;
    line-height: 1.4 !important;
}

/* Vendor Store Label */
#wcfm-vendors tbody td:nth-child(4) {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    display: block !important;
    width: 100% !important;
}

#wcfm-vendors tbody td:nth-child(4) a {
    display: inline-flex !important;
    align-items: center !important;
    background-color: transparent !important;
    color: var(--wiya-dark-charcoal) !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    padding: 0 !important;
    border: none !important;
}

/* Vendor Total Sales */
#wcfm-vendors tbody td:nth-child(5) {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    border-top: none !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    margin-top: 0 !important;
    width: 100% !important;
}

#wcfm-vendors tbody td:nth-child(5) .wcfm_amount,
#wcfm-vendors tbody td:nth-child(5) span[class*="amount"] {
    display: inline-flex !important;
    align-items: center !important;
    background: var(--wiya-bg-badge) !important;
    border: 1px solid var(--wiya-border-badge) !important;
    border-radius: 6px !important;
    padding: 4px 10px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--wiya-dark-charcoal) !important;
}

#wcfm-vendors tbody td:nth-child(5) .wcfm_amount::before,
#wcfm-vendors tbody td:nth-child(5) span[class*="amount"]::before {
    content: "TOTAL SALES: " !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: var(--wiya-dark-charcoal) !important;
    margin-right: 4px !important;
}

/* Vendor Card Action Footer (Locked to bottom row) */
#wcfm-vendors tbody td:last-child {
    grid-column: 1 / -1 !important;
    grid-row: 6 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    border-top: 1px solid var(--wiya-border-divider) !important;
    padding-top: 10px !important;
    margin-top: 4px !important;
    width: 100% !important;
}

/* --------------------------------------------------------------------------
   10. CUSTOMERS CARD LAYOUT (#wcfm-shop-customers)
   -------------------------------------------------------------------------- */
#wcfm-shop-customers tbody tr {
    display: flex !important;
    flex-direction: column !important;
    padding: 18px !important;
    background: var(--wiya-bg-card) !important;
    border: 1px solid var(--wiya-border-card) !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(51, 47, 39, 0.04) !important;
}

#wcfm-shop-customers tbody td:nth-child(1) {
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: var(--wiya-dark-charcoal) !important;
    margin-bottom: 2px !important;
}

#wcfm-shop-customers tbody td:nth-child(2) {
    font-size: 13px !important;
    line-height: 1.4 !important;
    color: var(--wiya-text-muted) !important;
    margin-bottom: 12px !important;
    word-break: break-all !important;
}

#wcfm-shop-customers tbody td:nth-child(3) {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--wiya-dark-charcoal) !important;
    margin-bottom: 8px !important;
}

#wcfm-shop-customers tbody td:nth-child(3)::before {
    content: "Total Orders:" !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--wiya-text-muted) !important;
    display: inline-block !important;
}

#wcfm-shop-customers tbody td:nth-child(4) {
    margin-bottom: 12px !important;
}

#wcfm-shop-customers tbody td:nth-child(4) .wcfm_amount,
#wcfm-shop-customers tbody td:nth-child(4) span[class*="amount"] {
    display: inline-flex !important;
    align-items: center !important;
    background: var(--wiya-bg-badge) !important;
    border: 1px solid var(--wiya-border-badge) !important;
    border-radius: 6px !important;
    padding: 4px 10px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--wiya-dark-charcoal) !important;
}

#wcfm-shop-customers tbody td:nth-child(4) .wcfm_amount::before,
#wcfm-shop-customers tbody td:nth-child(4) span[class*="amount"]::before {
    content: "Total Amount: " !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--wiya-dark-charcoal) !important;
    margin-right: 4px !important;
}

#wcfm-shop-customers tbody td:nth-child(5) {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--wiya-dark-charcoal) !important;
    text-align: left !important;
    margin-bottom: 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

#wcfm-shop-customers tbody td:nth-child(5)::before {
    content: "\f095" !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    color: var(--wiya-contact-blue) !important;
    font-size: 12px !important;
}

#wcfm-shop-customers tbody td:nth-child(6) {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    border-top: 1px solid var(--wiya-border-divider) !important;
    padding-top: 12px !important;
    margin-top: auto !important;
}

/* --------------------------------------------------------------------------
   11. MANAGERS CARD LAYOUT (#wcfm-shop-managers)
   -------------------------------------------------------------------------- */
#wcfm-shop-managers tbody tr {
    display: flex !important;
    flex-direction: column !important;
    padding: 18px !important;
    background: var(--wiya-bg-card) !important;
    border: 1px solid var(--wiya-border-card) !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(51, 47, 39, 0.04) !important;
}

#wcfm-shop-managers tbody td:nth-child(1) { margin-bottom: 8px !important; }

#wcfm-shop-managers tbody td:nth-child(1) a {
    display: inline-flex !important;
    background: var(--wiya-bg-badge) !important;
    border: 1px solid var(--wiya-border-badge) !important;
    border-radius: 6px !important;
    padding: 4px 10px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

#wcfm-shop-managers tbody td:nth-child(2) {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--wiya-dark-charcoal) !important;
    margin-bottom: 4px !important;
}

#wcfm-shop-managers tbody td:nth-child(3) {
    font-size: 13px !important;
    color: var(--wiya-text-muted) !important;
    margin-bottom: 12px !important;
    word-break: break-all !important;
}

#wcfm-shop-managers tbody td:nth-child(5) {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    border-top: 1px solid var(--wiya-border-divider) !important;
    padding-top: 12px !important;
    margin-top: auto !important;
}

/* --------------------------------------------------------------------------
   12. MEMBERSHIPS CARD LAYOUT (#wcfm-memberships)
   -------------------------------------------------------------------------- */
#wcfm-memberships tbody tr {
    display: flex !important;
    flex-direction: column !important;
    padding: 18px !important;
    background: var(--wiya-bg-card) !important;
    border: 1px solid var(--wiya-border-card) !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(51, 47, 39, 0.04) !important;
}

#wcfm-memberships tbody td:nth-child(1) { margin-bottom: 12px !important; }

#wcfm-memberships tbody td:nth-child(1) a {
    display: inline-flex !important;
    background: var(--wiya-bg-badge) !important;
    border: 1px solid var(--wiya-border-badge) !important;
    border-radius: 6px !important;
    padding: 6px 12px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: var(--wiya-dark-charcoal) !important;
}

#wcfm-memberships tbody td:nth-child(2),
#wcfm-memberships tbody td:nth-child(3),
#wcfm-memberships tbody td:nth-child(4),
#wcfm-memberships tbody td:nth-child(5) {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    margin-bottom: 10px !important;
    background: #fcfbfa !important;
    border: 1px solid var(--wiya-border-divider) !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--wiya-dark-charcoal) !important;
}

#wcfm-memberships tbody td:nth-child(2)::before { content: "PLAN DETAILS" !important; font-size: 10px !important; font-weight: 800 !important; text-transform: uppercase !important; color: var(--wiya-text-muted) !important; margin-bottom: 2px !important; }
#wcfm-memberships tbody td:nth-child(3)::before { content: "PAY MODE" !important; font-size: 10px !important; font-weight: 800 !important; text-transform: uppercase !important; color: var(--wiya-text-muted) !important; margin-bottom: 2px !important; }
#wcfm-memberships tbody td:nth-child(4)::before { content: "GROUP" !important; font-size: 10px !important; font-weight: 800 !important; text-transform: uppercase !important; color: var(--wiya-text-muted) !important; margin-bottom: 2px !important; }
#wcfm-memberships tbody td:nth-child(5)::before { content: "STORE" !important; font-size: 10px !important; font-weight: 800 !important; text-transform: uppercase !important; color: var(--wiya-text-muted) !important; margin-bottom: 2px !important; }

#wcfm-memberships tbody td:last-child {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    border-top: 1px solid var(--wiya-border-divider) !important;
    padding-top: 12px !important;
    margin-top: auto !important;
}

/* --------------------------------------------------------------------------
   13. SHARED ACTION BUTTONS
   -------------------------------------------------------------------------- */
.wcfm-action-icon,
#wcfm-vendors tbody td:last-child a,
#wcfm-shop-customers tbody td:nth-child(6) a,
#wcfm-shop-managers tbody td:nth-child(5) a,
#wcfm-memberships tbody td:last-child a {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    background-color: var(--wiya-bg-action-btn) !important;
    border: 1px solid var(--wiya-border-card) !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--wiya-dark-charcoal) !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

.wcfm-action-icon:hover,
#wcfm-vendors tbody td:last-child a:hover,
#wcfm-shop-customers tbody td:nth-child(6) a:hover,
#wcfm-shop-managers tbody td:nth-child(5) a:hover,
#wcfm-memberships tbody td:last-child a:hover {
    background-color: var(--wiya-primary-gold) !important;
    border-color: var(--wiya-primary-gold) !important;
    color: var(--wiya-dark-charcoal) !important;
}

#wcfm-main-contentainer table.dataTable thead th.sorting,
#wcfm-main-contentainer table.dataTable thead th.sorting_asc,
#wcfm-main-contentainer table.dataTable thead th.sorting_desc,
table[id^="wcfm-"] thead th.sorting,
table[id^="wcfm-"] thead th.sorting_asc,
table[id^="wcfm-"] thead th.sorting_desc {
    background: var(--wiya-bg-header) !important;
    background-image: none !important;
}

table.dataTable.display tbody tr > .sorting_1,
table.dataTable.order-column tbody tr > .sorting_1 {
    background-color: transparent !important;
}

/* --------------------------------------------------------------------------
   14. MOBILE RESPONSIVE RULES
   -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
    #wcfm-vendors tbody,
    #wcfm-shop-customers tbody,
    #wcfm-shop-managers tbody,
    #wcfm-memberships tbody {
        grid-template-columns: 1fr !important;
    }

    .dataTables_wrapper .dataTables_info,
    .dataTables_wrapper .dataTables_paginate {
        float: none !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .dt-buttons, .dataTables_wrapper .dt-buttons {
        justify-content: center !important;
        width: 100% !important;
    }
}

/* ==========================================================================
   WIYA ORDERS CARD GRID LAYOUT (#wcfm-orders)
   ========================================================================== */

#wcfm-orders {
    display: block !important;
    width: 100% !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

#wcfm-orders tbody {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
    border: none !important;
    background: transparent !important;
}

#wcfm-orders tbody td {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

/* Order Card Container */
#wcfm-orders tbody tr {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto auto auto auto 1fr auto !important;
    gap: 10px 12px !important;
    padding: 18px !important;
    background: var(--wiya-bg-card) !important;
    border: 1px solid var(--wiya-border-card) !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(51, 47, 39, 0.04) !important;
    box-sizing: border-box !important;
    position: static !important;
}

/* 1. Status Icon (Row 1, Col 1) */
#wcfm-orders tbody td.sorting_1 {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

/* 2. Date (Row 1, Col 2 - Pushed to top right) */
#wcfm-orders tbody td:nth-child(9) {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    font-size: 12px !important;
    color: var(--wiya-text-muted) !important;
    font-weight: 600 !important;
}

/* 3. Order Title & Customer (Row 2, Full Width) */
#wcfm-orders tbody td:nth-child(2) {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    display: block !important;
    width: 100% !important;
}

#wcfm-orders tbody td:nth-child(2) a.wcfm_dashboard_item_title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--wiya-dark-charcoal) !important;
    text-decoration: none !important;
}

#wcfm-orders tbody td:nth-child(2) span.wcfm_order_by_customer {
    font-size: 13px !important;
    color: var(--wiya-text-muted) !important;
    font-weight: 600 !important;
}

/* 4. Details / Purchased & Gross Sales (Row 3 side-by-side or stacked) */
#wcfm-orders tbody td:nth-child(3) {
    grid-column: 1 / 2 !important;
    grid-row: 3 !important;
    font-size: 13px !important;
    color: var(--wiya-text-muted) !important;
}

#wcfm-orders tbody td:nth-child(3) a.show_order_items {
    font-weight: 700 !important;
    color: var(--wiya-dark-charcoal) !important;
    text-decoration: none !important;
    display: block !important;
    margin-bottom: 2px !important;
}

#wcfm-orders tbody td:nth-child(6) {
    grid-column: 2 / 3 !important;
    grid-row: 3 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: center !important;
}

#wcfm-orders tbody td:nth-child(6) .woocommerce-Price-amount {
    background: var(--wiya-bg-badge) !important;
    border: 1px solid var(--wiya-border-badge) !important;
    border-radius: 6px !important;
    padding: 4px 10px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--wiya-dark-charcoal) !important;
    display: inline-flex !important;
    align-items: center !important;
}

#wcfm-orders tbody td:nth-child(6) small.meta {
    font-size: 11px !important;
    color: var(--wiya-text-muted) !important;
    margin-top: 4px !important;
    text-align: right !important;
}

#wcfm-orders tbody td:nth-child(4) {
    grid-column: 1 / 2 !important;
    grid-row: 4 !important;
    font-size: 12px !important;
    color: var(--wiya-text-muted) !important;
    line-height: 1.4 !important;
}

#wcfm-orders tbody td:nth-child(5) {
    grid-column: 2 / 3 !important;
    grid-row: 4 !important;
    font-size: 12px !important;
    color: var(--wiya-text-muted) !important;
    text-align: right !important;
}

#wcfm-orders tbody td:nth-child(7),
#wcfm-orders tbody td:nth-child(8) {
    display: none !important; 
}

/* 6. Action Footer (Row 6 - Locked to bottom with top border divider) */
#wcfm-orders tbody td:last-child {
    grid-column: 1 / -1 !important;
    grid-row: 6 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    border-top: 1px solid var(--wiya-border-divider) !important;
    padding-top: 12px !important;
    margin-top: 4px !important;
    width: 100% !important;
}

/* ==========================================================================
   WIYA ORDERS MOBILE CARD GRID LAYOUT (Desktop Unaffected)
   ========================================================================== */

@media screen and (max-width: 768px) {
    #wcfm-orders {
        display: block !important;
        width: 100% !important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    #wcfm-orders tbody {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        width: 100% !important;
        border: none !important;
        background: transparent !important;
    }

    #wcfm-orders tbody td {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        text-align: left !important;
        box-sizing: border-box !important;
    }

    /* Hide default plus/minus indicator */
    #wcfm-orders.dataTable.dtr-inline.collapsed > tbody > tr > td.sorting_1::before,
    #wcfm-orders.dataTable.dtr-inline.collapsed > tbody > tr > th.sorting_1::before {
        display: none !important;
        content: none !important;
    }

    /* Base Order Card Container */
    #wcfm-orders tbody tr.odd,
    #wcfm-orders tbody tr.even {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto auto auto auto auto auto !important;
        gap: 10px 12px !important;
        padding: 18px !important;
        background: var(--wiya-bg-card, #ffffff) !important;
        border: 1px solid var(--wiya-border-card, #e2e8f0) !important;
        border-radius: 12px !important;
        box-shadow: 0 2px 8px rgba(51, 47, 39, 0.04) !important;
        box-sizing: border-box !important;
        position: relative !important;
        transition: background 0.2s ease !important;
        margin-bottom: 0 !important;
    }

    #wcfm-orders tbody tr.parent {
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        border-bottom: 1px dashed #e2e8f0 !important;
    }

    #wcfm-orders tbody tr:hover {
        background: #f4f1ea !important;
    }

    /* Seamless Expanded Child Box */
    #wcfm-orders tbody tr.child {
        display: block !important;
        grid-column: 1 / -1 !important;
        background: var(--wiya-bg-card, #ffffff) !important;
        border: 1px solid var(--wiya-border-card, #e2e8f0) !important;
        border-top: none !important;
        border-radius: 0 0 12px 12px !important;
        padding: 18px !important;
        margin-top: -16px !important;
        margin-bottom: 16px !important;
        box-shadow: 0 6px 12px rgba(51, 47, 39, 0.04) !important;
    }

    #wcfm-orders tbody tr.child ul.dtr-details {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
        width: 100% !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    #wcfm-orders tbody tr.child ul.dtr-details li {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        border-bottom: 1px solid #edf2f7 !important;
        padding-bottom: 10px !important;
        font-size: 13px !important;
    }

    #wcfm-orders tbody tr.child ul.dtr-details li:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }

    #wcfm-orders tbody tr.child span.dtr-title {
        font-weight: 700 !important;
        color: var(--wiya-dark-charcoal, #2d3748) !important;
        min-width: 130px !important;
    }

    #wcfm-orders tbody tr.child span.dtr-data {
        color: var(--wiya-text-muted, #718096) !important;
        text-align: right !important;
    }

    /* 1. Status Column */
    #wcfm-orders tbody td.sorting_1 {
        grid-column: 1 / 2 !important;
        grid-row: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        cursor: pointer !important;
        padding-left: 0 !important;
    }

    /* 2. Date (Top Right) */
    #wcfm-orders tbody td:nth-child(9) {
        grid-column: 2 / 3 !important;
        grid-row: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        font-size: 12px !important;
        color: var(--wiya-text-muted, #718096) !important;
        font-weight: 600 !important;
    }

    /* 3. Order Title & Customer */
    #wcfm-orders tbody td:nth-child(2) {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        display: block !important;
        width: 100% !important;
    }

    #wcfm-orders tbody td:nth-child(2) a.wcfm_dashboard_item_title {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #d99b00 !important;
        text-decoration: none !important;
    }

    #wcfm-orders tbody td:nth-child(2) a.wcfm_dashboard_item_title:hover {
        text-decoration: underline !important;
        color: #b37d00 !important;
    }

    #wcfm-orders tbody td:nth-child(2) span.wcfm_order_by_customer {
        font-size: 13px !important;
        color: var(--wiya-text-muted, #718096) !important;
        font-weight: 600 !important;
    }

    /* Hidden desktop columns when collapsed */
    #wcfm-orders tbody td:nth-child(3),
    #wcfm-orders tbody td:nth-child(4),
    #wcfm-orders tbody td:nth-child(5),
    #wcfm-orders tbody td:nth-child(6),
    #wcfm-orders tbody td:nth-child(7),
    #wcfm-orders tbody td:nth-child(8) {
        display: none !important;
    }

    /* Action Footer */
    #wcfm-orders tbody td:last-child {
        grid-column: 1 / -1 !important;
        grid-row: 6 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 8px !important;
        border-top: 1px solid var(--wiya-border-divider, #edf2f7) !important;
        padding-top: 12px !important;
        margin-top: 4px !important;
        width: 100% !important;
    }
}

/* ==========================================================================
   WCFM PRODUCTS TABLE VIEW STYLING
   ========================================================================== */

#wcfm-products {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: var(--wiya-bg-card, #ffffff) !important;
    border: 1px solid var(--wiya-border-card, #e2e8f0) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(51, 47, 39, 0.04) !important;
    font-size: 13px !important;
    color: var(--wiya-dark-charcoal, #2d3748) !important;
}

/* Table Header */
#wcfm-products thead th {
    background: #f8fafc !important;
    color: #4a5568 !important;
    font-weight: 700 !important;
    padding: 12px 10px !important;
    border-bottom: 2px solid #e2e8f0 !important;
    text-align: left !important;
    white-space: nowrap !important;
}

/* Table Footer */
#wcfm-products tfoot th {
    background: #f8fafc !important;
    padding: 10px !important;
    border-top: 2px solid #e2e8f0 !important;
}

/* Table Body Rows & Matching Backgrounds */
#wcfm-products tbody tr {
    background-color: #ffffff !important;
    transition: background 0.2s ease !important;
}

#wcfm-products tbody tr.odd {
    background-color: #ffffff !important;
}

#wcfm-products tbody tr.even {
    background-color: #faf9f6 !important;
}

#wcfm-products tbody tr:hover {
    background-color: #f4f1ea !important; 
}

#wcfm-products tbody td {
    padding: 12px 10px !important;
    border-bottom: 1px solid #edf2f7 !important;
    vertical-align: middle !important;
}

#wcfm-products tbody tr:last-child td {
    border-bottom: none !important;
}

/* Product Thumbnails */
#wcfm-products tbody td img.attachment-thumbnail,
#wcfm-products tbody td img.woocommerce-placeholder {
    width: 42px !important;
    height: 42px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    border: 1px solid #e2e8f0 !important;
}

/* Product Title Links - Changed to Theme Yellow */
#wcfm-products tbody td a.wcfm_product_title,
#wcfm-products tbody td a.wcfm_dashboard_item_title {
    font-weight: 700 !important;
    color: #d99b00 !important;
    text-decoration: none !important;
}

#wcfm-products tbody td a.wcfm_product_title:hover {
    text-decoration: underline !important;
    color: #b37d00 !important;
}

/* Status Badges */
#wcfm-products span.product-status {
    display: inline-block !important;
    padding: 4px 8px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
}

#wcfm-products span.product-status-publish {
    background: #def7ec !important;
    color: #03543f !important;
}

#wcfm-products span.product-status-draft {
    background: #fef08a !important;
    color: #713f12 !important;
}

/* Stock Indicator Styling */
#wcfm-products span.instock {
    color: #22c55e !important;
    font-weight: 600 !important;
}

#wcfm-products span.outofstock {
    color: #ef4444 !important;
    font-weight: 600 !important;
}

/* Price & Currency formatting */
#wcfm-products span.woocommerce-Price-amount {
    font-weight: 600 !important;
    color: #1a202c !important;
}

#wcfm-products del {
    color: #a0aec0 !important;
    font-weight: normal !important;
    margin-right: 4px !important;
}

#wcfm-products ins {
    background: none !important;
    color: #2f855a !important;
    font-weight: 700 !important;
}

/* Action Icons Layout */
#wcfm-products tbody td:last-child {
    white-space: nowrap !important;
    text-align: right !important;
}

#wcfm-products a.wcfm-action-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
    margin: 2px !important;
    border-radius: 4px !important;
    background: #f7fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #4a5568 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

#wcfm-products a.wcfm-action-icon:hover {
    background: #edf2f7 !important;
    color: #2d3748 !important;
    border-color: #cbd5e0 !important;
}

#wcfm-products a.wcfm-action-icon.wcfm_product_delete:hover {
    background: #fff5f5 !important;
    color: #e53e3e !important;
    border-color: #feb2b2 !important;
}

@media screen and (max-width: 768px) {
    table.dataTable.dtr-inline.collapsed>tbody>tr>td:first-child:before, table.dataTable.dtr-inline.collapsed>tbody>tr>th:first-child:before{
        left: 46%;
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   Booking Page 
   ========================================================================== */

body.wiya-bookings-dashboard .wcfm-collapse-content .wcfm-container-box {
  display: contents !important;
}

body.wiya-bookings-dashboard .wcfm-container-box > div:has(> .wcfm_gloabl_settings) {
  position: absolute !important;
  top: 10px !important;
  right: 20px !important;
}

body.wiya-bookings-dashboard .wcfm-collapse-content {
  position: relative !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  padding: 50px 20px 20px !important;
}

body.wiya-bookings-dashboard .wcfm-collapse-content .wcfm_clearfix,
body.wiya-bookings-dashboard .wcfm-collapse-content br,
body.wiya-bookings-dashboard .wcfm-collapse-content #wcfm_page_load {
  display: none !important;
  grid-column: unset !important;
}

body.wiya-bookings-dashboard .wcfm-collapse-content .wcfm-container {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  background: var(--wiya-bg-card) !important;
  border: 1px solid var(--wiya-border-card) !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(51, 47, 39, 0.04) !important;
  overflow: hidden !important;
}

body.wiya-bookings-dashboard .wcfm-collapse-content .wcfm-container:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.10) !important;
}

body.wiya-bookings-dashboard .wcfm-collapse-content .wcfm-container a {
  text-decoration: none !important;
}

body.wiya-bookings-dashboard .wcfm-collapse-content .wcfm-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 40px 20px !important;
}

body.wiya-bookings-dashboard .booking_dashboard_section_icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  background: #fdf1c4 !important;
  color: #2170c9 !important;
  width: 48px !important;
  height: 32px !important;
  border-radius: 20px !important;
  font-size: 18px !important;
  margin-bottom: 16px !important;
}

body.wiya-bookings-dashboard .booking_dashboard_section_label {
  width: 100% !important;
  text-align: center !important;
}

body.wiya-bookings-dashboard .booking_dashboard_section_label h2 {
  margin: 0 auto !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #1a2332 !important;
  text-decoration: none !important;
  font-style: italic !important;
  text-align: center !important;
  white-space: nowrap !important;
}

@media (max-width: 900px) {
  body.wiya-bookings-dashboard .wcfm-collapse-content {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 500px) {
  body.wiya-bookings-dashboard .wcfm-collapse-content {
    grid-template-columns: 1fr !important;
    padding: 40px 15px 15px !important;
    gap: 15px !important;
  }

  body.wiya-bookings-dashboard .wcfm-collapse-content .wcfm-content {
    min-height: auto !important;
    padding: 24px 16px !important;
  }

  body.wiya-bookings-dashboard .booking_dashboard_section_icon {
    margin-bottom: 10px !important;
  }

  body.wiya-bookings-dashboard .booking_dashboard_section_label h2 {
    white-space: normal !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
  }
}

#wcfm-vendors thead th, #wcfm-vendors tfoot th,
#wcfm-shop-customers thead th, #wcfm-shop-customers tfoot th,
#wcfm-orders thead th, #wcfm-orders tfoot th,
#wcfm-shop-managers thead th, #wcfm-shop-managers tfoot th,
#wcfm-memberships thead th, #wcfm-memberships tfoot th {
    visibility: hidden !important;
    height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
}

table.dataTable tbody tr{
    text-align: center;
}

.wiya-wcfm-menu-close{
   display:none;
}

@media screen and (max-width: 768px) {
     body .wcfm_responsive_menu_toggler {
        display: block !important;
        margin-left:5px;
        margin-right:15px;
    }

    #wcfm_menu.wcfm_responsive_menu_toggle:not(.wcfm_menu_toggle) {
        width: 80% !important;
        left: 0 !important;
        overflow-y: auto !important;
        z-index: 999999 !important;
    }

    body #wcfm_menu{
        position: fixed !important;
        height: 100vh !important;
        top: 0 !important;
    }

    body.admin-bar #wcfm_menu {
        top: 46px !important;
        height: calc(100vh - 46px) !important;
    }

    #wcfm-content {
        z-index: 99999 !important;
    }

   #wcfm_menu .wcfm_menu_logo h4 {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0;
}

#wcfm_menu .wiya-wcfm-menu-brand {
    display: none !important;
}

#wcfm_menu .wcfm_menu_logo h4 > a {
    order: 1;
    margin: 0;
}

#wcfm_menu .wiya-wcfm-menu-close {
    order: 2;
    margin-left: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wcfm_menu_logo,
.wcfm_menu_no_logo {
    display: block;
}

#masthead{
z-index:1;
}

.wiya-wcfm-menu-close .wcfmfa{
 color:#FFF !important;
}
}