/**
 *
 *  WPD Core Override - General
 *
 */
 
/* CSS Variables for Alpha Insights Brand Colors */
:root {
    /* Primary Brand Colors */
    --alpha-primary: rgb(19, 143, 221);
    --alpha-secondary: rgb(132, 103, 214);
    --alpha-accent: rgb(48, 193, 241);
    --alpha-highlight: rgb(48, 229, 241);
    --alpha-gradient: rgb(3, 170, 237);
    --alpha-teal: rgb(48, 241, 191);
    
    /* Neutral Colors */
    --alpha-white: #ffffff;
    --alpha-light-gray: #f8f9fa;
    --alpha-gray: #6c757d;
    --alpha-dark-gray: #2c3e50;
    --alpha-black: #000000;
    
    /* Semantic Colors */
    --alpha-success: #28a745;
    --alpha-warning: #ffc107;
    --alpha-danger: #dc3545;
    --alpha-info: var(--alpha-accent);
    
    /* Typography */
    --alpha-font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --alpha-font-weight-light: 300;
    --alpha-font-weight-regular: 400;
    --alpha-font-weight-medium: 500;
    --alpha-font-weight-semibold: 600;
    --alpha-font-weight-bold: 700;
    
    /* Spacing */
    --alpha-spacing-xs: 4px;
    --alpha-spacing-sm: 8px;
    --alpha-spacing-md: 16px;
    --alpha-spacing-lg: 24px;
    --alpha-spacing-xl: 32px;
    --alpha-spacing-xxl: 48px;
    
    /* Border Radius */
    --alpha-border-radius-sm: 4px;
    --alpha-border-radius-md: 8px;
    --alpha-border-radius-lg: 12px;
    --alpha-border-radius-xl: 16px;
    
    /* Shadows */
    --alpha-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --alpha-shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --alpha-shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    --alpha-shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --alpha-transition-fast: 0.15s ease;
    --alpha-transition-normal: 0.3s ease;
    --alpha-transition-slow: 0.5s ease;
}
body #wpcontent {
    font-family: 'Poppins',-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
    padding: 0px;
    background: #f6f6f6;
}
.wrap, #contextual-help-wrap, #screen-options-wrap {
    margin: 0px;
    padding: 0px 50px;
}
div#screen-meta {
    margin: 0 0px -1px 0;
    border-color: #eaeaea;
    padding: 30px 0px;
}
#screen-meta-links .show-settings {
    border-color: #eaeaea;
}
#update-nag, .update-nag {
    display: block;
    margin-left: 50px;
    margin-right: 50px;
}
#menu-management .menu-edit, 
#menu-settings-column .accordion-container, 
.comment-ays, 
.feature-filter, 
.imgedit-group, 
.manage-menus, 
.menu-item-handle, 
.popular-tags, 
.stuffbox, 
.widget-inside, 
.widget-top, 
.widgets-holder-wrap, 
.wp-editor-container, 
p.popular-tags, 
table.widefat {
    border-color: #e6e6e6;
    border-radius: 7px;
}
/** 
 *
 *  WPD Styles
 *
 */
 body #wpbody {
    font-family: 'Poppins', -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
}
.widefat thead td, .widefat thead th {
    border-color: #e6e6e6;
}
td.order_margin.column-order_margin, td.order_profit.column-order_profit, th#order_margin, th#order_profit {
    text-align: right;
}
.wpd-chart-container {
    border: 1px solid #ccd0d4;
    margin-bottom: 20px;
    border: solid 1px #e6e6e6;
    border-radius: 7px;
}
.wpd-chart-additionals {
    padding: 25px;
}
.dwcpt-chart-options, .wpd-chart-options {
    margin-bottom: 20px;
}
.dwcpt-form, .wpd-form {
    display: inline-block;
    width: 100%;
}
.dwc-data-success, .wpd-data-success {
    border-color: green !important;
}
.dwc-data-fail, .wpd-data-fail {
    border-color: red !important;
}
#dwc-response, #wpd-response {
    max-height: 100px;
    overflow-y: auto;
    background: #f7f7f7;
    padding: 10px;
    border-radius: 3px;
    border: solid 1px #eaeaea;
}
.dwc-bulk-expense-action-container, .wpd-bulk-expense-action-container {
    display: inline-block;
    width: 100%;
}
.actions-row {
    margin-bottom: 20px;
    height: 30px;
}
.tablenav {
    height: unset;
}

ul.dwc-sub-menu li a, ul.wpd-sub-menu li a {
    color: #222;
    border-radius: 3px;
    padding: 12px 10px;
    font-size: 12px;
    margin-right: 5px;
    display: inline-block;
    line-height: initial;
    text-decoration: none;
}
ul.dwc-sub-menu li a.nav-tab-active, 
ul.wpd-sub-menu li a.nav-tab-active,
ul.dwc-sub-menu li a:hover, 
ul.wpd-sub-menu li a:hover,
a.dwc-nav-tab:hover, 
a.wpd-nav-tab:hover {
    color: #222;
}
.dwc-sub-menu li, .wpd-sub-menu li {
    display: inline-block;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}
ul.dwc-sub-menu, ul.wpd-sub-menu {
    background: white;
    width: 100%;
    padding: 10px 0px;
    margin-top: 0px;
    border-top: none;
    border-radius: 3px;
    margin-bottom: 0px;
    float:none;
    display: inline-block;
}
ul.dwc-sub-menu li a::before, ul.wpd-sub-menu li a::before {
    content: "\f345";
    font-family: 'Dashicons';
    color: #03abee;
    font-weight: 900;
    font-size: 14px;
    vertical-align: middle;
}
ul.dwc-sub-menu li a:hover, ul.wpd-sub-menu li a:hover {
    background: #f7f7f7;
}
.wpd-nav-wrapper {
    display: block;
    width: 100%;
    background: white;
    box-shadow: 0px 5px 15px 0px #0000000f;
    margin-bottom: 30px;
}
/* Container setup for horizontal scroll with gradient fade and scroll controls */
.wpd-nav-wrapper {
    position: relative;
}

.wpd-sub-menu-container {
    position: relative;
    width: 100%;
    border-top: solid 1px #eaeaea;
}

.wpd-sub-menu {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    gap: 6px;
    padding: 6px 0;
    margin: 0;
    list-style: none;
    scroll-behavior: smooth;
    /* Hide native scrollbars completely */
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* Prevent text selection while dragging */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* Make the submenu shorter so arrows sit outside */
    width: calc(100% - 80px);
    max-width: calc(100% - 80px);
}

/* Hide native scrollbars */
.wpd-sub-menu::-webkit-scrollbar {
    display: none;
}

/* Custom scrollbar track */
.wpd-sub-menu-scrollbar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 80px; /* Account for submenu being shorter (80px cut off) */
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: auto; /* Enable pointer events for track */
}

/* Custom scrollbar thumb */
.wpd-sub-menu-scrollbar-thumb {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #03abee;
    border-radius: 2px;
    transition: background 0.2s ease;
    cursor: pointer;
    pointer-events: auto; /* Enable pointer events for dragging */
}

/* Show custom scrollbar on hover */
.wpd-sub-menu-container.has-scroll:hover .wpd-sub-menu-scrollbar {
    opacity: 1;
}

.wpd-sub-menu-scrollbar-thumb:hover {
    background: #0390c7;
}

.wpd-sub-menu-scrollbar-thumb:active {
    background: #027bb3;
    cursor: grabbing;
}

/* Each menu item inline */
.wpd-sub-menu-li {
    flex: 0 0 auto;
}

/* Prevent text selection and dragging on links */
.wpd-sub-menu a {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* Gradient fade overlays - only show when scrollable */
.wpd-sub-menu-fade-left,
.wpd-sub-menu-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wpd-sub-menu-fade-left {
    left: 0;
    width: 60px;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.wpd-sub-menu-fade-right {
    /* Position at the end of the submenu, not the container */
    right: 80px;
    width: 120px; /* Extended width for more gradual fade */
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 40%, rgba(255, 255, 255, 0) 100%);
}

/* Show fades when scrollable */
.wpd-sub-menu-container.has-scroll .wpd-sub-menu-fade-left.show,
.wpd-sub-menu-container.has-scroll .wpd-sub-menu-fade-right.show {
    opacity: 1;
}

/* Scroll control buttons - no border, grouped on right */
.wpd-sub-menu-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    color: #03abee;
    cursor: pointer;
    z-index: 3;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 4px;
}

.wpd-sub-menu-scroll-btn:hover {
    background: rgba(3, 171, 238, 0.1);
    color: #0390c7;
}

.wpd-sub-menu-scroll-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.wpd-sub-menu-scroll-btn svg {
    width: 20px;
    height: 20px;
}

/* Position both buttons on the right side, next to each other */
.wpd-sub-menu-scroll-left {
    right: 36px; /* Left arrow on the left of the pair */
}

.wpd-sub-menu-scroll-right {
    right: 8px; /* Right arrow on the right of the pair */
}

/* Show scroll buttons when menu is scrollable */
.wpd-sub-menu-container.has-scroll .wpd-sub-menu-scroll-btn {
    display: flex;
}

/* Dim buttons when at start/end */
.wpd-sub-menu-container.at-start .wpd-sub-menu-scroll-left {
    opacity: 0.3;
    pointer-events: none;
}

.wpd-sub-menu-container.at-end .wpd-sub-menu-scroll-right {
    opacity: 0.3;
    pointer-events: none;
}

/* Dragging cursor */
.wpd-sub-menu.dragging {
    cursor: grabbing;
    user-select: none;
}

.wpd-sub-menu:not(.dragging) {
    cursor: grab;
}

@media (max-width: 768px) {
    li.wpd-sub-menu-li.pull-right {
        float: none;
    }
    
    /* Mobile-friendly submenu */
    .wpd-sub-menu {
        width: calc(100% - 65px); /* Less space for arrows on mobile */
        padding: 8px 0; /* Slightly more padding for touch targets */
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }
    
    /* Mobile-friendly menu items */
    ul.dwc-sub-menu li a, ul.wpd-sub-menu li a {
        padding: 12px 10px; /* Better touch targets */
        font-size: 13px; /* Slightly larger for readability */
    }
    
    /* Smaller, better positioned scroll buttons on mobile */
    .wpd-sub-menu-scroll-btn {
        width: 32px;
        height: 32px;
        padding: 6px;
    }
    
    .wpd-sub-menu-scroll-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .wpd-sub-menu-scroll-left {
        right: 40px; /* Adjust spacing for mobile */
    }
    
    .wpd-sub-menu-scroll-right {
        right: 5px;
    }
    
    /* Reduce fog on mobile */
    .wpd-sub-menu-fade-left,
    .wpd-sub-menu-fade-right {
        width: 30px; /* Smaller fade on mobile */
    }
    
    .wpd-sub-menu-fade-right {
        width: 50px; /* Less extended fade on mobile */
        right: 65px; /* Adjust for shorter menu */
        background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 30%, rgba(255, 255, 255, 0) 100%);
    }
    
    /* Custom scrollbar adjustments for mobile */
    .wpd-sub-menu-scrollbar {
        right: 65px; /* Adjust for shorter menu on mobile */
        height: 3px; /* Thinner on mobile */
        left: 0; /* Full width from start */
    }
    
    .wpd-sub-menu-scrollbar-thumb {
        height: 3px;
    }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
    /* Enable touch scrolling */
    .wpd-sub-menu {
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: none; /* Disable snap for smoother scrolling */
    }
    
    /* Always show scrollbar on touch devices when scrollable */
    .wpd-sub-menu-container.has-scroll .wpd-sub-menu-scrollbar {
        opacity: 0.6;
    }
    
    /* Hide scroll buttons on pure touch devices (optional) */
    /* Uncomment if you want to hide buttons on touch-only devices
    .wpd-sub-menu-scroll-btn {
        display: none !important;
    }
    */
}
  
.wpd-box-shadow {
    box-shadow: 0px 5px 15px 0px #0000000f;
}
.nav-tab-wrapper {
    border-bottom: none !important;
    padding: 5px 0px !important;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 5px;
}
span.wpd-plugin-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}
a.dwc-nav-tab, a.wpd-nav-tab {
    border-radius: 7px;
    font-weight: 400;
    background-color: transparent;
    border: solid 1px transparent;
    padding: 12px 15px;
    margin: 0px;
    font-size: 14px;
    color: #444;
}
a.dwc-nav-tab.nav-tab.nav-tab-active, 
a.wpd-nav-tab.nav-tab.nav-tab-active {
    border-radius: 7px;
    font-weight: 500;
    background: var(--alpha-primary);
    color: var(--alpha-white);
    border: 1px solid rgba(19, 143, 221, 0.15);
    box-shadow: 0 2px 6px rgba(19, 143, 221, 0.2);
    overflow: hidden;
    position: relative;
}
a.dwc-nav-tab.nav-tab.nav-tab-active::before, 
a.wpd-nav-tab.nav-tab.nav-tab-active::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}
a.dwc-nav-tab.nav-tab.nav-tab-active:hover, 
a.wpd-nav-tab.nav-tab.nav-tab-active:hover {
    background: var(--alpha-gradient);
    color: var(--alpha-white);
    border-color: var(--alpha-gradient);
    box-shadow: 0 4px 12px rgba(19, 143, 221, 0.3);
    transform: translateY(-1px);
}
a.dwc-nav-tab.nav-tab.nav-tab-active:hover::before, 
a.wpd-nav-tab.nav-tab.nav-tab-active:hover::before {
    left: 100%;
}
a.dwc-nav-tab:hover, a.wpd-nav-tab:hover {
    background: #f7f7f7;
    border: solid 1px #eaeaea;
}
img.alpha-insights-menu-logo {
    height: 50px;
    width: 50px;
}
span.product-subtitle {
    font-size: 11px;
    white-space: nowrap;
    font-weight: 500;
}
.wpd-white-block {
    background: white;
    border-radius: 7px;
    padding: 30px;
    box-shadow: 0px 5px 15px 0px #0000000f;
    border: solid 1px #e6e6e6;
    margin-bottom: 40px;
    display: block;
}
.wpd-statistic {
    font-size: 32px;
    font-weight: 600;
    line-height: initial;
}
table.dwc-table {
    box-shadow: 0px 5px 15px 0px #0000000f;
    margin-bottom: 40px;
    border-radius: 7px;
    overflow: hidden;
}
.pull-right {
    float:right;
}
.wpd-notice {
    padding: 10px 20px;
    box-shadow: 0px 2px 2px 0px #00000026;
    margin: 15px 0px;
    border: solid 1px #eaeaea;
    border-radius: 3px;
    line-height: initial !important;
    /* background: #01AEDF; */
    border: none;
    font-weight: 500;
    background-color: white;
    /* color: #01aef0; */
    /* background-image: linear-gradient(to right, #01aef0 , #1587d9); */
    border-left: solid 5px #01aef0;
}
.wpd-notice.notice-error {
    border-left: solid 5px #e70000;
}
.wpd-notice.notice-warning {
    border-left: solid 5px #ff7600;
}
.wp-list-table .meta {
    font-size: 80%;
    opacity: .5;
}
/* Legacy inventory report styles - no longer used with modern COGS manager */
.dwcpt-form .tablenav, .wpd-form .tablenav {
    height: unset;
}
.wpd-filter {
    margin-bottom: 40px;
}
.postbox .widefat td, .postbox .widefat th {
    padding: 15px 10px;
}
tr.wpd-toggle-trigger {
    cursor: pointer;
}
#wpd-ai-insights-summary span.dashicons {
    position: absolute;
}
div#wpd-ai-insights-summary th {
    width: 65%;
}
div#wpd-ai-insights-summary .active .dashicons {
    transform: rotate(180deg);
}
table#wpd-pl-statement {
    border: none;
}
#wpd-pl-statement thead {
    background: #01aef0;
    background-image: linear-gradient(to bottom, #01aef0 , #1587d9) !important;
}
#wpd-pl-statement thead td {
    background: transparent !important;
    border: none !important;
}
#wpd-pl-statement thead * {
    color: white;
}
table#wpd-pl-statement {
    border: none;
    overflow: hidden;
    box-shadow: 0px 5px 15px 0px #0000000f;
}
table#wpd-pl-statement thead td {
    vertical-align: bottom;
    font-weight: 700;
}
table#wpd-pl-statement thead h3, table#wpd-pl-statement thead h4 {
    margin-bottom: 0px;
}
table#wpd-pl-statement thead h4, table#wpd-pl-statement thead td {
    font-weight: 400;
}
table#wpd-pl-statement th, table#wpd-pl-statement td {
    padding: 15px 20px;
    border-bottom: solid 1px #eaeaea;
}
table#wpd-pl-statement .emphasis td, table#wpd-pl-statement .emphasis th {
    font-weight: 600;
    background: #f7f7f7;
}
table#wpd-pl-statement .heading td, table#wpd-pl-statement .heading th {
    font-weight: 600;
    color: black;
    font-size: 18px;
    border-bottom: none;
    padding-top: 30px;
    padding-bottom: 30px;
}
table#wpd-pl-statement .child th, table#wpd-pl-statement .child td {
    padding: 5px 30px;
    font-size: 12px;
}
.wpd-order-status {
    font-weight: 500;
}
.wpd-order-status::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #e6a822;
    margin-right: 10px;
    border-radius: 100px;
}
.wpd-order-status.wpd-status-processing,
.wpd-order-status.wpd-status-active {
    color: #0db90d;
}
.wpd-order-status.wpd-status-processing::before,
.wpd-order-status.wpd-status-active::before {
    background-color: #0db90d;
}
.wpd-order-status.wpd-status-cancelled {
    color: #e70000;
}
.wpd-order-status.wpd-status-cancelled::before {
    background-color: #e70000;
}
.wpd-order-status.wpd-status-completed {
    color: rgb(48, 193, 241);
}
.wpd-order-status.wpd-status-completed::before {
    background-color: rgb(48, 193, 241);
}
table.dwc-table-wrap, table.wpd-table-wrap {
    width: 100%;
    margin-bottom: 40px;
    border-spacing: 0px;
}
.wpd-overview-grid {
    border-spacing: 4px !important;
    width: calc(100% + 8px) !important;
    margin-left: -4px;
}
.wpd-key-insight {
    background: white;
    border-radius: 7px;
    padding: 30px;
    box-shadow: 0px 5px 15px 0px #0000000f;
    border: solid 1px #e6e6e6;
}
.wpd-key-insight.flat {
    box-shadow: none !important;
}
.wpd-section-heading {
    font-size: 16px;
    line-height: initial;
    font-weight: 600;
    color: black;
}
.wpd-meta {
    opacity: .5;
    font-size: 90%;
    font-weight: 400;
}
ul.wpd-meta li {
    margin-bottom: 0px;
    font-size: 11px;
    border-bottom: solid 1px #eaeaea;
}
.wpd-wrapper {
    width: 100%;
    display: inline-block;
    margin-bottom: 40px;
}
.wpd-col-6 {
    width: 49%;
    display: inline-block;
    vertical-align: top;
}
.wpd-col-8 {
    width: 83%;
    display: inline-block;
    vertical-align: top;
}
.wpd-col-10 {
    width: 65%;
    display: inline-block;
    vertical-align: top;
}
.wpd-col-2 {
    width: 16%;
    display: inline-block;
    vertical-align: top;
}
.wpd-col-4 {
    width: 34%;
    display: inline-block;
    vertical-align: top;
}
.wpd-col-10 {
    width: 83%;
    display: inline-block;
    vertical-align: top;
}
.wpd-col-2 {
    width: 16%;
    display: inline-block;
    vertical-align: top;
}
.wpd-per-page-wrapper select {
    float: none !important;
}
select.change-time-display {
    float: right;
}
/* Tooltip container */
.wpd-tooltip {
  position: relative;
  display: inline-block;
}
/* Tooltip text */
.wpd-tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #262626;
    color: #fff;
    text-align: center;
    padding: 5px;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
    font-weight: 400;
}
.wpd-tooltip.wide-tooltip .tooltiptext {
    width: 240px;
}
.wpd-tooltip .tooltiptext * {
    color: white;
}
/* Tooltip arrow */
.wpd-tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}
/* Show the tooltip text when you mouse over the tooltip container */
.wpd-tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}
.wpd-tooltip .dashicons {
    color: #02acef;
    opacity: .5;
}
.wpd-tooltip:hover .dashicons {
    opacity: 1;
}
/* Hide admin notices on my pages */
.notice, .updated, .update-nag {
    display: none !important;
}
.notice.wpd-notice, .plugin-update .notice {
    display: block !important;
}
/* Hide admin notices on my pages */
.wpd.ui-datepicker * {
    font-family: 'Poppins';
}
.wpd.ui-datepicker .ui-datepicker-header {
    background: transparent;
    border: none;
}
.wpd.ui-datepicker table.ui-datepicker-calendar th {
    font-weight: 500;
    opacity: .5;
}
.wpd.ui-datepicker .ui-state-default {
    background: transparent;
    border: none;
    text-align: center;
    padding: 8px 0px;
    font-weight: 500;
    color: black;
    border-radius: 5px;
}
.wpd td.ui-datepicker-today {
    background: #03aaed36;
    border-radius: 5px;
}
.wpd.ui-datepicker .ui-state-default:hover {
    background: #eaeaea;
}
.wpd.ui-datepicker .ui-state-default.ui-state-active {
    font-weight: 500;
    background: #03aaed;
    color: white;
}
.wpd.ui-datepicker .ui-state-default.ui-state-active:hover {
    background: rgb(19,143,221);
}
.wpd.ui-datepicker .ui-state-hover {
    border: none;
    background: #eaeaea;
    top: 2px;
    cursor: pointer;
}
.wpd.ui-datepicker .ui-state-hover.ui-datepicker-prev {
    left: 2px;
}
.wpd.ui-datepicker .ui-state-hover.ui-datepicker-next {
    right: 2px;
}
.wpd.ui-datepicker .ui-datepicker-title select {
    font-weight: 500;
    border-color: #ccc;
}
table.widefat.fixed.no-border {
    border:none;
}
img.wpd-product-thumbnail {
    width: 75px;
    height: 75px;
    border-radius: 15px;
    padding: 10px;
    background: #138fdd0f;
}
.ui-widget-overlay.ui-front {
    z-index: 99 !important;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: opacity 0.3s ease;
    opacity: 1;
    pointer-events: none;
}
.wpd-dialog {
    position: fixed;
}
.wpd-dialog * {
    font-family: 'Poppins';
}
.wpd-dialog .ui-dialog-titlebar {
    background: transparent;
    border: none;
}
.wpd-dialog .ui-dialog-buttonpane {
    border: none;
}
img.wpd-user-thumbnail {
    border-radius: 100px;
    background: rgba(3,170,237,1);
    background: linear-gradient(90deg, rgba(132,103,214,1) 0%, rgba(3,170,237,1) 100%);
    padding: 3px;
}
.wpd-section-heading .wpd-meta {
    font-weight: 400;
}
th.wpd-device-icon {
    text-align: center;
}
th.wpd-device-icon .dashicons {
    font-size: 48px;
    line-height: initial;
    height: unset;
    width: unset;
    color: #03aaed;
}
a.wpd-key-insight {
    display: block;
}
.wpd-nav-table .wpd-section-heading {
    text-align: left;
    margin-top: 40px;
}
.wpd-nav-table td {
    height: 250px;
}
.wpd-nav-table .wpd-statistic {
    display: none;
}
.wpd-nav-table .wpd-icon .dashicons {
    font-size: 100px;
    height: unset;
    width: unset;
}
.wpd-nav-table .wpd-icon .dashicons {
    font-size: 100px;
    line-height: 150px;
    height: 150px;
    width: 150px;
    color: #0b9de6;
    background: white;
    border-radius: 100px;
    border: solid 8px;
    box-shadow: 0px 0px 5px 0px #0000000d;
}
.wpd-nav-table a.wpd-key-insight {
    background: linear-gradient(180deg, rgb(19,143,221) 0%, rgb(3, 170, 237) 50%, #fff 50%, #fff 100%);
    text-decoration: none;
    text-align: center;
    color: initial;
    font-weight: 600;
    position: relative;
    transition: all .1s ease-in-out;
    border: none;
    padding: 50px 20px;
    background: white !important;
}
a.wpd-key-insight.wpd-nav-orders {
    background: rgb(132,103,214);
    background: linear-gradient(180deg, rgb(132,103,214) 0%, rgb(154 128 228) 50%, #fff 50%);
}
a.wpd-key-insight.wpd-nav-orders .dashicons {
    color: rgb(154 128 228);
}
a.wpd-key-insight.wpd-nav-customers {
    background: linear-gradient(180deg, rgb(48, 193, 241) 0%, rgb(48, 229, 241) 50%, #fff 50%);
}
a.wpd-key-insight.wpd-nav-customers .dashicons {
    color: rgb(48, 229, 241);
}
a.wpd-key-insight.wpd-nav-expense {
    background: linear-gradient(180deg, #ed0355 0%, #e84880 50%, #fff 50%, #fff 100%);
}
a.wpd-key-insight.wpd-nav-expense .dashicons {
    color: #e84880;
}
a.wpd-key-insight.wpd-nav-inventory {
    background: linear-gradient(180deg, #ed4d03 0%, #e47b4a 50%, #fff 50%, #fff 100%);
}
a.wpd-key-insight.wpd-nav-inventory .dashicons {
    color: #e47b4a;
}
a.wpd-key-insight.wpd-nav-profit-loss {
    background: linear-gradient(180deg, #edc203 0%, #ffe77b 50%, #fff 50%, #fff 100%);
}
a.wpd-key-insight.wpd-nav-profit-loss .dashicons {
    color: #ffe77b;
}
.wpd-nav-icon {
    position: absolute;
    top: 0px;
    left: 0px;
    padding: 10px;
    color: #fff;
    opacity: .75;
    font-weight: 400;
}
.wpd-nav-icon span {
    vertical-align: bottom;
}
.wpd-nav-icon span::before {
    color: #fff;
}
a.wpd-key-insight:hover {
    transform: scale(1.05);
    z-index: 99;
    border: none;
}
.wpd-nav-info p {
    margin: 0px;
    line-height: initial;
    font-weight: 400;
    text-align: left;
    opacity: .5;
}
span.wpd-to-do {
    background: linear-gradient(to right, #01aef0 , #1587d9);
    border-radius: 100%;
    padding: 5px;
    color: white;
    display: inline-block;
    width: 32px;
    height: 32px;
    text-align: center;
}
span.wpd-to-do .dashicons {
    height: unset;
    width: unset;
    font-size: 32px;
    line-height: initial;
}
.wpd-subtitle {
    font-size: 16px;
}
.centred {
    text-align: center;
}
table.wpd-nav-table {
    border-spacing: 20px !important;
    width: calc(100% + 40px) !important;
    margin-left: -20px;
}
.wpd-filter-wrapper {
    margin: 10px 0px;
    display: inline-block;
    margin-right: 20px;
    vertical-align: bottom;
}
.wpd-exports-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 5px;
}
.wpd-download .wpd-icon .dashicons {
    display: inline-block;
    color: white;
    border-radius: 100px;
    height: 60px;
    width: 60px;
    line-height: 60px;
    font-size: 32px;
    background: rgba(31,110,67,1);
    background: linear-gradient(90deg, rgba(32,158,99,1) 0%, rgba(31,110,67,1) 100%);
}
.wpd-download-pdf.wpd-download .wpd-icon .dashicons {
    background: rgb(212 53 53);
    background: linear-gradient(90deg, rgb(212 53 53) 0%, rgb(158 32 32) 100%);
}
.wpd-bulk-add-instructions .wpd-icon .dashicons {
    display: inline-block;
    color: white;
    border-radius: 100px;
    height: 60px;
    width: 60px;
    line-height: 60px;
    font-size: 32px;
    background: rgb(3, 170, 237);
    background: linear-gradient(90deg, rgb(3, 170, 237) 0%, rgb(19,143,221) 100%);
}
.wpd-download, .wpd-bulk-add-instructions {
    text-align: center;
    padding: 5px;
    transition: all .2s ease-in-out;
}
.wpd-bulk-add-expenses td {
    vertical-align: top;
}
.wpd-bulk-add-expenses .wpd-section-heading {
    margin-bottom: 10px;
}
.wpd-file-upload {
    display: block;
    border-radius: 3px;
    padding: 35px;
    text-align: center;
    background: #f7f7f7;
    border: dashed 5px #eaeaea;
    transition: all .2s ease-in-out;
}
.wpd-file-upload:hover {
    background: #f3f3f3;
}
.wpd-file-upload input[type="file"] {
    display: none;
}
.wpd-download a {
    text-decoration: none;
    color: initial;
}
.ui-dialog-titlebar-close {
    background: none !important;
    border: none !important;
    padding: 0px !important;
}
.ui-icon.ui-icon-closethick {
    position: absolute;
    top: 0px !important;
    right: 0px !important;
    left: unset !important;
    bottom: unset !important;
}
.wpd-bulk-add-instructions:hover, .wpd-download:hover {
    cursor: pointer;
    background: #f7f7f7;
}
form#bulk-add-expenses input::placeholder {
    opacity: .75;
}
.wpd-filter-wrapper label {
    display: block;
}
.wpd-filter-wrapper input, .wpd-filter-wrapper select {
    vertical-align: top;
}
.wpd-meta.product-type {
    background: #f7f7f7;
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    line-height: initial;
    text-align:center;
}
.wpd-meta.product-type.simple {
    background: rgb(132,103,214);
    color: white;
}
.wpd-meta.product-type.variable {
    background: rgb(3, 170, 237);
    color: white;
}
.wpd-meta.product-type.variation {
    background: rgb(48, 229, 241);
    color: white;
}
.wpd-meta.product-type.grouped {
    background: #ed4d03;
    color: white;
}
.wpd-meta.product-type.external {
    background: #edc203;
    color: black;
}
.wpd-product-title {
    font-weight: 600;
}
/*Preloader*/
@keyframes preloader-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.wpd-preloader img {
    animation: preloader-spin 1s linear infinite;
    width: 100%;
    height: 100%;
}
.wpd-preloader {
    position: relative;
    display: inline-block;
    vertical-align: bottom;
}
/* generated by https://loading.io/ */
.wpd-dialog .dashicons {
    font-family: dashicons;
}
.wpd-success {
    background: #0cd80c;
    border-radius: 100px;
    color: white;
    display: inline-block;
    vertical-align: bottom;
    text-align: center;
}
.wpd-success .dashicons {
    height: unset;
    width: unset;
    line-height: 100px;
    font-size: 60px;
    text-align: center;
}
.wpd-failure {
    background: #d8100c;
    border-radius: 100px;
    color: white;
    display: inline-block;
    vertical-align: bottom;
    text-align: center;
}
.wpd-failure .dashicons {
    height: unset;
    width: unset;
    line-height: 100px;
    font-size: 60px;
    text-align: center;
}
.wpd-button {
    background: #03aaed;
    color: white !important;
    text-decoration: none;
    border-radius: 100px;
    line-height: initial;
    padding: 10px 40px;
    display: inline-block;
    margin: 5px;
}
a#wpd-csv-download::before {
    content: "\f316";
    font-family: 'Dashicons';
    vertical-align: middle;
    margin-right: 5px;
}
.wpd-loading {
    padding: 25px;
}
.wpd-results {
    padding: 10px;
    display: inline-block;
    width: 100%;
}
.wpd-download p {
    font-size: 12px;
    margin: 5px 0px;
}
.wpd-inline {
    display:inline-block;
    width: 100%;
}
input[type="text"].wpd-input, 
input[type="number"].wpd-input, 
input[type="email"].wpd-input, 
input[type="password"].wpd-input, 
select.wpd-input,
button.wpd-input,
.wpd-input.button {
    padding: 10px 20px;
    border-color: #ccc;
    color: #666;
    border-radius: 7px;
    line-height: initial;
    max-width: 100%;
    font-weight: 400;
}
.wpd-input.button.button-primary {
    color: white;
    border-color: transparent;
}
.form-field input[type=email], 
.form-field input[type=number], 
.form-field input[type=password], 
.form-field input[type=search], 
.form-field input[type=tel], 
.form-field input[type=text], 
.form-field input[type=url], 
.form-field textarea {
    width: inherit;
}
input[type="text"].wpd-input::placeholder, 
input[type="number"].wpd-input::placeholder, 
input[type="email"].wpd-input::placeholder, 
input[type="password"].wpd-input::placeholder, 
select.wpd-input::placeholder {
    opacity: .5;
}
.wpd-block-label {
    display: block;
}
select.wpd-input {
    padding-right: 30px;
}
.wpd-notice button.notice-dismiss {
    padding: 19px;
}
.full-width {
    width: 100%;
}

/* Styling Checkbox Starts */
.wpd-checkbox-container {
    display: flex;
    gap: 10px;
    align-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}
.wpd-checkbox-label {
    display: inline-block;
    position: relative;
    margin: 5px;
    cursor: pointer;
    font-size: 22px;
    line-height: 24px;
    height: 24px;
    width: 24px;
    clear: both;
    background: white;
}
.wpd-checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
label.wpd-checkbox-label,
.wpd-table label.wpd-checkbox-label {
    display: inline-block !important;
    float: none !important;
    width: 24px !important;
}
.wpd-checkbox-label .checkbox-custom {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 24px;
    width: 24px;
    background-color: transparent;
    border-radius: 7px;
    transition: all 0.1s ease-out;
    -webkit-transition: all 0.1s ease-out;
    -moz-transition: all 0.1s ease-out;
    -ms-transition: all 0.1s ease-out;
    -o-transition: all 0.1s ease-out;
    border: 1px solid #cccccc;
}
.wpd-checkbox-label input:checked ~ .checkbox-custom {
    background-color: #FFFFFF;
    border-radius: 7px;
    -webkit-transform: rotate(0deg) scale(1);
    -ms-transform: rotate(0deg) scale(1);
    transform: rotate(0deg) scale(1);
    opacity:1;
    border: 1px solid #cccccc;
}
.wpd-checkbox-label .checkbox-custom::after {
    position: absolute;
    content: "";
    left: 12px;
    top: 12px;
    height: 0px;
    width: 0px;
    border-radius: 7px;
    border: solid #009BFF;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(0deg) scale(0);
    -ms-transform: rotate(0deg) scale(0);
    transform: rotate(0deg) scale(0);
    opacity:1;
    transition: all 0.1s ease-out;
    -webkit-transition: all 0.1s ease-out;
    -moz-transition: all 0.1s ease-out;
    -ms-transition: all 0.1s ease-out;
    -o-transition: all 0.1s ease-out;
}
.wpd-checkbox-label input:checked ~ .checkbox-custom::after {
  -webkit-transform: rotate(45deg) scale(1);
  -ms-transform: rotate(45deg) scale(1);
  transform: rotate(45deg) scale(1);
  opacity:1;
  left: 8px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid #009BFF;
  border-width: 0 2px 2px 0;
  background-color: transparent;
  border-radius: 0;
}
.wpd-checkbox-text {
    margin: 8px 0px;
    display: inline-block;
}
.wpd-email-preview {
    border-radius: 7px;
    box-shadow: 0px 16px 30px 0px #00000042;
    overflow: hidden;
    max-width: 800px;
    margin: auto;
    margin-bottom: 50px;
}
.wpd-notification-pop {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 400px;
    background: white;
    z-index: 9999999999999;
    padding: 20px 20px;
    box-shadow: 0px 4px 10px 0px #0000003d;
    border-radius: 7px;
    border: solid 1px #eaeaea;
    opacity: 0;
    transform: translateY(100vh);
    transition: all .3s ease-in-out;
}
.wpd-notification-pop.active {
    transform: translateY(0px);
    opacity: 1;
    display: block;
}
.wpd-notification-pop td {
    padding: 5px 15px;
}
.wpd-notification-pop-title {
    font-size: 18px;
    line-height: initial;
}
.wpd-exit-notification-pop {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    color: #03aaed;
}
.wp-core-ui .button, 
.wp-core-ui .button:active, 
.wp-core-ui .button-secondary, 
.wp-core-ui .button-secondary:active, 
.wrap .add-new-h2, 
.wrap .add-new-h2:active, 
.wrap .page-title-action, 
.wrap .page-title-action:active {
    border-color: #007cba;
    border: solid 1px #ccc;
    box-shadow: inset 0 1px 0 1px rgba(255,255,255,.1), 0 1px 0 0 rgba(30,32,40,.1);
    border-radius: 7px;
    font-weight: 500;
    padding: 10px 20px;
    color: #666;
    line-height: initial;
}
.wp-core-ui .button-primary,
input.btn.btn-primary {
    background: linear-gradient(-180deg,#04a9ed 0%,#138fdd 100%);
    border: 1px solid #138fdd;
    box-shadow: inset 0 1px 0 1px rgba(255,255,255,.1), 0 1px 0 0 rgba(30,32,40,.1);
    border-radius: 7px;
    color: #fff;
    font-weight: 500;
    padding: 10px 20px !important;
    line-height: initial !important;
    transition: all var(--alpha-transition-normal);
    border: none;
    text-decoration: none;
    font-family: var(--alpha-font-family);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
    background: var(--alpha-primary);
    color: var(--alpha-white);
    border: 1px solid rgba(19, 143, 221, 0.15);
    box-shadow: 0 2px 6px rgba(19, 143, 221, 0.2);
}

.wp-core-ui .button-primary::before,
input.btn.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
  }
  
  .wp-core-ui .button-primary:hover::before,
  input.btn.btn-primary:hover::before {
    left: 100%;
  }

.wp-core-ui .button-primary:hover,
input.btn.btn-primary:hover,
.wp-core-ui .button-primary:active,
input.btn.btn-primary:active,
.wp-core-ui .button-primary:focus,
input.btn.btn-primary:focus {
    background: var(--alpha-gradient);
    color: var(--alpha-white);
    border-color: var(--alpha-gradient);
    box-shadow: 0 4px 12px rgba(19, 143, 221, 0.3);
    transform: translateY(-1px);
}
.wp-core-ui .button.button-primary.disabled {
    border-color: #ccc !important;
    color: #666 !important;
}

/* Button Styles - Alpha Insights Standard */
.wpd-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--alpha-spacing-sm);
    padding: var(--alpha-spacing-sm) var(--alpha-spacing-lg);
    border-radius: var(--alpha-border-radius-md);
    font-size: 0.75rem;
    font-weight: var(--alpha-font-weight-medium);
    cursor: pointer;
    transition: all var(--alpha-transition-normal);
    border: none;
    text-decoration: none;
    font-family: var(--alpha-font-family);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
  }
  
  .wpd-btn-primary {
    background: var(--alpha-primary);
    color: var(--alpha-white);
    border: 1px solid rgba(19, 143, 221, 0.15);
    box-shadow: 0 2px 6px rgba(19, 143, 221, 0.2);
  }
  
  .wpd-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
  }
  
  .wpd-btn-primary:hover::before {
    left: 100%;
  }
  
  .wpd-btn-primary:hover {
    background: var(--alpha-gradient);
    color: var(--alpha-white);
    border-color: var(--alpha-gradient);
    box-shadow: 0 4px 12px rgba(19, 143, 221, 0.3);
    transform: translateY(-1px);
  }
  
  .wpd-btn-secondary {
    background: var(--alpha-white);
    color: var(--alpha-dark-gray);
    border: 1px solid rgba(19, 143, 221, 0.15);
  }
  
  .wpd-btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
  }
  
  .wpd-btn-secondary:hover::before {
    left: 100%;
  }
  
  .wpd-btn-secondary:hover {
    background: var(--alpha-gradient);
    border-color: var(--alpha-gradient);
    color: var(--alpha-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(19, 143, 221, 0.3);
  }
  
  .wpd-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
  }
  
  .wpd-btn:disabled::before {
    display: none;
  }
  
  /* Small Button Modifier */
  .wpd-btn-small {
    padding: 4px 10px;
    font-size: 0.6875rem !important;
    font-weight: 500;
  }
  
  .wpd-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
  }

.tablenav .tablenav-pages .button, 
.tablenav .tablenav-pages .button:active, 
.tablenav .tablenav-pages .button:focus, 
.tablenav .tablenav-pages .tablenav-pages-navspan {
    display: inline-block;
    vertical-align: baseline;
    min-width: 30px;
    min-height: 30px;
    margin: 0;
    padding: 0 4px;
    font-size: 16px;
    line-height: 1.625;
    text-align: center;
}
.ui-dialog-titlebar-close:before {
    display:none;
}
.media-frame input[type=date], 
.media-frame input[type=datetime-local], 
.media-frame input[type=datetime], 
.media-frame input[type=email], 
.media-frame input[type=month], 
.media-frame input[type=number], 
.media-frame input[type=password], 
.media-frame input[type=search], 
.media-frame input[type=tel], 
.media-frame input[type=text], 
.media-frame input[type=time], 
.media-frame input[type=url], 
.media-frame input[type=week],
input[type=checkbox], 
input[type=radio], 
.wp-core-ui select, 
input[type=color], 
input[type=date], 
input[type=datetime-local], 
input[type=datetime], 
input[type=email], 
input[type=month], 
input[type=number], 
input[type=password], 
input[type=search], 
input[type=tel], 
input[type=text], 
input[type=time], 
input[type=url], 
input[type=week], 
.wp-core-ui select, 
select,
textarea {
    border-color: #ccc !important;
    border-radius: 7px !important;
    color: #666;
    border-radius: 7px;
    line-height: initial;
    max-width: 100%;
    font-weight: 400;
    padding: 10px 20px;
    font-weight: 400;
}
.wp-core-ui select, 
select {
    border-color: #ccc !important;
    border-radius: 7px !important;
    color: #666;
    border-radius: 7px;
    line-height: initial;
    max-width: 100%;
    font-weight: 400;
    padding: 10px 25px 10px 10px;
    font-weight: 400;
}
.ui-dialog.ui-widget.ui-widget-content.wpd-dialog {
    padding: 40px 25px;
    border-radius: 15px;
}
#wpd-ai-settings thead td {
    font-size: 13px;
}
 #menu-management .menu-edit, #menu-settings-column .accordion-container, .comment-ays, .feature-filter, .imgedit-group, .manage-menus, .menu-item-handle, .popular-tags, .stuffbox, .widget-inside, .widget-top, .widgets-holder-wrap, .wp-editor-container, p.popular-tags, table.widefat {
    border-color: #e6e6e6;
    border-radius: 7px;
}
.postbox {
    position: relative;
    min-width: 255px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 5px 10px 0px rgba(0,0,0,.05);
    background: #fff;
    border-radius: 7px;
}


.postbox, .stuffbox {
    margin-bottom: 50px;
    padding: 0;
    line-height: 1;
    overflow: hidden;
}
.js .postbox .handlediv .toggle-indicator:before {
    margin-top: 20px;
}
.postbox .inside h2, .wrap [class$=icon32]+h2, .wrap h1, .wrap>h2:first-child {
    font-size: 28px;
    font-weight: 600;
    margin-top: 50px;
}
.metabox-holder .postbox>h3, .metabox-holder .stuffbox>h3, .metabox-holder h2.hndle, .metabox-holder h3.hndle {
    padding: 20px 20px;
    border-bottom-color: #e6e6e6;
}
#woocommerce_dashboard_status .wc_status_list li a {
    padding: 20px 12px;
}
#activity-widget #the-comment-list .avatar {
    display: inline-block;
    position: unset;
    float: left;
    padding-right: 20px;
}
#activity-widget #the-comment-list .comment-item {
    background: white;
    border-bottom: solid 1px #e6e6e6;
}
.widefat td, 
.widefat th,
.widefat tbody th.check-column, 
.updates-table tbody td.check-column, 
.widefat tbody th.check-column, 
.widefat tfoot td.check-column, 
.widefat thead td.check-column {
    padding: 30px 10px;
    background: transparent;
    border-bottom: solid 1px #eaeaea;
}
table.wp-list-table.widefat.fixed.striped.posts {
    border-radius: 7px !important;
    overflow: hidden;
}
table.wp-list-table.widefat {
    border-radius: 7px !important;
    overflow: hidden;
    box-shadow: 0 5px 10px 0px rgba(0,0,0,.05);
    margin-top: 20px;
    margin-bottom: 20px;
}
#poststuff .stuffbox>h3, #poststuff h2, #poststuff h3.hndle {
    font-size: 14px;
    padding: 20px;
    margin: 0;
    line-height: 1.4;
}
#poststuff .inside {
    margin: 6px 0 0 0;
    margin: 0px;
    padding: 20px !important;
}
#titlediv #title {
    height: unset;
    padding: 20px;
}
#titlediv #title-prompt-text {
    padding: 20px;
    line-height: initial;
}
fieldset {
    border-radius: 7px;
    border-color: #e6e6e6 !important;
}
div#wpseo-metabox-root div {
    border-color: #e6e6e6 !important;
}
.misc-pub-section {
    padding: 10px 0px;
}
#major-publishing-actions {
    background: white;
}
#post-status-info {
    background: white;
    border-color: #e6e6e6 !important;
    padding: 20px;
    border-radius: 7px;
    box-shadow: none !important;
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
}
div#postdivrich {
    margin-top: 30px;
}
.wpd-toggle-trigger {
    cursor: pointer;
}
.wpd-order-summary .wpd-toggle * {
    opacity: .8;
    font-size: 95%;
}
.wpd-toggle-trigger .dashicons {
    font-size: 90% !important;
    vertical-align: initial;
}
.wpd-jquery-datepicker {
    width: 175px;
}
span.wpd-quick-select-date {
    display: inline-block;
    background: #f6f6f6;
    border: solid 1px #ccc;
    border-radius: 4px;
    padding: 0px 4px;
    font-size: 12px;
    color: #858585;
    cursor: pointer;
}
.wpd-quick-select-dates {
    display: flex;
    gap: 5px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}
span.wpd-quick-select-date:hover {
    color: #363636;
    border-color: #363636;
    transition: all .1s ease-in-out;
}
span.wpd-quick-select-date.selected {
    background: #caedfb;
    border-color: #03aaed;
    color: #03aaed;
}
.wpd-date-filters {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 5px;
    flex-wrap: wrap;
}
span.wpd-date-picker-input {
    position: relative;
    display: flex;
    align-items: center;
}
span.wpd-date-picker-input > input {
    margin: 0px;
}
span.wpd-date-picker-input::after {
    content: "\f508";
    font-weight: 500;
    font-family: 'dashicons';
    position: absolute;
    right: 10px;
    display: flex;
    font-size: 16px;
    opacity: .75;
    cursor: pointer;
    transition: all .1s ease-in-out;
}
span.wpd-date-picker-input:hover::after {
    opacity: 1;
}
.ui-datepicker-title {
    display: flex;
    justify-content: center;
    gap: 5px;
}
.ui-datepicker-title > * {
    flex: 1;
}
.ui-datepicker.wpd {
    border-radius: 7px;
}
.wpd-date-filters > * {
    flex: 1;
    margin: 0px;
}
.wpd-license-action {
    vertical-align: middle !important;
    margin-left: 10px !important;
}
.ui-widget-overlay.ui-front {
    z-index: 99 !important;
}
.ui-dialog.ui-widget.ui-widget-content.wpd-dialog {
    z-index: 999999999999 !important;
}
.wpd-dialog.ui-dialog .ui-dialog-content {
    width: 100% !important;
    max-height: 60vh !important;
    overflow: auto !important;
}
.sessions-table tbody tr:hover td {
    background: #f7f7f7 !important;
}
.sessions-table .wpd-tooltip {
    display: block;
}
.wpd-dialog .ui-button-icon-only .ui-icon.ui-icon-closethick {
    margin: 0px !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}
.wpd-dialog.ui-dialog .ui-dialog-title {
    font-weight: 600;
    font-size: 24px;
    line-height: initial;
    margin-bottom: 20px;
}
span.wpd-ai-menu-item-container {
    position: relative;
    display: inline-block;
}
span.wpd-ai-menu-item-container:hover .wpd-ai-dropdown-submenu {
    display: block;
}
ul.wpd-ai-dropdown-submenu {
    position: absolute;
    top: 45px;
    width: 250px;
    margin: 0px;
    background: white;
    border: solid 1px #eaeaea;
    border-radius: 3px;
    z-index: 99999;
    display: none;
}
ul.wpd-ai-dropdown-submenu a {
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    border-bottom: solid 1px #eaeaea;
    display: block;
    padding: 15px 10px;
    margin: 0px;
    color: #666;
}
ul.wpd-ai-dropdown-submenu li {
    margin: 0px;
}
ul.wpd-ai-dropdown-submenu a:hover {
    background: #f7f7f7;
    color: black;
}
ul.wpd-ai-dropdown-submenu li:last-child a {
    border: none;
}
table.wpd-table-wrap.wpd-overview-grid td {
    width: 25%;
}
.wpd-filter-wrapper select {
    width: 100%;
    max-width: 250px !important;
}
select.wpd-input.change-time-display {
    width: initial;
}
a.wpd-api-connection-button {
    background: #1877F2;
    color: white;
    text-decoration: none;
    padding: 11px 30px;
    display: inline-block;
    border-radius: 7px;
    font-weight: 600;
    font-size: 13px;
    border: none;
}
a.wpd-api-connection-button:hover {
    background: #0c61cf;
}
input#delete-api-connection, .delete-api-connection {
    background: red;
    color: white !important;
    text-decoration: none;
    padding: 11px 30px;
    display: inline-block;
    border-radius: 7px;
    font-weight: 600;
    font-size: 13px;
    border: none;
}
input#delete-api-connection:hover, 
.delete-api-connection:hover {
    background: #d90000
}
select.ad-account-selection {
    width: 100%;
    padding: 20px;
    margin-bottom: 20px;
}
a#save-fb-ad-account-details {
    display: block;
    text-align: center;
}
a#wpd-refresh-facebook-api-data-modal {
    display: block;
    text-align: center;
    margin-top: 20px;
}
span.wpd-colour-box {
    background-color: #eaeaea;
    width: 12px;
    height: 12px;
    display: inline-block;
    border-radius: 20px;
    margin-right: 5px;
}
.wp-core-ui .button.active, .wp-core-ui .button.active:hover {
    background: #0e98e2;
    color: white;
}

.floatThead-container {
    transition: all .1s ease-in-out;
    border-top-right-radius: 7px;
    border-top-left-radius: 7px;
    background: white;
}
.wpd-table-header-scrolled {
    box-shadow: -5px 2px 15px 0px #00000026;
    background: white;
}
.floatThead-wrapper {
    overflow: hidden;
}
.floatThead-table {
    border-bottom-right-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}
.wpd-debug-container {
    background:white; 
    padding: 10px; 
    border: solid 1px #eaeaea; 
    margin: 20px 0px; 
    border-radius: 5px; 
    text-align: left;
    position: relative;
}
.wpd-debug-container span.wpd-delete-log {
    position: absolute;
    right: 10px;
    color: red;
    cursor: pointer;
    opacity: .5;
}
.wpd-debug-container span.wpd-delete-log:hover {
    opacity: 1;
}
.wpd-debug-container span.wpd-download-log {
    position: absolute;
    left: 10px;
    color: #138fdd;
    cursor: pointer;
    opacity: .5;
}
.wpd-debug-container span.wpd-download-log:hover {
    opacity: 1;
}
.wpd-debug-container h2 {
    text-align: center;
}
.wpd-debug-container pre {
    max-height: 300px;
    overflow-y: auto;
    background: #f7f7f7;
    padding: 20px;
}
.wpd-toggle-campaign-orders {
    color: #138fdd;
    text-decoration: underline;
    cursor: pointer;
}
tr.wpd-campaign-order td {
    padding: 5px 15px;
    opacity: .9;
    background: #f0f8ff;
}
tr.wpd-campaign-order:hover td {
    background: #def0ff;
}
.wpd-table th.wpd-sortable:hover {
    background: #f7f7f7;
}
.wpd-table th.wpd-sortable {
    cursor: pointer;
}
.wpd-table th.wpd-sortable::after {
    content: "\f347";
    font-family: 'Dashicons';
    color: #03abee;
    font-weight: 900;
    font-size: 14px;
    vertical-align: bottom;
    margin-left: 5px;
}
.wpd-table th.wpd-sortable.asc::after {
    content: "\f343";
}
.wpd-table th.wpd-sortable.active {
    border-bottom: solid 3px #03abee;
}
.wpd-table tbody tr:hover {
    background: #f7f7f7;
}
tr.wpd-table-row {
    background: white !important;
}
tr.wpd-table-row td, tr.wpd-table-row th {
    border-bottom: solid 1px #eaeaea;
}
.wpd-table {
    margin-bottom: 20px;
}
table.wpd-table th {
    font-weight: 500;
}

table.wpd-table th, table.wpd-table td {
    border-bottom: solid 1px #eaeaea;
}
table.wpd-table th, table.wpd-table td {
    vertical-align: middle;
}
tr.wpd-table-row td {
    vertical-align: middle;
}
.wpd-table input::placeholder {
    opacity: .5;
}
.wpd-table .wpd-narrow-table-row td, 
.wpd-table .wpd-narrow-table-row th {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 25px;
    padding-right: 25px;
}
.wpd-data-point {
    display: inline-block;
    background: #f6f6f6;
    border: solid 1px #ccc;
    border-radius: 4px;
    padding: 2px 10px;
    font-size: 12px;
    color: #858585;
    cursor: pointer;
    margin-top: 10px;
    margin-right: 5px;
}
.wpd-data-point .wpd-x {
    font-weight: 600;
}
.wpd-data-point:hover {
    border-color: red;
    background: #ffa2a2;
    color: red;
}
.wpd-paginated-links > .page-numbers {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    margin-top: 8px;
    margin-bottom: 0px;
}
.wpd-paginated-links > .page-numbers > li > .page-numbers {
    font-size: 15px;
    padding: 5px;
}
.wpd-paginated-links .page-numbers .next, 
.wpd-paginated-links .page-numbers .prev {
    background: #f7f7f7;
    border-radius: 7px;
    display: inline-block;
    padding: 5px 10px !important;
    color: #262626;
    font-weight: 500;
    border: solid 1px #eaeaea;
    font-size: 12px !important;
}
.wpd-paginated-links > .page-numbers > li > a.page-numbers {
    color: #099fe7;
    text-decoration: underline;
}
.wpd-pagination-container {
    display: flex;
    gap: 25px;
    flex-direction: row;
}
.wpd-items-per-page input.wpd-input {
    margin: 0px;
    margin-right: 5px;
}
.wpd-items-per-page .pagination-summary {
    margin-top: 5px;
    opacity: .7;
}


@media( max-width: 600px ) {
    .wrap, #contextual-help-wrap, #screen-options-wrap {
        padding: 0px 10px;
    }
    [class*="wpd-col-"] {
        width: 100%;
    }
    table.wpd-table-wrap table, 
    table.wpd-table-wrap tbody, 
    table.wpd-table-wrap tr, 
    table.wpd-table-wrap td, 
    table.wpd-table-wrap th {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
        overflow-wrap: break-word;
        word-break: break-word;
    }
    table.wpd-table-wrap td {
        margin-bottom: 5px;
        text-align: center;
    }
    .wpd-filter-wrapper {
        width: 100% !important;
    }
    .wpd-filter-wrapper, .wpd-filter-wrapper select, .wpd-filter-wrapper input {
        width: 100%;
        max-width: unset !important;
    }
    .wpd-filter table.fixed {
        width: 100%;
    }
}
.wpd-quick-select-dates * {
    flex: 1;
    white-space: nowrap;
    text-align: center;
}
.wpd-date-filters span input {
    width: 100%;
    min-width: 150px;
}
.wpd-product-display {
    display: grid;
    grid-template-columns: 80px 1fr;
    align-items: center;
}
.wpd-subtext {
    font-size: 90%;
    opacity: .6;
}
.wpd-product-info-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 200px;
}
.wpd-product-info-wrapper > * {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.wpd-product-info-wrapper > a {
    text-decoration: none;
    color: inherit;
}
.wpd-product-info-wrapper > a:hover {
    color: #138fdd;
}
.wpd-new-feature {
    background: linear-gradient(-180deg, #04a9ed 0%, #0e79bd 100%);
    color: white;
    border-radius: 5px;
    display: inline-block;
    line-height: initial;
    padding: 2px 10px;
    margin: 0px 0px 5px 5px;
    vertical-align: middle;
}
@media( max-width: 1280px ) {
    .wp-admin .wrap, #contextual-help-wrap, #screen-options-wrap, .woocommerce-embed-page .wrap, .woocommerce-page .wrap {
        margin: 0px;
        padding: 0px 20px;
    }
    a.dwc-nav-tab, a.wpd-nav-tab {
        font-size: 13px;
        padding: 12px;
    }
    ul.dwc-sub-menu li a, ul.wpd-sub-menu li a {
        padding: 10px;
        font-size: 11px;
    }
    span.product-subtitle {
        font-size: 9px;
    }
}

/* Product Variation Attribute Badges */
.wpd-product-variation-attributes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.wpd-product-variation-attribute {
    display: inline-flex;
    align-items: center;
    padding: 2px 5px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 10px;
    font-weight: 500;
    border-radius: 5px;
    border: 1px solid #d1d5db;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.wpd-product-variation-attribute:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
    color: #374151;
}

/* ==========================================
   Documentation Modal Styles
   ========================================== */

/* Modal Overlay */
.wpd-docs-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wpd-docs-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Container */
.wpd-docs-modal {
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    overflow: hidden;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.wpd-docs-modal-overlay.active .wpd-docs-modal {
    transform: scale(1);
    opacity: 1;
}

/* Left Side - Brand Panel with Gradient */
.wpd-docs-modal-brand {
    width: 400px;
    max-width: 400px;
    min-width: 300px;
    background: linear-gradient(135deg, #00aff0 0%, #1786d8 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.wpd-docs-modal-brand::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/Alpha-Insights-Sidebar-Graphic-Background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.05;
    z-index: 1;
}

.wpd-docs-modal-brand::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 40%, transparent 70%);
    animation: wpdPulse 8s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

.wpd-docs-brand-logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.wpd-docs-brand-logo-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wpd-docs-brand-logo-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.wpd-docs-brand-logo-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wpd-docs-brand-title {
    color: #1f2937;
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
}

.wpd-docs-brand-subtitle {
    color: #6b7280;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.2;
}

/* Support Card */
.wpd-docs-support-card {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Separator */
.wpd-docs-support-separator {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #e5e7eb 20%, #e5e7eb 80%, transparent);
    margin: 20px 0;
}

/* Support Items Container */
.wpd-docs-support-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wpd-docs-support-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.wpd-docs-support-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 8px;
    color: #00aff0;
    transition: all 0.2s ease;
}

.wpd-docs-support-item:hover .wpd-docs-support-icon {
    background: #00aff0;
    color: #ffffff;
}

.wpd-docs-support-content {
    flex: 1;
    min-width: 0;
}

.wpd-docs-support-link {
    text-decoration: none;
    display: block;
}

.wpd-docs-support-link:hover {
    text-decoration: none;
}

.wpd-docs-support-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 4px 0;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.wpd-docs-support-link:hover .wpd-docs-support-title {
    color: #00aff0;
}

.wpd-docs-support-text {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

/* Upgrade CTA for Free Version */
.wpd-docs-upgrade-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    border: 1px solid #bae6fd;
}

.wpd-docs-upgrade-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00aff0 0%, #1786d8 100%);
    border-radius: 12px;
    color: #ffffff;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 175, 240, 0.3);
}

.wpd-docs-upgrade-icon svg {
    width: 24px;
    height: 24px;
}

.wpd-docs-upgrade-content {
    width: 100%;
}

.wpd-docs-upgrade-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.wpd-docs-upgrade-text {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.wpd-docs-upgrade-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #00aff0 0%, #1786d8 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 175, 240, 0.3);
}

.wpd-docs-upgrade-button:hover {
    background: linear-gradient(135deg, #1786d8 0%, #00aff0 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 175, 240, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.wpd-docs-upgrade-button svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Right Side - Documentation Content */
.wpd-docs-modal-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    position: relative;
}

/* Header with Close Button */
.wpd-docs-modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
}

.wpd-docs-modal-title {
    font-size: 22px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.wpd-docs-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #6b7280;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
}

.wpd-docs-modal-close:hover {
    background: #f3f4f6;
    color: #1f2937;
}

/* Search Bar */
.wpd-docs-search-container {
    padding: 20px 30px;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.wpd-docs-search-input {
    width: 100%;
    padding: 12px 16px 12px 40px !important;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%236b7280" stroke-width="2"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.35-4.35"/></svg>');
    background-repeat: no-repeat;
    background-position: 12px center;
    background-size: 16px;
}

.wpd-docs-search-input:focus {
    outline: none;
    border-color: #00aff0;
    box-shadow: 0 0 0 3px rgba(0, 175, 240, 0.1);
}

/* Main Content Area */
.wpd-docs-modal-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Sidebar */
.wpd-docs-sidebar {
    width: 280px;
    border-right: 1px solid #e5e7eb;
    overflow-y: auto;
    background: #f9fafb;
}

.wpd-docs-sidebar-nav {
    padding: 20px 0;
}

.wpd-docs-folder,
.wpd-docs-item {
    margin-bottom: 4px;
}

.wpd-docs-folder-header {
    padding: 10px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
    color: #374151;
    transition: all 0.2s ease;
}

.wpd-docs-folder-header:hover {
    background: #f3f4f6;
    color: #1786d8;
}

.wpd-docs-folder-name {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wpd-docs-folder-icon {
    font-size: 16px;
}

.wpd-docs-folder-toggle {
    font-size: 14px;
    transition: transform 0.2s ease;
    color: #1786d8;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(0deg);
    transform-origin: center center;
}

.wpd-docs-folder-toggle::before {
    content: '\f345';
    font-family: dashicons;
    display: inline-block;
    font-weight: 400;
    line-height: 1;
}

.wpd-docs-folder.open > .wpd-docs-folder-header .wpd-docs-folder-toggle {
    transform: rotate(90deg);
}

.wpd-docs-folder-items {
    padding-left: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.wpd-docs-folder.open > .wpd-docs-folder-items {
    max-height: 2000px;
}

.wpd-docs-item-link {
    display: block;
    padding: 8px 20px;
    color: #4b5563;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    box-shadow: none !important;
    outline: none !important;
}

.wpd-docs-item-link:hover {
    background: #f3f4f6;
    color: #1786d8;
    transform: translateX(4px);
}

.wpd-docs-item-link.active {
    background: #e0f2fe;
    color: #1786d8;
    font-weight: 600;
    border-left: 3px solid #1786d8;
    outline: none;
    box-shadow: none;
}

/* Content Viewer */
.wpd-docs-viewer {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 40px;
    background: #ffffff;
    max-width: 100%;
}

.wpd-docs-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #6b7280;
}

.wpd-docs-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e5e7eb;
    border-top-color: #1786d8;
    border-radius: 50%;
    animation: wpdSpin 0.8s linear infinite;
    margin-bottom: 16px;
}

.wpd-docs-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #9ca3af;
    text-align: center;
}

.wpd-docs-empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* Documentation Content Styles */
.wpd-docs-content {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.wpd-docs-content h2 {
    font-size: 28px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
}

.wpd-docs-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #374151;
    margin: 28px 0 16px 0;
}

.wpd-docs-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #374151
    margin: 20px 0 12px 0;
}

.wpd-docs-content p {
    line-height: 1.7;
    color: #4b5563;
    margin: 0 0 16px 0;
}

.wpd-docs-content ul,
.wpd-docs-content ol {
    margin: 0 0 16px 0;
    padding-left: 24px;
}

.wpd-docs-content li {
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 8px;
}

.wpd-docs-content ul li {
    list-style: disc;
}

.wpd-docs-content ol li {
    list-style: decimal;
}

.wpd-docs-content a {
    color: #1786d8;
    text-decoration: none;
    font-weight: 500;
}

.wpd-docs-content a:hover {
    text-decoration: underline;
}

.wpd-docs-content code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #dc2626;
}

.wpd-docs-content pre {
    background: #1f2937;
    color: #f9fafb;
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 0 0 16px 0;
    max-width: 100%;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.wpd-docs-content pre code {
    background: none;
    padding: 0;
    color: #f9fafb;
    white-space: pre-wrap;
    word-break: break-all;
}

.wpd-docs-content strong {
    font-weight: 600;
    color: #1f2937;
}

/* Tables */
.wpd-docs-content table {
    width: 100%;
    max-width: 100%;
    margin: 0 0 16px 0;
    border-collapse: collapse;
    overflow-x: auto;
    display: block;
}

.wpd-docs-content table th,
.wpd-docs-content table td {
    padding: 12px;
    border: 1px solid #e5e7eb;
    text-align: left;
    word-wrap: break-word;
}

.wpd-docs-content table th {
    background: #f9fafb;
    font-weight: 600;
    color: #1f2937;
}

/* Images */
.wpd-docs-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 16px 0;
}

/* Blockquotes */
.wpd-docs-content blockquote {
    max-width: 100%;
    padding: 12px 20px;
    margin: 0 0 16px 0;
    border-left: 4px solid #1786d8;
    background: #f9fafb;
    color: #4b5563;
}

/* No Results Message */
.wpd-docs-no-results {
    padding: 40px;
    text-align: center;
    color: #6b7280;
}

/* Search Results Styling */
.wpd-docs-search-results {
    padding: 30px;
    max-width: 900px;
}

.wpd-docs-search-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.wpd-docs-search-header h2 {
    font-size: 28px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 8px 0;
}

.wpd-docs-search-header p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.wpd-docs-search-result {
    margin-bottom: 32px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.wpd-docs-search-result:hover {
    border-color: #00aff0;
    box-shadow: 0 4px 12px rgba(0, 175, 240, 0.1);
    transform: translateY(-2px);
}

.wpd-docs-search-result-title {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 600;
}

.wpd-docs-search-result-title a {
    color: #1786d8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wpd-docs-search-result-title a:hover {
    color: #00aff0;
    text-decoration: underline;
}

.wpd-docs-search-snippets {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wpd-docs-search-snippet {
    line-height: 1.6;
    color: #4b5563;
    font-size: 14px;
    padding: 12px 16px;
    background: #f9fafb;
    border-left: 3px solid #00aff0;
    border-radius: 4px;
}

/* Highlighted search term */
.wpd-docs-search-snippet mark,
.wpd-docs-search-result-title mark {
    background-color: #fef08a !important;
    padding: 2px 4px;
    border-radius: 2px;
    font-weight: 600;
    color: #1f2937;
}

/* Responsive adjustments for search results */
@media (max-width: 768px) {
    .wpd-docs-search-results {
        padding: 20px;
    }
    
    .wpd-docs-search-result {
        padding: 16px;
    }
    
    .wpd-docs-search-header h2 {
        font-size: 22px;
    }
    
    .wpd-docs-search-result-title {
        font-size: 18px;
    }
}

/* Animations */
@keyframes wpdSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes wpdPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.3) rotate(180deg);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .wpd-docs-modal-brand {
        width: 320px;
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .wpd-docs-modal {
        flex-direction: column;
    }
    
    .wpd-docs-modal-brand {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        height: auto;
        padding: 30px 20px;
    }
    
    .wpd-docs-brand-logo-row {
        gap: 8px;
    }
    
    .wpd-docs-brand-logo-icon {
        width: 50px;
        height: 50px;
    }
    
    .wpd-docs-brand-title {
        font-size: 26px;
    }
    
    .wpd-docs-brand-subtitle {
        font-size: 12px;
    }
    
    .wpd-docs-modal-content {
        width: 100%;
    }
    
    .wpd-docs-sidebar {
        width: 240px;
    }
    
    .wpd-docs-viewer {
        padding: 20px;
    }
}
/* ul.wpd-sub-menu li a.wpd-sub-menu-item.wpd-pro-menu-item::before,
li.wpd-drop-down-menu-item.wpd-pro-menu-item a::before,
a.wpd-nav-tab.nav-tab.wpd-pro-menu-item::before {
    content: "\f160";
    font-family: 'dashicons';
    color: #a1a3a5;
    color: #03abee;
    display: inline-block;
    margin-right: 2px;
    vertical-align: middle;
    font-weight: 400;
} */
a.wpd-pro-menu-item::after, 
.wpd-drop-down-menu-item.wpd-pro-menu-item a::after {
    content: 'Pro Feature';
    display: block;
    position: absolute;
    font-size: 75%;
    opacity: .65;
    bottom: 0px;
}
.wpd-pro-menu-item {
    position: relative;
}
.wpd-debug-output td {
    padding: 0px;
}
.wpd-debug-log-wrapper {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: stretch;
    column-gap: 15px;
    align-content: center;
}
.wpd-debug-log-option {
    border-bottom: solid 1px #eaeaea;
    cursor: pointer;
    flex: 1;
    align-content: center;
    padding: 15px;
}
.wpd-debug-log-option:hover {
    background-color: #f7f7f7;
}
.wpd-debug-log-option:hover, .wpd-debug-log-option.active {
    color: #03abee;
}
.wpd-debug-log-output {
    display: none;
}
.wpd-debug-log-output.active {
    display: block;
}
.wpd-debug-log-options {
    border-top: solid 1px #eaeaea;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    max-height: 500px;
    overflow-y: auto;
}
.wpd-debug-log-output .wpd-debug-container {
    margin: 0px;
    border: none;
}
.wpd-debug-log-output-container {
    align-content: center;
}
.wpd-sub-row {
    background-color: #f9f9f9;
}
.wpd-sub-row:hover {
    background-color: #f0f0f0;
}
.wpd-entity-row-expandable {
    cursor: pointer;
}
.wpd-entity-row-expandable:hover {
    background-color: #f7f7f7;
}
.wpd-toggle-icon {
    color: #2271b1;
    transition: transform 0.2s;
}
.wpd-entity-row-expandable.expanded .wpd-toggle-icon {
    transform: rotate(180deg);
}
.wpd-entity-row-expandable .button {
    cursor: pointer;
}
.wpd-sub-row td {
    width: auto;
}
.wpd-sub-row td:first-child {
    width: 30%;
}
.wpd-sub-row td:nth-child(2) {
    width: 40%;
}
.wpd-sub-row td:nth-child(3) {
    width: 15%;
}
.wpd-sub-row td:nth-child(4) {
    width: 15%;
}

/* Integrations Manager Grid */
.wpd-integrations-browser {
    display: flex;
    gap: 0;
    margin-top: 16px;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.wpd-integrations-sidebar {
    width: 220px;
    min-width: 220px;
    padding: 20px 0;
    border-right: 1px solid #e8e8e8;
    background: #f9fafb;
}
.wpd-integrations-search {
    padding: 0 16px 16px;
}
.wpd-integrations-search-input {
    width: 100%;
    padding: 10px 12px 10px 40px !important;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%239ca3af' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E") no-repeat 12px center;
    background-size: 16px;
}
.wpd-integrations-search-input:focus {
    border-color: var(--alpha-primary, #138fdd);
    outline: none;
    box-shadow: 0 0 0 2px rgba(19, 143, 221, 0.15);
}
.wpd-integrations-tabs {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.wpd-integrations-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 16px;
    border: none;
    background: transparent;
    font-size: 14px;
    text-align: left;
    color: #4b5563;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.wpd-integrations-tab:hover {
    background: rgba(0, 0, 0, 0.04);
    color: #1f2937;
}
.wpd-integrations-tab-active {
    background: #fff !important;
    color: var(--alpha-primary, #138fdd) !important;
    font-weight: 600;
    box-shadow: -2px 0 0 var(--alpha-primary, #138fdd) inset;
}
.wpd-integrations-tab-count {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 400;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(0, 0, 0, 0.06);
}
.wpd-integrations-tab-active .wpd-integrations-tab-count {
    color: var(--alpha-primary, #138fdd);
    background: rgba(19, 143, 221, 0.12);
}
.wpd-integrations-content {
    flex: 1;
    padding: 24px;
    overflow: auto;
}
.wpd-integrations-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}
.wpd-integrations-header-actions .button {
    margin-left: 0;
}
.wpd-integrations-manager .wpd-integrations-grid-wrapper {
    margin-bottom: 0;
}
.wpd-integrations-grid-title {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}
.wpd-integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 12px;
}
.wpd-integration-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 220px;
    padding: 52px 24px 24px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.25s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.wpd-integration-card:hover {
    border-color: var(--alpha-primary, #138fdd);
    box-shadow: 0 8px 24px rgba(19, 143, 221, 0.12);
    transform: translateY(-2px);
}
.wpd-integration-card-active {
    border-color: var(--alpha-primary, #138fdd);
    border-width: 2px;
    background: linear-gradient(180deg, #f8fcff 0%, #fff 100%);
    box-shadow: 0 8px 24px rgba(19, 143, 221, 0.15);
}
.wpd-integration-card-enabled .wpd-integration-badge-enabled {
    background: var(--alpha-success, #28a745);
    color: #fff;
}
.wpd-integration-card-pro .wpd-integration-badge-pro {
    background: var(--alpha-secondary, #8467d6);
    color: #fff;
}
.wpd-integration-card-disabled .wpd-integration-badge-disabled {
    background: #6c757d;
    color: #fff;
}
.wpd-integration-card-status {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}
.wpd-integration-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.wpd-integration-badge-enabled {
    background: #d4edda;
    color: #155724;
}
.wpd-integration-badge-disabled {
    background: #e9ecef;
    color: #6c757d;
}
.wpd-integration-badge-pro {
    background: #e7e1f5;
    color: #5a4a9e;
}
.wpd-integration-badge-pro-blocked {
    background: var(--alpha-secondary, #8467d6);
    color: #fff;
}
.wpd-integration-badge-pro-unlocked {
    background: #e7e1f5;
    color: #5a4a9e;
}
.wpd-integration-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    min-height: 80px;
}
.wpd-integration-card-logo-img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    border-radius: 8px;
}
.wpd-integration-card-logo-icon {
    font-size: 72px;
    width: 72px;
    height: 72px;
    color: #9ca3af;
}
.wpd-integration-card-label {
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    margin-bottom: 8px;
    color: #1f2937;
}
.wpd-integration-card-description {
    display: block;
    font-size: 13px;
    color: #6b7280;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 16px;
    flex-grow: 1;
}
.wpd-integration-card-action {
    display: inline-block;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--alpha-primary, #138fdd);
    background: rgba(19, 143, 221, 0.08);
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}
.wpd-integration-card:hover .wpd-integration-card-action {
    background: rgba(19, 143, 221, 0.14);
    color: var(--alpha-primary, #138fdd);
}
.wpd-integration-placeholder {
    padding: 32px;
    background: #f8f9fa;
    border-radius: var(--alpha-border-radius-md, 8px);
    text-align: center;
    color: #6c757d;
}

/* Native support plugins (list view only) */
.wpd-native-support-plugins-wrapper {
    display: block;
    margin-top: 24px;
    padding: 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--alpha-border-radius-md, 8px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: hidden;
}
.wpd-native-support-plugins-title {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--alpha-dark, #1a1a1a);
}
.wpd-native-support-plugins-intro {
    margin: 0 0 20px 0;
    font-size: 14px;
    color: var(--alpha-gray, #666);
    line-height: 1.5;
}
.wpd-native-support-plugins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: 16px;
    min-width: 0;
}
.wpd-native-support-plugin-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: var(--alpha-border-radius-md, 8px);
    overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.wpd-native-support-plugin-card:hover {
    border-color: rgba(19, 143, 221, 0.35);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.wpd-native-support-plugin-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
}
.wpd-native-support-plugin-card-logo {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    overflow: hidden;
}
.wpd-native-support-plugin-card-logo-link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wpd-native-support-plugin-card-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.wpd-native-support-plugin-card-logo-placeholder {
    color: #adb5bd;
}
.wpd-native-support-plugin-card-logo-placeholder .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
}
.wpd-native-support-plugin-card-body {
    flex: 1;
    min-width: 0;
}
.wpd-native-support-plugin-card-label {
    margin: 0 0 6px 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}
.wpd-native-support-plugin-card-label a {
    color: var(--alpha-primary, #138fdd);
    text-decoration: none;
}
.wpd-native-support-plugin-card-label a:hover {
    text-decoration: underline;
}
.wpd-native-support-plugin-card-description {
    margin: 0 0 8px 0;
    font-size: 13px;
    color: var(--alpha-gray, #666);
    line-height: 1.45;
}
.wpd-native-support-plugin-card-author {
    margin: 0 0 6px 0;
    font-size: 12px;
    color: #6c757d;
}
.wpd-native-support-plugin-card-author a {
    color: var(--alpha-primary, #138fdd);
    text-decoration: none;
}
.wpd-native-support-plugin-card-author a:hover {
    text-decoration: underline;
}
.wpd-native-support-plugin-card-docs {
    margin: 0;
    font-size: 12px;
}
.wpd-native-support-plugin-card-docs-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--alpha-primary, #138fdd);
    text-decoration: none;
}
.wpd-native-support-plugin-card-docs-link:hover {
    text-decoration: underline;
}
.wpd-native-support-plugin-card-docs-link .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.wpd-integration-settings-wrapper {
    margin-top: 16px;
}
.wpd-integration-pro-upsell {
    padding: 32px;
    background: #f8f9fa;
    border-radius: var(--alpha-border-radius-md, 8px);
    border-left: 4px solid var(--alpha-secondary, #8467d6);
}

/* Pro upsell modal-style (integrations page) – matches React ProUpsellModal, natural fit on page */
.wpd-integration-pro-upsell.wpd-pro-upsell-modal-style,
.wpd-pro-upsell-modal-font {
    font-family: var(--alpha-font-family);
}
.wpd-integration-pro-upsell.wpd-pro-upsell-modal-style {
    padding: 0;
    margin: 0;
    max-width: none;
    border: none;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
}

.wpd-integration-pro-upsell.wpd-pro-upsell-modal-style .wpd-integration-pro-upsell-content {
    max-width: 100%;
    text-align: center;
}

.wpd-integration-pro-upsell.wpd-pro-upsell-modal-style .wpd-pro-upsell-modal-icon {
    margin-bottom: 24px;
}

.wpd-integration-pro-upsell.wpd-pro-upsell-modal-style .wpd-pro-upsell-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(19, 143, 221, 0.1) 0%, rgba(19, 143, 221, 0.2) 100%);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(19, 143, 221, 0.25);
    margin: 0 auto;
    border: 2px solid rgba(19, 143, 221, 0.2);
    color: var(--alpha-primary, #138fdd);
}

.wpd-integration-pro-upsell.wpd-pro-upsell-modal-style .wpd-integration-pro-upsell-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--alpha-dark, #1a1a1a);
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.wpd-integration-pro-upsell.wpd-pro-upsell-modal-style .wpd-integration-pro-upsell-intro {
    font-size: 15px;
    color: var(--alpha-gray, #666);
    line-height: 1.55;
    margin: 0 auto 24px;
    max-width: 480px;
}

.wpd-integration-pro-upsell.wpd-pro-upsell-modal-style .wpd-integration-pro-upsell-comparison {
    margin: 24px 0;
    overflow-x: auto;
    text-align: left;
}

.wpd-integration-pro-upsell.wpd-pro-upsell-modal-style .wpd-pro-comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.wpd-integration-pro-upsell.wpd-pro-upsell-modal-style .wpd-pro-comparison-table thead {
    background: linear-gradient(135deg, var(--alpha-primary, #138fdd) 0%, rgba(19, 143, 221, 0.9) 100%);
    color: #ffffff;
}

.wpd-integration-pro-upsell.wpd-pro-upsell-modal-style .wpd-pro-comparison-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wpd-integration-pro-upsell.wpd-pro-upsell-modal-style .wpd-comparison-feature-col {
    width: 60%;
}

.wpd-integration-pro-upsell.wpd-pro-upsell-modal-style .wpd-comparison-free-col,
.wpd-integration-pro-upsell.wpd-pro-upsell-modal-style .wpd-comparison-pro-col {
    width: 20%;
    text-align: center;
}

.wpd-integration-pro-upsell.wpd-pro-upsell-modal-style .wpd-pro-comparison-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
}

.wpd-integration-pro-upsell.wpd-pro-upsell-modal-style .wpd-pro-comparison-table tbody tr:last-child {
    border-bottom: none;
}

.wpd-integration-pro-upsell.wpd-pro-upsell-modal-style .wpd-pro-comparison-table td {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--alpha-dark, #333);
}

.wpd-integration-pro-upsell.wpd-pro-upsell-modal-style .wpd-comparison-pro-icon {
    color: #2e7d32;
    font-weight: 600;
}

.wpd-integration-pro-upsell.wpd-pro-upsell-modal-style .wpd-integration-pro-upsell-cta {
    margin-top: 28px;
    margin-bottom: 0;
}

.wpd-integration-pro-upsell.wpd-pro-upsell-modal-style .wpd-pro-upsell-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--alpha-primary, #138fdd) 0%, rgba(19, 143, 221, 0.85) 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(19, 143, 221, 0.35);
    text-decoration: none;
}

.wpd-integration-pro-upsell.wpd-pro-upsell-modal-style .wpd-pro-upsell-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(19, 143, 221, 0.45);
    color: #ffffff !important;
    background: linear-gradient(135deg, rgba(19, 143, 221, 0.95) 0%, rgba(15, 123, 184, 0.9) 100%);
}

/* Pro upsell modal – shared styles for React .wpd-pro-upsell-modal (uniform with server-side wpd-pro-upsell-modal-style) */
.wpd-pro-upsell-modal {
    font-family: var(--alpha-font-family);
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    max-width: 640px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid rgba(19, 143, 221, 0.2);
}
.wpd-pro-upsell-modal .wpd-pro-upsell-modal-content {
    padding: 32px;
    text-align: center;
    max-width: 100%;
}
.wpd-pro-upsell-modal .wpd-pro-upsell-modal-icon {
    margin-bottom: 24px;
}
.wpd-pro-upsell-modal .wpd-pro-upsell-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(19, 143, 221, 0.1) 0%, rgba(19, 143, 221, 0.2) 100%);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(19, 143, 221, 0.25);
    margin: 0 auto;
    border: 2px solid rgba(19, 143, 221, 0.2);
    color: var(--alpha-primary, #138fdd);
}
.wpd-pro-upsell-modal .wpd-pro-upsell-icon-wrapper svg {
    width: 48px;
    height: 48px;
}
.wpd-pro-upsell-modal .wpd-pro-upsell-modal-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--alpha-dark-gray, #1a1a1a);
    margin: 0 0 16px 0;
    line-height: 1.3;
}
.wpd-pro-upsell-modal .wpd-pro-upsell-modal-description {
    font-size: 15px;
    color: var(--alpha-gray, #666);
    line-height: 1.55;
    margin: 0 auto 24px;
    max-width: 480px;
}
.wpd-pro-upsell-modal .wpd-pro-upsell-comparison {
    margin: 24px 0;
    overflow-x: auto;
    text-align: left;
}
.wpd-pro-upsell-modal .wpd-pro-comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.wpd-pro-upsell-modal .wpd-pro-comparison-table thead {
    background: linear-gradient(135deg, var(--alpha-primary, #138fdd) 0%, rgba(19, 143, 221, 0.9) 100%);
    color: #ffffff;
}
.wpd-pro-upsell-modal .wpd-pro-comparison-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.wpd-pro-upsell-modal .wpd-comparison-feature-col {
    width: 60%;
}
.wpd-pro-upsell-modal .wpd-comparison-free-col,
.wpd-pro-upsell-modal .wpd-comparison-pro-col {
    width: 20%;
    text-align: center;
}
.wpd-pro-upsell-modal .wpd-pro-comparison-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
}
.wpd-pro-upsell-modal .wpd-pro-comparison-table tbody tr:last-child {
    border-bottom: none;
}
.wpd-pro-upsell-modal .wpd-pro-comparison-table td {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--alpha-dark-gray, #333);
}
.wpd-pro-upsell-modal .wpd-comparison-pro-icon {
    color: #2e7d32;
    font-weight: 600;
}
.wpd-pro-upsell-modal .wpd-pro-upsell-modal-actions {
    margin-top: 28px;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}
.wpd-pro-upsell-modal .wpd-pro-upsell-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--alpha-primary, #138fdd) 0%, rgba(19, 143, 221, 0.85) 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(19, 143, 221, 0.35);
    text-decoration: none;
}
.wpd-pro-upsell-modal .wpd-pro-upsell-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(19, 143, 221, 0.45);
    color: #ffffff !important;
    background: linear-gradient(135deg, rgba(19, 143, 221, 0.95) 0%, rgba(15, 123, 184, 0.9) 100%);
}
.wpd-pro-upsell-modal .wpd-pro-upsell-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.wpd-pro-upsell-modal .wpd-pro-upsell-cta-icon svg {
    width: 20px;
    height: 20px;
}
.wpd-pro-upsell-modal .wpd-pro-upsell-cta-text {
    font-weight: 600;
}
.wpd-pro-upsell-modal .wpd-pro-upsell-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    color: var(--alpha-gray, #666);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}
.wpd-pro-upsell-modal .wpd-pro-upsell-modal-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--alpha-dark-gray, #333);
}
.wpd-pro-upsell-modal .wpd-pro-upsell-modal-close svg {
    width: 20px;
    height: 20px;
}

.wpd-integration-pro-upsell-content {
    max-width: 560px;
}
.wpd-integration-pro-upsell-title {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.25rem;
}
.wpd-integration-pro-upsell-intro {
    margin-bottom: 16px;
    line-height: 1.5;
}
.wpd-integration-pro-upsell-list {
    margin: 0 0 24px 1.5em;
    padding: 0;
    line-height: 1.6;
}
.wpd-integration-pro-upsell-cta {
    margin: 0;
}
.wpd-integration-pro-upsell-cta .button {
    margin-right: 8px;
}