/* ===========================================
   MODERN DOKAN DASHBOARD STYLES
   Clean, minimal, and optimized CSS
   =========================================== */

/* Base Dashboard Styles */
.lite-dashboard,
.dokan-dashboard-wrap {
    background: #ffffff !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    min-height: 100vh;
}

.dokan-dashboard-content {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 2rem 1rem !important;
    display: block !important;
}

/* Force override of default Dokan styles */
.dokan-dashboard-wrap .dokan-dashboard-content {
    background: #ffffff !important;
}

.dokan-dashboard-wrap * {
    box-sizing: border-box;
}

.dokan-dashboard-wrap {
    background: #ffffff !important;
}

.dokan-dashboard-wrap .dokan-dashboard-content {
    background: #ffffff !important;
    color: #111827 !important;
}

.dokan-dashboard-wrap h1,
.dokan-dashboard-wrap h2,
.dokan-dashboard-wrap h3,
.dokan-dashboard-wrap h4,
.dokan-dashboard-wrap h5,
.dokan-dashboard-wrap h6 {
    color: #111827 !important;
    font-weight: 600 !important;
}

.dokan-dashboard-wrap .dokan-btn,
.dokan-dashboard-wrap button,
.dokan-dashboard-wrap input[type="submit"] {
    background: #000000 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

.dokan-dashboard-wrap .dokan-btn:hover,
.dokan-dashboard-wrap button:hover,
.dokan-dashboard-wrap input[type="submit"]:hover {
    background: #374151 !important;
    transform: translateY(-1px) !important;
}

/* Navigation - Modern White Sidebar */
.dokan-dashboard .dokan-dash-sidebar,
.dokan-dash-sidebar {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 2rem !important;
    margin-bottom: 2rem !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1) !important;
}

.dokan-dashboard .dokan-dash-sidebar ul li a,
.dokan-dash-sidebar ul li a {
    display: flex !important;
    align-items: center !important;
    padding: 1rem 1.25rem !important;
    border-radius: 8px !important;
    color: #6b7280 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
    font-size: 0.875rem !important;
    position: relative !important;
    background: transparent !important;
    border: 1px solid transparent !important;
}

.dokan-dashboard .dokan-dash-sidebar ul li a:hover,
.dokan-dash-sidebar ul li a:hover {
    background: #f8fafc !important;
    color: #111827 !important;
    transform: translateX(6px) !important;
    border-color: #e5e7eb !important;
}

.dokan-dashboard .dokan-dash-sidebar ul li a.active,
.dokan-dash-sidebar ul li a.active {
    background: #000000 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    border-color: #000000 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.dokan-dashboard .dokan-dash-sidebar ul li a.active::before,
.dokan-dash-sidebar ul li a.active::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 4px !important;
    height: 70% !important;
    background: #ffffff !important;
    border-radius: 0 3px 3px 0 !important;
}

.dokan-dashboard .dokan-dash-sidebar ul li a i,
.dokan-dash-sidebar ul li a i {
    margin-right: 0.875rem !important;
    width: 20px !important;
    text-align: center !important;
    font-size: 1.1rem !important;
    opacity: 0.8 !important;
    transition: opacity 0.2s ease !important;
    color: inherit !important;
}

.dokan-dashboard .dokan-dash-sidebar ul li a.active i,
.dokan-dash-sidebar ul li a.active i {
    opacity: 1 !important;
    color: #ffffff !important;
}

/* Sidebar Header */
.dokan-dashboard .dokan-dash-sidebar .sidebar-header,
.dokan-dash-sidebar .sidebar-header {
    margin-bottom: 2rem !important;
    padding-bottom: 1.5rem !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.dokan-dashboard .dokan-dash-sidebar .sidebar-header h3,
.dokan-dash-sidebar .sidebar-header h3 {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #111827 !important;
    margin: 0 0 0.5rem 0 !important;
}

.dokan-dashboard .dokan-dash-sidebar .sidebar-header p,
.dokan-dash-sidebar .sidebar-header p {
    font-size: 0.875rem !important;
    color: #6b7280 !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

/* Collapsible Settings Menu */
.dokan-dash-sidebar .settings-menu {
    position: relative;
}

.dokan-dash-sidebar .settings-menu .settings-toggle {
    position: relative;
    cursor: pointer;
}

.dokan-dash-sidebar .settings-menu .settings-toggle::after {
    content: '▼';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: #6b7280;
    transition: transform 0.3s ease;
}

.dokan-dash-sidebar .settings-menu.collapsed .settings-toggle::after {
    transform: translateY(-50%) rotate(-90deg);
}

.dokan-dash-sidebar .settings-submenu {
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.dokan-dash-sidebar .settings-menu.collapsed .settings-submenu {
    max-height: 0;
}

/* Modern Sidebar Navigation Submenu */
.modern-sidebar .nav-submenu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.3s ease !important;
    margin-left: 0.5rem !important;
    margin-top: 0.5rem !important;
}

.modern-sidebar .nav-item.has-submenu .nav-submenu {
    max-height: 230px !important;
}

/* Dashboard Content Layout */
@media (max-width: 750px) {
    .dokan-dashboard-wrap {
        display: block !important;
        flex-direction: column !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .dokan-dashboard-content {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        padding: 0.75rem !important;
        margin: 0 !important;
        background: #ffffff !important;
        color: #111827 !important;
    }

    .dokan-dash-sidebar {
        background: #ffffff !important;
        background-color: #ffffff !important;
        background-image: none !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 12px !important;
        padding: 1.25rem !important;
        margin-bottom: 1.25rem !important;
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        visibility: visible !important;
        position: static !important;
        left: auto !important;
        opacity: 1 !important;
        order: -1 !important;
        height: auto !important;
        min-height: auto !important;
        float: none !important;
        box-sizing: border-box !important;
    }

    /* FORCE SIDEBAR WHITE BACKGROUND ON ALL PAGES - MAXIMUM SPECIFICITY */
    .dokan-dashboard .dokan-dash-sidebar,
    .dokan-dashboard-wrap .dokan-dash-sidebar,
    body .dokan-dashboard .dokan-dash-sidebar,
    body .dokan-dashboard-wrap .dokan-dash-sidebar,
    .dokan-dash-sidebar,
    .dokan-dashboard .dokan-dash-sidebar ul li a,
    .dokan-dashboard-wrap .dokan-dash-sidebar ul li a,
    body .dokan-dashboard .dokan-dash-sidebar ul li a,
    body .dokan-dashboard-wrap .dokan-dash-sidebar ul li a,
    .dokan-dash-sidebar ul li a {
        background: #ffffff !important;
        background-color: #ffffff !important;
        background-image: none !important;
    }

    /* FORCE SIDEBAR FULL WIDTH ON MOBILE - NUCLEAR OPTION */
    .dokan-dashboard .dokan-dash-sidebar,
    .dokan-dashboard-wrap .dokan-dash-sidebar,
    body .dokan-dashboard .dokan-dash-sidebar,
    body .dokan-dashboard-wrap .dokan-dash-sidebar,
    .dokan-dash-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        visibility: visible !important;
        position: static !important;
        left: auto !important;
        opacity: 1 !important;
        order: -1 !important;
        height: auto !important;
        min-height: auto !important;
        float: none !important;
        box-sizing: border-box !important;
        margin-bottom: 1.25rem !important;
        padding: 1.25rem !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 12px !important;
    }

    /* Force product form grid to be single column - MAXIMUM SPECIFICITY */
    .product-form-grid,
    .modern-new-product-area .product-form-grid,
    .dokan-dashboard-wrap .product-form-grid,
    .lite-dashboard .product-form-grid,
    .dokan-dashboard-wrap.lite-dashboard .product-form-grid,
    body .product-form-grid,
    body .modern-new-product-area .product-form-grid,
    body .dokan-dashboard-wrap .product-form-grid,
    body .lite-dashboard .product-form-grid,
    body .dokan-dashboard-wrap.lite-dashboard .product-form-grid {
        display: block !important;
        grid-template-columns: none !important;
        gap: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        flex-direction: column !important;
        -webkit-flex-direction: column !important;
        -ms-flex-direction: column !important;
    }

    .form-left-column,
    .form-right-column,
    .modern-new-product-area .form-left-column,
    .modern-new-product-area .form-right-column,
    .dokan-dashboard-wrap .form-left-column,
    .dokan-dashboard-wrap .form-right-column,
    .lite-dashboard .form-left-column,
    .lite-dashboard .form-right-column,
    .dokan-dashboard-wrap.lite-dashboard .form-left-column,
    .dokan-dashboard-wrap.lite-dashboard .form-right-column {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        float: none !important;
        flex: 1 1 100% !important;
        height: auto !important;
        min-height: auto !important;
    }

    /* Force all form elements to be full width - MAXIMUM SPECIFICITY */
    .product-form-grid .form-field,
    .product-form-grid .form-field input,
    .product-form-grid .form-field textarea,
    .product-form-grid .form-field select,
    .product-form-grid .input-with-addon,
    .product-form-grid .modern-input,
    .product-form-grid .modern-textarea,
    .product-form-grid .modern-select,
    .modern-new-product-area .product-form-grid .form-field,
    .modern-new-product-area .product-form-grid .form-field input,
    .modern-new-product-area .product-form-grid .form-field textarea,
    .modern-new-product-area .product-form-grid .form-field select,
    .modern-new-product-area .product-form-grid .input-with-addon,
    .modern-new-product-area .product-form-grid .modern-input,
    .modern-new-product-area .product-form-grid .modern-textarea,
    .modern-new-product-area .product-form-grid .modern-select,
    .dokan-dashboard-wrap .product-form-grid .form-field,
    .dokan-dashboard-wrap .product-form-grid .form-field input,
    .dokan-dashboard-wrap .product-form-grid .form-field textarea,
    .dokan-dashboard-wrap .product-form-grid .form-field select,
    .dokan-dashboard-wrap .product-form-grid .input-with-addon,
    .dokan-dashboard-wrap .product-form-grid .modern-input,
    .dokan-dashboard-wrap .product-form-grid .modern-textarea,
    .dokan-dashboard-wrap .product-form-grid .modern-select {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        display: block !important;
        height: auto !important;
        min-height: auto !important;
        flex: 1 1 100% !important;
    }

    /* Force form grid to single column - NUCLEAR OPTION */
    .form-grid,
    .modern-new-product-area .form-grid,
    .dokan-dashboard-wrap .form-grid,
    .lite-dashboard .form-grid,
    .dokan-dashboard-wrap.lite-dashboard .form-grid {
        display: block !important;
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Payment Settings - Stripe Express Support */
.stripe-express-connected {
    background: #f0fdf4;
    border: 1px solid #10b981;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.stripe-express-connected .status-icon {
    color: #10b981;
    font-size: 1.25rem;
    margin-right: 0.5rem;
}

.stripe-express-connected .status-text {
    color: #047857;
    font-weight: 600;
}

.stripe-express-disconnected {
    background: #fef2f2;
    border: 1px solid #ef4444;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.stripe-express-disconnected .status-icon {
    color: #ef4444;
    font-size: 1.25rem;
    margin-right: 0.5rem;
}

.stripe-express-disconnected .status-text {
    color: #dc2626;
    font-weight: 600;
}

/* Modern Form Inputs */
.modern-input,
.modern-textarea,
.modern-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #374151;
    background: #ffffff;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.modern-input:focus,
.modern-textarea:focus,
.modern-select:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.modern-input::placeholder,
.modern-textarea::placeholder {
    color: #9ca3af;
}

.modern-textarea {
    resize: vertical;
    min-height: 100px;
}

/* Form Actions */
.btn-primary {
    background: #000000;
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #374151;
    transform: translateY(-1px);
}

/* Stats Cards */
.stat-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
}

.stat-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: #000000;
    color: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.25rem 0;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

/* Stats Grid - 2 per row on mobile */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 750px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
}

/* ===========================================
   REUSABLE GRID SYSTEMS FOR ALL DOKAN PAGES
   =========================================== */

/* Universal Grid Container */
.grid-container {
    display: grid;
    gap: 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

/* Stats Grid - 2 per row on mobile, 4 on desktop */
.stats-grid,
.products-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 750px) {
    .stats-grid,
    .products-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
}

/* Actions Grid - 2 per row on mobile, auto-fit on desktop */
.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

@media (max-width: 750px) {
    .actions-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }
}

/* Products Grid - 1 per row on mobile for perfect UX */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 750px) {
    .products-grid {
        grid-template-columns: 1fr !important; /* 1 product per row on mobile */
        gap: 1rem !important;
    }
}

/* Filters Grid - Responsive layout */
.products-filters,
.filters-form {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: end;
}

@media (max-width: 750px) {
    .filter-row {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    .products-filters,
    .filters-form {
        padding: 1rem !important;
    }
}

/* Product Cards Grid Layout */
.product-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 1rem;
    padding: 1rem;
    align-items: start;
}

.product-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.product-image {
    width: 100%;
    height: 120px;
    border-radius: 6px;
    overflow: hidden;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-status {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #ffffff;
}

.product-status.status-publish {
    background: #10b981;
}

.product-status.status-draft {
    background: #f59e0b;
}

.product-status.status-pending {
    background: #ef4444;
}

.product-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0; /* Allow text to wrap */
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-title a {
    color: inherit;
    text-decoration: none;
}

.product-title a:hover {
    color: #000000;
}

.product-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.product-price {
    font-weight: 600;
    color: #111827;
}

.product-sku {
    font-size: 0.75rem;
}

.product-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-self: start;
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    color: #6b7280;
    background: transparent;
}

.action-btn:hover {
    background: #f3f4f6;
    color: #111827;
    transform: scale(1.05);
}

.edit-btn:hover {
    background: #dbeafe;
    color: #1d4ed8;
}

.view-btn:hover {
    background: #dcfce7;
    color: #166534;
}

.delete-btn:hover {
    background: #fee2e2;
    color: #dc2626;
}

/* Mobile Product Cards - Perfect 1 per row UX */
@media (max-width: 750px) {
    .product-card {
        grid-template-columns: 100px 1fr auto !important;
        gap: 0.75rem !important;
        padding: 0.75rem !important;
    }

    .product-image {
        width: 100px !important;
        height: 100px !important;
    }

    .product-title {
        font-size: 0.875rem !important;
    }

    .product-meta {
        font-size: 0.75rem !important;
    }

    .product-stats {
        gap: 0.75rem !important;
        font-size: 0.7rem !important;
    }

    .product-actions {
        flex-direction: row !important;
        gap: 0.25rem !important;
    }

    .action-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.75rem !important;
    }
}

/* Orders Page Enhancements */
.orders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.orders-header .header-content h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.25rem 0;
}

.orders-header .header-content p {
    color: #6b7280;
    margin: 0;
    font-size: 0.875rem;
}

/* Orders Grid Layout (if needed for card view) */
.orders-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.order-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
    transition: all 0.3s ease;
}

.order-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.order-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.order-title {
    font-weight: 600;
    color: #111827;
    margin: 0;
    font-size: 1rem;
}

.order-title a {
    color: inherit;
    text-decoration: none;
}

.order-title a:hover {
    color: #000000;
}

.order-meta {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.order-status {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-top: 0.5rem;
}

.order-status.status-wc-completed {
    background: #dcfce7;
    color: #166534;
}

.order-status.status-wc-processing {
    background: #dbeafe;
    color: #1e40af;
}

.order-status.status-wc-pending {
    background: #fef3c7;
    color: #92400e;
}

.order-status.status-wc-on-hold {
    background: #fed7aa;
    color: #9a3412;
}

.order-status.status-wc-cancelled {
    background: #fecaca;
    color: #dc2626;
}

.order-status.status-wc-refunded {
    background: #e5e7eb;
    color: #374151;
}

/* Orders Table Enhancements */
.dokan-orders-area .dokan-table {
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1) !important;
}

.dokan-orders-area .dokan-table th {
    background: #f8fafc !important;
    border-bottom: 2px solid #e5e7eb !important;
    padding: 1rem 0.75rem !important;
    font-weight: 600 !important;
    color: #111827 !important;
    font-size: 0.875rem !important;
}

.dokan-orders-area .dokan-table td {
    padding: 1rem 0.75rem !important;
    border-bottom: 1px solid #f3f4f6 !important;
    vertical-align: middle !important;
    color: #374151 !important;
    font-size: 0.875rem !important;
}

.dokan-orders-area .dokan-table tbody tr:hover {
    background: #f9fafb !important;
}

.dokan-orders-area .dokan-table tbody tr:hover td {
    background: #f9fafb !important;
}

/* Order Status Filters */
.dokan-orders-area .list-inline.order-statuses-filter {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    margin-bottom: 1.5rem !important;
    padding: 0 !important;
    list-style: none !important;
    background: transparent !important;
}

.dokan-orders-area .list-inline.order-statuses-filter li a {
    padding: 0.5rem 1rem !important;
    border-radius: 20px !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 0.875rem !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    background: #f3f4f6 !important;
    color: #6b7280 !important;
    border: 1px solid #e5e7eb !important;
}

.dokan-orders-area .list-inline.order-statuses-filter li.active a {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}

.dokan-orders-area .list-inline.order-statuses-filter li a:hover:not(.active) {
    background: #e5e7eb !important;
    color: #374151 !important;
    border-color: #d1d5db !important;
}

/* Bulk Actions */
.dokan-orders-area .dokan-form-inline {
    background: #ffffff !important;
    padding: 1.5rem !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1) !important;
    margin-bottom: 1.5rem !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
    border: 1px solid #e5e7eb !important;
}

.dokan-orders-area .dokan-form-inline .dokan-form-group {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    margin: 0 !important;
}

.dokan-orders-area .dokan-form-inline select {
    padding: 0.75rem 1rem !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    font-size: 0.875rem !important;
    min-width: 200px !important;
    background: #ffffff !important;
    color: #374151 !important;
    transition: all 0.2s ease !important;
}

.dokan-orders-area .dokan-form-inline select:focus {
    outline: none !important;
    border-color: #000000 !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1) !important;
}

.dokan-orders-area .dokan-form-inline .dokan-btn {
    padding: 0.75rem 1.5rem !important;
    background: #000000 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.dokan-orders-area .dokan-form-inline .dokan-btn:hover {
    background: #374151 !important;
    transform: translateY(-1px) !important;
}

/* Pagination */
.dokan-orders-area .pagination-wrap {
    margin-top: 2rem !important;
    text-align: center !important;
    background: transparent !important;
}

.dokan-orders-area .pagination {
    display: inline-flex !important;
    gap: 0.25rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

.dokan-orders-area .pagination a,
.dokan-orders-area .pagination span {
    padding: 0.5rem 0.75rem !important;
    border: 1px solid #d1d5db !important;
    background: #ffffff !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    color: #6b7280 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-size: 0.875rem !important;
}

.dokan-orders-area .pagination a:hover,
.dokan-orders-area .pagination .current {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}

/* ===========================================
   ORDER DETAILS/VIEW PAGE STYLING
   Modern UI/UX reusing existing design elements
   =========================================== */

/* Order Details Wrapper */
.modern-order-details-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Order Details Header - Fixed alignment */
.order-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
    width: 100%;
    box-sizing: border-box;
}

.order-details-header .header-content {
    flex: 1;
    min-width: 0; /* Allow text to wrap */
}

.order-details-header .header-content h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.25rem 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.order-details-header .header-content p {
    color: #6b7280;
    margin: 0;
    font-size: 0.875rem;
}

.order-details-header .header-actions {
    flex-shrink: 0;
    margin-left: 1rem;
}

.order-details-header .header-actions .btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.order-details-header .header-actions .btn-secondary:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
}

/* Order Status Banner - Reusing existing card styles */
.order-status-banner {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.status-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.status-label {
    font-weight: 600;
    color: #374151;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.status-wc-completed {
    background: #dcfce7;
    color: #166534;
}

.status-badge.status-wc-processing {
    background: #dbeafe;
    color: #1e40af;
}

.status-badge.status-wc-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.status-wc-on-hold {
    background: #fed7aa;
    color: #9a3412;
}

.status-badge.status-wc-cancelled {
    background: #fecaca;
    color: #dc2626;
}

.status-badge.status-wc-refunded {
    background: #e5e7eb;
    color: #374151;
}

.order-meta {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Order Details Grid - Reusing content grid */
.order-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .order-details-grid {
        grid-template-columns: 2fr 1fr;
    }
}

/* Section Cards - Reusing existing card styles */
.section-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.section-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background: #f8fafc;
}

.section-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.section-body {
    padding: 1.5rem;
}

/* Order Items Table - Enhanced styling */
.order-items-table {
    margin-bottom: 2rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    background: #ffffff;
}

.order-item:last-child {
    margin-bottom: 0;
}

.item-info {
    flex: 1;
}

.item-name {
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.item-meta {
    font-size: 0.875rem;
    color: #6b7280;
}

.item-sku {
    background: #f3f4f6;
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

.item-quantity,
.item-total {
    font-weight: 600;
    color: #374151;
    text-align: center;
    min-width: 80px;
}

/* Order Totals - Modern Div-Based Grid Layout */
.order-totals-grid,
.order-totals-grid-modern {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 1rem !important;
    margin-top: 1.5rem !important;
}

.total-item,
.total-item-modern {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
    padding: 1rem !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1) !important;
}

.total-item:hover,
.total-item-modern:hover {
    border-color: #d1d5db !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-2px) !important;
}

.total-item .total-label,
.total-item .total-value,
.total-item-modern .total-label-modern,
.total-item-modern .total-value-modern {
    display: block !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #6b7280 !important;
    margin-bottom: 0.5rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.025em !important;
}

.total-item .total-value,
.total-item-modern .total-value-modern {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
    line-height: 1.2 !important;
    margin-bottom: 0 !important;
}

/* Special styling for main total */
.total-item.main-total,
.total-item-modern.main-total-modern {
    grid-column: 1 / -1 !important;
    background: #000000 !important;
    border-color: #000000 !important;
    margin-top: 0.5rem !important;
}

.total-item.main-total .total-label,
.total-item.main-total .total-value,
.total-item-modern.main-total-modern .total-label-modern,
.total-item-modern.main-total-modern .total-value-modern {
    color: #ffffff !important;
}

.total-item.main-total .total-label,
.total-item-modern.main-total-modern .total-label-modern {
    font-size: 1rem !important;
    font-weight: 600 !important;
}

.total-item.main-total .total-value,
.total-item-modern.main-total-modern .total-value-modern {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
}

/* Mobile Order Totals Grid */
@media (max-width: 750px) {
    .order-totals-grid,
    .order-totals-grid-modern {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    .total-item,
    .total-item-modern {
        padding: 0.75rem !important;
    }

    .total-item .total-label,
    .total-item .total-value,
    .total-item-modern .total-label-modern,
    .total-item-modern .total-value-modern {
        font-size: 0.75rem !important;
    }

    .total-item .total-value,
    .total-item-modern .total-value-modern {
        font-size: 1rem !important;
    }

    .total-item.main-total .total-value,
    .total-item-modern.main-total-modern .total-value-modern {
        font-size: 1.25rem !important;
    }
}

/* Order Totals - Grid Layout */
.order-totals {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.totals-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.total-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.total-item:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.total-item.main-total {
    grid-column: 1 / -1;
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

.total-item.main-total .total-label,
.total-item.main-total .total-value {
    color: #ffffff;
}

.total-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.total-item .total-label {
    color: #374151;
    margin-bottom: 0.25rem;
}

.total-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

.total-item .total-value {
    font-size: 1rem;
    font-weight: 600;
}

.total-value.earning {
    color: #059669;
}

.total-item .total-value.earning {
    color: #10b981;
}

/* Mobile Totals Grid */
@media (max-width: 750px) {
    .totals-breakdown {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .total-item {
        padding: 0.75rem;
    }

    .total-item.main-total {
        order: -1;
    }
}

/* Addresses Section */
.addresses-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .addresses-section {
        grid-template-columns: 1fr 1fr;
    }
}

.address-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
}

.address-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.address-content {
    color: #374151;
    line-height: 1.6;
}

/* Order Summary Section */
.order-summary-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Totals Breakdown */
.totals-breakdown {
    margin-bottom: 2rem;
}

.totals-breakdown .total-row {
    padding: 0.5rem 0;
}

.totals-breakdown .total-row .total-label {
    font-size: 0.875rem;
}

.totals-breakdown .total-row .total-value {
    font-size: 0.875rem;
}

.totals-breakdown .total-row.earning .total-value {
    color: #059669;
    font-weight: 700;
}

/* Order Actions - Reusing button styles */
.order-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.order-actions .btn-primary,
.order-actions .btn-secondary,
.order-actions .btn-warning {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1rem;
}

@media (min-width: 640px) {
    .order-actions {
        flex-direction: row;
        gap: 0.5rem;
    }

    .order-actions .btn-primary,
    .order-actions .btn-secondary,
    .order-actions .btn-warning {
        width: auto;
        flex: 1;
    }
}

.btn-warning {
    background: #f59e0b;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background: #d97706;
    transform: translateY(-1px);
}

/* Status Change Form */
.status-change-form {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.status-change-form .form-group {
    margin-bottom: 1rem;
}

.status-change-form .form-group:last-child {
    margin-bottom: 0;
}

.status-change-form label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.status-change-form .modern-select {
    width: 100%;
}

/* Tracking Form */
.tracking-form {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.tracking-form .form-group {
    margin-bottom: 1rem;
}

.tracking-form .form-group:last-child {
    margin-bottom: 0;
}

.tracking-form label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.tracking-form .modern-input {
    width: 100%;
}

/* Order Notes */
.order-notes {
    margin-bottom: 2rem;
}

.note-item {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.note-item:last-child {
    margin-bottom: 0;
}

.note-item.customer-note {
    background: #dbeafe;
    border-color: #bfdbfe;
}

.note-content {
    color: #374151;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.note-meta {
    font-size: 0.75rem;
    color: #6b7280;
    font-style: italic;
}

.no-notes {
    text-align: center;
    color: #6b7280;
    font-style: italic;
    padding: 2rem;
}

/* Add Note Section */
.add-note-section {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.add-note-section h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 1rem 0;
}

.add-note-form .form-group {
    margin-bottom: 1rem;
}

.add-note-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #374151;
    background: #ffffff;
    resize: vertical;
    min-height: 100px;
}

.add-note-form textarea:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.add-note-form .form-row {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.add-note-form select {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #374151;
    background: #ffffff;
}

/* Customer Info */
.customer-info {
    margin-bottom: 2rem;
}

.customer-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 1rem 0;
}

.customer-details {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 1rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 500;
    color: #6b7280;
}

.detail-value {
    font-weight: 600;
    color: #374151;
}

/* Customer Note */
.customer-note {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
}

.customer-note h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #92400e;
    margin: 0 0 0.5rem 0;
}

.customer-note p {
    color: #92400e;
    margin: 0;
    line-height: 1.6;
}

/* Mobile Order Details */
@media (max-width: 750px) {
    .modern-order-details-wrap {
        padding: 1rem 0.5rem;
    }

    .order-details-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        margin-bottom: 1.5rem;
        padding-bottom: 0.75rem;
    }

    .order-details-header .header-content h1 {
        font-size: 1.75rem;
    }

    .order-status-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 1rem;
    }

    .order-details-grid {
        gap: 1.5rem;
    }

    .order-item {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        text-align: center;
    }

    .item-quantity,
    .item-total {
        text-align: center;
        min-width: auto;
    }

    .addresses-section {
        grid-template-columns: 1fr;
    }

    .address-card {
        padding: 1rem;
    }

    .section-card {
        margin-bottom: 1.5rem;
    }

    .section-header,
    .section-body {
        padding: 1rem;
    }

    .order-actions {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }

    .order-actions .btn-primary,
    .order-actions .btn-secondary,
    .order-actions .btn-warning {
        width: 100% !important;
        flex: none !important;
    }

    .add-note-form .form-row {
        flex-direction: column;
        gap: 0.75rem;
    }

    .add-note-form select {
        width: 100%;
    }
}

/* Mobile Orders Page */
@media (max-width: 750px) {
    .orders-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        margin-bottom: 1.5rem;
        padding-bottom: 0.75rem;
    }

    .orders-header .header-content h1 {
        font-size: 1.75rem;
    }

    .dokan-orders-area .dokan-form-inline {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 1rem !important;
    }

    .dokan-orders-area .dokan-form-inline .dokan-form-group {
        justify-content: space-between !important;
        flex-wrap: wrap !important;
    }

    .dokan-orders-area .dokan-form-inline select {
        min-width: auto !important;
        width: 100% !important;
    }

    .dokan-orders-area .list-inline.order-statuses-filter {
        justify-content: center !important;
        gap: 0.25rem !important;
    }

    .dokan-orders-area .list-inline.order-statuses-filter li a {
        padding: 0.375rem 0.75rem !important;
        font-size: 0.75rem !important;
    }

    .dokan-orders-area .dokan-table {
        font-size: 0.875rem !important;
        overflow-x: auto !important;
    }

    .dokan-orders-area .dokan-table th,
    .dokan-orders-area .dokan-table td {
        padding: 0.75rem 0.5rem !important;
        white-space: nowrap !important;
    }

    .dokan-orders-area .dokan-table .dokan-order-action {
        min-width: 100px !important;
    }
}

/* Dashboard Header - Inline layout with space-between */
.dashboard-header,
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.header-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.header-content h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.header-content p {
    color: #6b7280;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.4;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-actions .btn-primary {
    background: #000000;
    color: #ffffff;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.header-actions .btn-primary:hover {
    background: #374151;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Mobile Header */
@media (max-width: 750px) {
    .dashboard-header,
    .products-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        margin-bottom: 1.5rem;
        padding-bottom: 0.75rem;
    }

    .header-content {
        text-align: center;
    }

    .header-content h1 {
        font-size: 1.75rem;
    }

    .header-actions {
        justify-content: center;
    }

    .header-actions .btn-primary {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}

/* Form Elements for Filters */
.search-input,
.status-select,
.category-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #374151;
    background: #ffffff;
    transition: all 0.2s ease;
}

.search-input:focus,
.status-select:focus,
.category-select:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.filter-btn {
    background: #000000;
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #374151;
    transform: translateY(-1px);
}

.clear-filters {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    font-size: 0.875rem;
    text-decoration: underline;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

.clear-filters:hover {
    color: #111827;
}

/* Pagination Grid */
.products-pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.products-pagination .pagination {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.products-pagination .page-numbers {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.2s ease;
}

.products-pagination .page-numbers:hover,
.products-pagination .page-numbers.current {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

/* Empty States */
.no-products,
.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #6b7280;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.5rem 0;
}

.empty-state p {
    margin: 0 0 1.5rem 0;
    font-size: 0.875rem;
}

/* Quick Actions - Reusing existing card and button styles */
.quick-actions {
    margin-bottom: 2rem;
}

.actions-header {
    margin-bottom: 1.5rem;
}

.actions-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.25rem 0;
}

.actions-header p {
    color: #6b7280;
    margin: 0;
    font-size: 0.875rem;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.action-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    color: #111827;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #000000 0%, #374151 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #d1d5db;
}

.action-card:hover::before {
    opacity: 0.05;
}

.action-card:hover .action-arrow {
    transform: translateX(4px);
}

.action-icon {
    width: 48px;
    height: 48px;
    background: #000000;
    color: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.action-card:hover .action-icon {
    background: #374151;
    transform: scale(1.05);
}

.action-content {
    flex: 1;
}

.action-title {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.25rem 0;
    transition: color 0.2s ease;
}

.action-card:hover .action-title {
    color: #000000;
}

.action-description {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
    transition: color 0.2s ease;
}

.action-card:hover .action-description {
    color: #374151;
}

.action-arrow {
    color: #6b7280;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.action-card:hover .action-arrow {
    color: #000000;
}

/* Mobile Quick Actions */
@media (max-width: 750px) {
    .actions-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    .action-card {
        padding: 1rem !important;
        gap: 0.75rem !important;
    }

    .action-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }

    .action-title {
        font-size: 0.875rem !important;
    }

    .action-description {
        font-size: 0.75rem !important;
    }
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .content-grid {
        grid-template-columns: 2fr 1fr;
    }
}

/* Cards */
.chart-card,
.activity-card,
.products-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.view-all {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.view-all:hover {
    color: #111827;
}

/* Activity List */
.activity-list {
    padding: 0;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s ease;
}

.activity-item:hover {
    background: #f9fafb;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: #f3f4f6;
    color: #6b7280;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.25rem 0;
    font-size: 0.875rem;
}

.activity-meta {
    color: #6b7280;
    margin: 0;
    font-size: 0.75rem;
}

.activity-status {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.activity-status.status-wc-completed {
    background: #dcfce7;
    color: #166534;
}

.activity-status.status-wc-processing {
    background: #dbeafe;
    color: #1e40af;
}

.activity-status.status-wc-pending {
    background: #fef3c7;
    color: #92400e;
}

.activity-status.status-wc-cancelled {
    background: #fee2e2;
    color: #dc2626;
}

/* Products List */
.products-list {
    padding: 0;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s ease;
}

.product-item:hover {
    background: #f9fafb;
}

.product-item:last-child {
    border-bottom: none;
}

.product-image {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    flex: 1;
}

.product-name {
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.25rem 0;
    font-size: 0.875rem;
    line-height: 1.4;
}

.product-meta {
    color: #6b7280;
    margin: 0;
    font-size: 0.75rem;
}

/* Empty States */
.empty-state {
    padding: 3rem 1.5rem;
    text-align: center;
    color: #6b7280;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state p {
    margin: 0;
    font-size: 0.875rem;
}

/* ===========================================
   PRODUCT ATTRIBUTES STYLING
   =========================================== */

/* Product Attributes Section */
.attributes-section {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.attributes-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.attributes-description {
    color: #6b7280;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    flex: 1;
}

.add-attribute-btn {
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.add-attribute-btn:hover {
    background: #374151;
    transform: translateY(-1px);
}

.attributes-list {
    margin-bottom: 2rem;
}

.attribute-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.attribute-item:last-child {
    margin-bottom: 0;
}

.attribute-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.attribute-name {
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.attribute-controls {
    display: flex;
    gap: 0.5rem;
}

.attribute-toggle {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.attribute-toggle:hover {
    background: #f3f4f6;
    color: #111827;
}

.remove-attribute {
    background: #dc2626;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 0.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.remove-attribute:hover {
    background: #b91c1c;
}

.attribute-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
}

.attribute-values {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.attribute-value {
    background: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.remove-value {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    font-size: 0.75rem;
}

.remove-value:hover {
    color: #dc2626;
}

/* Custom Attributes Section */
.custom-attributes-section h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 1rem 0;
}

.custom-attribute-item {
    margin-bottom: 1rem;
}

.custom-attribute-item:last-child {
    margin-bottom: 0;
}

.attribute-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0.75rem;
    align-items: start;
}

.attribute-select {
    height: 85px !important;
    overflow-y: auto !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    padding: 0.5rem !important;
    background: #ffffff !important;
    font-size: 0.875rem !important;
    color: #374151 !important;
}

.attribute-select:focus {
    outline: none !important;
    border-color: #000000 !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1) !important;
}

.attribute-select option {
    padding: 0.25rem !important;
    background: #ffffff !important;
    color: #374151 !important;
}

.attribute-select option:checked {
    background: #f3f4f6 !important;
    color: #111827 !important;
}

.attribute-row .modern-input {
    margin: 0;
}

.btn-icon {
    background: #dc2626;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-icon:hover {
    background: #b91c1c;
    transform: scale(1.05);
}

.btn-link {
    background: none;
    border: none;
    color: #000000;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    transition: all 0.2s ease;
}

.btn-link:hover {
    color: #374151;
    text-decoration: underline;
}

/* Attributes Notice */
.attributes-notice {
    margin-top: 1rem;
    padding: 1rem;
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 6px;
    color: #0c4a6e;
}

.attributes-notice p {
    margin: 0;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.attributes-notice i {
    color: #0ea5e9;
    font-size: 1rem;
}

/* Focus States */
.btn-primary:focus,
.period-select:focus,
.view-all:focus,
.attribute-select:focus,
.modern-input:focus,
.modern-textarea:focus,
.modern-select:focus {
    outline: 2px solid #000000;
    outline-offset: 2px;
}

/* ===========================================
   SUBSCRIPTION PLAN CARDS - ACTUAL HTML TARGETING
   Targeting real HTML structure from pack-listing.php
   =========================================== */

/* Target the actual subscription plan cards from the template */
.our-custom-plans-grid .our-plan-card,
.our-custom-plans-grid > .our-plan-card {
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07) !important;
    background: white !important;
    border: 2px solid #e5e7eb !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    min-height: 450px !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

/* Popular badge targeting */
.our-plan-card.popular-plan .popular-badge,
.our-plan-card .popular-badge {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
    color: white !important;
    padding: 8px 16px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border-radius: 0 12px 0 12px !important;
    z-index: 10 !important;
}

/* Current plan badge targeting */
.our-plan-card.current-plan .current-badge,
.our-plan-card .current-badge {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    background: #10b981 !important;
    color: white !important;
    padding: 8px 16px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border-radius: 0 0 12px 0 !important;
    z-index: 10 !important;
}

/* Plan header styling */
.our-plan-card .plan-header {
    padding: 35px 25px 25px 25px !important;
    text-align: center !important;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
}

.our-plan-card .plan-title {
    margin: 0 0 15px 0 !important;
    color: #1e293b !important;
    font-size: 24px !important;
    font-weight: 600 !important;
}

.our-plan-card .plan-price {
    display: flex !important;
    align-items: baseline !important;
    justify-content: center !important;
    gap: 6px !important;
}

.our-plan-card .plan-price .price {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: #000000 !important;
}

.our-plan-card .plan-price .period {
    color: #64748b !important;
    font-size: 16px !important;
    font-weight: 400 !important;
}

/* Plan features styling */
.our-plan-card .plan-features {
    padding: 25px !important;
    flex: 1 !important;
}

.our-plan-card .plan-features ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.our-plan-card .plan-features li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
    padding: 8px 0 !important;
}

.our-plan-card .plan-features li:last-child {
    margin-bottom: 0 !important;
}

.our-plan-card .plan-features .fa-check-circle {
    color: #10b981 !important;
    width: 18px !important;
    font-size: 16px !important;
    margin-top: 2px !important;
    flex-shrink: 0 !important;
}

.our-plan-card .plan-features li span {
    color: #475569 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

/* Plan action button styling */
.our-plan-card .plan-action {
    padding: 0 25px 30px 25px !important;
}

.our-plan-card .our-plan-btn {
    width: 100% !important;
    padding: 16px 20px !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.our-plan-card .btn-primary {
    background: #000000 !important;
    color: white !important;
}

.our-plan-card .btn-primary:hover {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25) !important;
}

.our-plan-card .btn-current {
    background: #10b981 !important;
    color: white !important;
    cursor: not-allowed !important;
}

/* Responsive for subscription plans */
@media (max-width: 750px) {
    .our-custom-plans-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        margin: 1.5rem auto !important;
        padding: 0 0.5rem !important;
    }

    .our-custom-plans-grid .our-plan-card {
        min-height: 380px !important;
        padding: 0 !important;
    }

    .our-plan-card.popular-plan {
        transform: none !important;
    }

    .our-plan-card .plan-header {
        padding: 25px 20px 20px 20px !important;
    }

    .our-plan-card .plan-title {
        font-size: 20px !important;
    }

    .our-plan-card .plan-price .price {
        font-size: 28px !important;
    }

    .our-plan-card .plan-features {
        padding: 20px !important;
    }

    .our-plan-card .plan-action {
        padding: 0 20px 25px 20px !important;
    }
}

/* Current subscription card - matches the actual HTML structure */
.modern-subscription-content .current-subscription-card,
.current-subscription-card {
    background: white !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    padding: 30px !important;
    margin-bottom: 20px !important;
    border: 1px solid #e5e7eb !important;
}

/* Custom packs header */
.custom-packs-header h2 {
    margin: 0 0 10px 0 !important;
    color: #1e293b !important;
    font-size: 28px !important;
    font-weight: 600 !important;
}

.custom-packs-header p {
    margin: 0 !important;
    color: #64748b !important;
    font-size: 16px !important;
}

.form-left-column,
.modern-new-product-area .form-left-column,
.dokan-dashboard-wrap .form-left-column,
.lite-dashboard .form-left-column,
.dokan-dashboard-wrap.lite-dashboard .form-left-column {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.form-right-column,
.modern-new-product-area .form-right-column,
.dokan-dashboard-wrap .form-right-column,
.lite-dashboard .form-right-column,
.dokan-dashboard-wrap.lite-dashboard .form-right-column {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: #f8fafc !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 1.5rem !important;
}

.form-right-column .form-field,
.modern-new-product-area .form-right-column .form-field,
.dokan-dashboard-wrap .form-right-column .form-field,
.lite-dashboard .form-right-column .form-field,
.dokan-dashboard-wrap.lite-dashboard .form-right-column .form-field {
    margin-bottom: 1.5rem !important;
}

.form-right-column .form-field:last-child,
.modern-new-product-area .form-right-column .form-field:last-child,
.dokan-dashboard-wrap .form-right-column .form-field:last-child,
.lite-dashboard .form-right-column .form-field:last-child,
.dokan-dashboard-wrap.lite-dashboard .form-right-column .form-field:last-child {
    margin-bottom: 0 !important;
}

/* Form Sections */
.form-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.5rem 0;
}

.section-header p {
    color: #6b7280;
    margin: 0;
    font-size: 0.875rem;
}

.section-body {
    padding: 2rem;
}

/* Form Grid */
.form-grid,
.modern-new-product-area .form-grid,
.dokan-dashboard-wrap .form-grid,
.lite-dashboard .form-grid,
.dokan-dashboard-wrap.lite-dashboard .form-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1.5rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.form-field,
.modern-new-product-area .form-field,
.dokan-dashboard-wrap .form-field,
.lite-dashboard .form-field,
.dokan-dashboard-wrap.lite-dashboard .form-field {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    box-sizing: border-box !important;
    gap: 15px !important;
}

.form-field.full-width,
.modern-new-product-area .form-field.full-width,
.dokan-dashboard-wrap .form-field.full-width,
.lite-dashboard .form-field.full-width,
.dokan-dashboard-wrap.lite-dashboard .form-field.full-width {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.field-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.field-label .optional {
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
    font-style: italic;
}

/* Input with Addon */
.input-with-addon {
    position: relative;
    display: flex;
}

.input-addon {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    padding: 0.875rem 1rem;
    background: #f9fafb;
    border: 1px solid #d1d5db;
    border-right: 1px solid #d1d5db;
    border-radius: 8px 0 0 8px;
    color: #6b7280;
    font-weight: 600;
    display: flex;
    align-items: center;
    z-index: 1;
    box-sizing: border-box;
}

.input-with-addon .modern-input {
    padding-left: 3.5rem;
    border-radius: 0 8px 8px 0;
    border-left: none;
}

/* Image Upload */
.image-upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    background: #f9fafb;
    transition: all 0.3s ease;
    cursor: pointer;
}

.image-upload-area:hover {
    border-color: #000000;
    background: #f3f4f6;
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.upload-placeholder i {
    font-size: 2rem;
    color: #9ca3af;
}

.upload-placeholder p {
    margin: 0;
    color: #6b7280;
    font-size: 0.875rem;
}

.image-preview {
    position: relative;
}

.image-preview img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
}

.remove-image {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

/* Gallery Upload */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

.gallery-item {
    aspect-ratio: 1;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.gallery-item:hover {
    border-color: #000000;
    background: #f3f4f6;
}

.gallery-item.add-new {
    background: #ffffff;
}

.gallery-item i {
    font-size: 1.5rem;
    color: #9ca3af;
}

.gallery-item span {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
    text-align: center;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.nav-btn {
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.875rem;
}

.nav-btn.prev-btn {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.nav-btn.prev-btn:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
}

.nav-btn.next-btn {
    background: #000000;
    color: #ffffff;
}

.nav-btn.next-btn:hover {
    background: #374151;
}

.nav-btn.submit-btn {
    background: #10b981;
    color: #ffffff;
}

.nav-btn.submit-btn:hover {
    background: #059669;
}

/* Product Creation Steps */
.product-creation-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.product-creation-steps .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.product-creation-steps .step.active {
    opacity: 1;
}

.product-creation-steps .step.completed {
    opacity: 0.8;
}

.product-creation-steps .step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.product-creation-steps .step.active .step-number {
    background: #000000;
    color: #ffffff;
}

.product-creation-steps .step.completed .step-number {
    background: #10b981;
    color: #ffffff;
}

.product-creation-steps .step-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    text-align: center;
    white-space: nowrap;
}

/* New Product Header */
.new-product-header,
.dokan-dashboard-wrap .new-product-header,
.lite-dashboard .new-product-header,
.dokan-dashboard-wrap.lite-dashboard .new-product-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 2rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 1px solid #e5e7eb !important;
    background: transparent !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
}

.new-product-header .header-content h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.25rem 0;
}

.new-product-header .header-content p {
    color: #6b7280;
    margin: 0;
    font-size: 0.875rem;
}

.new-product-header .header-actions .btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.new-product-header .header-actions .btn-secondary:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
}

/* Responsive */
@media (max-width: 768px) {
    .dokan-dashboard-content {
        padding: 1rem;
    }

    .stat-card {
        padding: 1rem;
        gap: 0.75rem;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .content-grid {
        gap: 1.5rem;
    }

    .card-header {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .activity-item,
    .product-item {
        padding: 1rem;
        gap: 0.75rem;
    }

    .activity-icon,
    .product-image {
        width: 36px;
        height: 36px;
    }

    /* Product Form Mobile */
    .new-product-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .new-product-header .header-content h1 {
        font-size: 1.75rem;
    }

    .product-creation-steps {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .product-creation-steps .step {
        flex: 1;
        min-width: 80px;
    }

    .form-section {
        padding: 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .image-upload-area {
        padding: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 0.75rem;
    }

    .form-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .dokan-dashboard-content {
        padding: 0.75rem;
    }

    .stat-card {
        padding: 0.75rem;
    }

    .content-grid {
        gap: 1rem;
    }

    .card-header {
        padding: 0.75rem;
    }

    .activity-item,
    .product-item {
        padding: 0.75rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .activity-content,
    .product-info {
        width: 100%;
    }

    .new-product-header .header-content h1 {
        font-size: 1.5rem;
    }

    .form-section {
        padding: 1rem;
    }

    .image-upload-area {
        padding: 1rem;
    }

    .upload-placeholder i {
        font-size: 2rem;
    }

    .upload-placeholder h4 {
        font-size: 1rem;
    }
}

/* PRECISE SUBSCRIPTION PLAN CARDS - No nested borders */
/* Target ONLY the actual card containers, not their child divs */
.subscription-card,
.dokan-dashboard-content .subscription-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 1rem !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 2rem 1.5rem !important;
    margin: 0 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    min-height: 400px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
}

/* Remove borders from child elements inside cards */
.subscription-card *,
.subscription-card div,
.subscription-card span,
.subscription-card p,
.subscription-card h1,
.subscription-card h2,
.subscription-card h3,
.subscription-card h4,
.dokan-dashboard-content .subscription-card *,
.dokan-dashboard-content .subscription-card div,
.dokan-dashboard-content .subscription-card span,
.dokan-dashboard-content .subscription-card p,
.dokan-dashboard-content .subscription-card h1,
.dokan-dashboard-content .subscription-card h2,
.dokan-dashboard-content .subscription-card h3,
.dokan-dashboard-content .subscription-card h4 {
    border: none !important;
    box-shadow: none !important;
}

/* Ensure subscription grid container shows 3 per row but prevents other content from being affected */
.subscription-grid-container {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    margin: 2rem auto !important;
    padding: 0 1rem !important;
    width: 100% !important;
    max-width: 1200px !important;
    box-sizing: border-box !important;
}

/* Hover effects only on subscription cards */
.subscription-grid-container > .subscription-grid > *:hover,
.subscription-grid-container > .subscription-grid .subscription-card:hover,
.subscription-grid-container > .subscription-card:hover,
.subscription-grid-container [class*="pack"]:hover,
.subscription-grid-container [class*="plan"]:hover,
.dokan-subscription-content .subscription-card:hover,
.dokan-subscription-content [class*="pack"]:hover,
.dokan-subscription-content [class*="plan"]:hover {
    border-color: #000000 !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

/* Mobile responsive for subscription plans only */
@media (max-width: 750px) {
    .subscription-grid-container {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        margin: 1.5rem auto !important;
        padding: 0 0.5rem !important;
    }

    .subscription-grid-container > *,
    .subscription-grid-container .subscription-card,
    .subscription-grid-container [class*="pack"],
    .subscription-grid-container [class*="plan"],
    .dokan-subscription-content .subscription-card,
    .dokan-subscription-content [class*="pack"],
    .dokan-subscription-content [class*="plan"] {
        margin-bottom: 1.5rem !important;
        min-height: 320px !important;
        padding: 1.5rem !important;
    }
}

/* Force sidebar styling - NUCLEAR SPECIFICITY OVERRIDE */
.dokan-dashboard-wrap .dokan-dash-sidebar,
body .dokan-dashboard-wrap .dokan-dash-sidebar,
.dokan-dashboard-wrap #customer-info-container .info-field .icon,
.dokan-dashboard-wrap .dashboard-widget .dokan-dashboard-announce-unread,
.dokan-dashboard-wrap .dokan-dashboard-content #vendor-own-coupon .code:hover,
.dokan-dashboard .dokan-dash-sidebar,
.wc-setup .wc-setup-steps li.done::before,
body .dokan-dashboard .dokan-dash-sidebar,
body .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu,
html body .dokan-dashboard-wrap .dokan-dash-sidebar,
html body .dokan-dashboard .dokan-dash-sidebar {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    color: #111827 !important;
    width: 250px !important;
    max-width: 250px !important;
}

.dokan-dashboard-wrap .dokan-dash-sidebar * {
    color: inherit;
}

.dokan-dashboard-wrap .dokan-dashboard-content {
    background: #ffffff !important;
}

/* Desktop layout */
@media (min-width: 751px) {
    .dokan-dashboard-wrap {
        display: flex !important;
        background: #ffffff !important;
    }

    .dokan-dashboard-wrap .dokan-dash-sidebar {
        flex: 0 0 250px !important;
        width: 250px !important;
        max-width: 250px !important;
        background: #ffffff !important;
    }

    .dokan-dashboard-wrap .dokan-dashboard-content {
        flex: 1 !important;
        background: #ffffff !important;
    }
}

/* Responsive Modern Sidebar */
@media (max-width: 768px) {
    .modern-sidebar {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem !important;
        width: 100% !important;
    }
}

/* Chart Section Styles */
.chart-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.chart-title {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.chart-container {
    height: 300px;
    position: relative;
    filter: blur(1px);
    opacity: 0.7;
}

.chart-canvas {
    width: 100% !important;
    height: 100% !important;
}

.chart-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #666;
    font-size: 14px;
    background: rgba(255,255,255,0.9);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.chart-placeholder i {
    font-size: 24px;
    color: #94a3b8;
    margin-bottom: 10px;
    display: block;
}

.placeholder-title {
    font-weight: 600;
    margin-bottom: 5px;
}

/* Recent Orders Section */
.recent-orders-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.section-title {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.order-item:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.order-info {
    flex: 1;
}

.order-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.order-meta {
    color: #666;
    font-size: 14px;
}

.order-status {
    flex-shrink: 0;
    margin-left: 1rem;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    min-width: 80px;
    text-align: center;
}

.status-badge.status-wc-completed {
    background: #d4edda;
    color: #155724;
}

.status-badge.status-wc-processing,
.status-badge.status-processing {
    background: #cce5ff;
    color: #004085;
}

.status-badge.status-wc-pending,
.status-badge.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-badge.status-wc-on-hold,
.status-badge.status-on-hold {
    background: #fed7aa;
    color: #9a3412;
}

.status-badge.status-wc-cancelled,
.status-badge.status-cancelled {
    background: #fecaca;
    color: #dc2626;
}

.status-badge.status-wc-refunded,
.status-badge.status-refunded {
    background: #f3f4f6;
    color: #374151;
}

/* No Orders State */
.no-orders {
    text-align: center;
    color: #666;
    padding: 40px;
}

.no-orders i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 15px;
    display: block;
}

.no-orders p {
    margin: 0;
}

/* ===========================================
   ABSOLUTE CSS DOMINANCE - Tailwind Annihilation
   =========================================== */

/* COMPLETE TAILWIND VARIABLE ERADICATION */
:root *,
*,
*:before,
*:after,
[style],
.element,
.elementor-element,
.elementor-element:before,
.elementor-element:after,
.dokan-dashboard-wrap,
.dokan-dashboard-content,
.dokan-dash-sidebar,
[class*="dokan"] {
    /* Complete elimination of ALL Tailwind CSS variables */
    --tw-border-spacing-x: unset !important;
    --tw-border-spacing-y: unset !important;
    --tw-translate-x: unset !important;
    --tw-translate-y: unset !important;
    --tw-rotate: unset !important;
    --tw-skew-x: unset !important;
    --tw-skew-y: unset !important;
    --tw-scale-x: unset !important;
    --tw-scale-y: unset !important;
    --tw-pan-x: unset !important;
    --tw-pan-y: unset !important;
    --tw-pinch-zoom: unset !important;
    --tw-scroll-snap-strictness: unset !important;
    --tw-gradient-from-position: unset !important;
    --tw-gradient-via-position: unset !important;
    --tw-gradient-to-position: unset !important;
    --tw-ordinal: unset !important;
    --tw-slashed-zero: unset !important;
    --tw-numeric-figure: unset !important;
    --tw-numeric-spacing: unset !important;
    --tw-numeric-fraction: unset !important;
    --tw-ring-inset: unset !important;
    --tw-ring-offset-width: unset !important;
    --tw-ring-offset-color: unset !important;
    --tw-ring-color: unset !important;
    --tw-ring-offset-shadow: unset !important;
    --tw-ring-shadow: unset !important;
    --tw-shadow: unset !important;
    --tw-shadow-colored: unset !important;
    --tw-blur: unset !important;
    --tw-brightness: unset !important;
    --tw-contrast: unset !important;
    --tw-grayscale: unset !important;
    --tw-hue-rotate: unset !important;
    --tw-invert: unset !important;
    --tw-saturate: unset !important;
    --tw-sepia: unset !important;
    --tw-drop-shadow: unset !important;
    --tw-backdrop-blur: unset !important;
    --tw-backdrop-brightness: unset !important;
    --tw-backdrop-contrast: unset !important;
    --tw-backdrop-grayscale: unset !important;
    --tw-backdrop-hue-rotate: unset !important;
    --tw-backdrop-invert: unset !important;
    --tw-backdrop-opacity: unset !important;
    --tw-backdrop-saturate: unset !important;
    --tw-backdrop-sepia: unset !important;
    --tw-contain-size: unset !important;
    --tw-contain-layout: unset !important;
    --tw-contain-paint: unset !important;
}

/* ELEMENTOR SPECIFIC CLEANUP */
.elementor *,
.elementor *:before,
.elementor *:after {
    --tw-*: inherit !important;
    --tw-border-spacing-x: inherit !important;
    --tw-translate-x: inherit !important;
    --tw-rotate: inherit !important;
}

/* WORDPRESS CORE CLEANUP */
.wp-block *,
.entry-content * {
    --tw-translate-x: initial !important;
    --tw-scale-x: initial !important;
}

/* ===========================================
   NUCLEAR-FIX FOR DOKAN DASHBOARD + SUBSCRIPTION GRID
   Final comprehensive solution for all layout issues
   =========================================== */

/* ATOMIC-BOMB CSS: FORCE DASHBOARD LAYOUT */
/* Sidebar on LEFT, Content on RIGHT - NO EXCEPTIONS */
.dokan-dashboard-wrap {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    width: 100% !important;
    min-height: calc(100vh - 100px) !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
}

.dokan-dashboard-wrap > .dokan-dash-sidebar,
.dokan-dashboard-wrap .dokan-dash-sidebar {
    width: 250px !important;
    max-width: 250px !important;
    min-width: 250px !important;
    flex: 0 0 250px !important;
    display: block !important;
    visibility: visible !important;
    position: static !important;
    opacity: 1 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 2rem !important;
    margin-bottom: 2rem !important;
    box-sizing: border-box !important;
}

.dokan-dashboard-wrap > .dokan-dashboard-content,
.dokan-dashboard-wrap .dokan-dashboard-content {
    flex: 1 !important;
    width: calc(100% - 250px) !important;
    max-width: calc(100% - 250px) !important;
    min-width: 0 !important;
    display: block !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    padding: 2rem 1rem !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* SUBSCRIPTION GRID USING DOKAN'S EXACT STRUCTURE */
/* From pack-listing.php: .subscription-grid-container -> .subscription-card */
.subscription-grid-container,
.dokan-subscription-content .subscription-grid-container {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    margin: 2rem auto !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 1200px !important;
    box-sizing: border-box !important;
}

/* INDIVIDUAL SUBSCRIPTION CARD STYLING */
/* Matches Dokan card structure from pack-listing.php */
.subscription-card {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 2.5rem 2rem !important;
    min-height: 450px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
}

/* CARD HOVER EFFECTS */
.subscription-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    border-color: #000000 !important;
}

/* CURRENT PLAN BADGE */
.subscription-card.current::before {
    content: '✓ Current Plan' !important;
    position: absolute !important;
    top: -0.75rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    padding: 0.5rem 1rem !important;
    border-radius: 20px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.2) !important;
    z-index: 10 !important;
}

/* CARD CONTENT STYLING */
.subscription-card .plan-header {
    width: 100% !important;
}

.subscription-card .plan-title {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin-bottom: 0.5rem !important;
    border-bottom: 1px solid #e5e7eb !important;
    padding-bottom: 1rem !important;
}

.subscription-card .plan-price {
    margin: 1.5rem 0 !important;
}

.subscription-card .plan-price .price {
    font-size: 2rem !important;
    font-weight: 800 !important;
    color: #000000 !important;
    display: block !important;
}

.subscription-card .plan-price .period {
    font-size: 0.9rem !important;
    color: #6b7280 !important;
    font-weight: 500 !important;
}

/* PLAN FEATURES */
.subscription-card .plan-features {
    margin: 1rem 0 !important;
}

.subscription-card .plan-features .feature {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin: 0.75rem 0 !important;
    font-size: 0.9rem !important;
    color: #6b7280 !important;
}

.subscription-card .plan-features .feature i {
    color: #0ea5e9 !important;
    width: 16px !important;
    text-align: center !important;
}

/* COMMISSION BREAKDOWN */
.subscription-card .commission-breakdown {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.25rem !important;
    font-size: 0.8rem !important;
    margin-top: 0.5rem !important;
}

.subscription-card .commission-breakdown .admin-commission {
    color: #ef4444 !important;
}

.subscription-card .commission-breakdown .vendor-earning {
    color: #059669 !important;
    font-weight: 600 !important;
}

/* PLAN ACTION BUTTON */
.subscription-card .plan-action {
    width: 100% !important;
    margin-top: auto !important;
}

.subscription-card .plan-action .btn,
.subscription-card .plan-action .btn-switch-plan,
.subscription-card .plan-action a {
    display: inline-block !important;
    width: 100% !important;
    background: linear-gradient(135deg, #000000 0%, #374151 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 1rem 2rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    text-align: center !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    transition: all 0.3s ease !important;
    margin-top: auto !important;
}

.subscription-card .plan-action .btn:hover,
.subscription-card .plan-action .btn-switch-plan:hover,
.subscription-card .plan-action a:hover {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25) !important;
}

/* SUBSCRIPTION PAGE HEADER */
.subscription-header {
    text-align: center !important;
    margin-bottom: 3rem !important;
    padding: 2rem 0 !important;
}

.subscription-header h1 {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    color: #111827 !important;
    margin: 0 0 1rem 0 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.subscription-header p {
    font-size: 1.1rem !important;
    color: #6b7280 !important;
    margin: 0 !important;
    max-width: 600px !important;
    margin: 0 auto !important;
    line-height: 1.7 !important;
}

/* SUBSCRIPTION TABS */
.subscription-tabs,
.dokan-subscription-tabs {
    margin-bottom: 2rem !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1) !important;
}

.tabs-nav {
    display: flex !important;
    background: #f8fafc !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.tab-link {
    flex: 1 !important;
    padding: 1.25rem 1.5rem !important;
    text-align: center !important;
    color: #6b7280 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    border-right: 1px solid #e5e7eb !important;
}

.tab-link:last-child {
    border-right: none !important;
}

.tab-link.active {
    background: #000000 !important;
    color: #ffffff !important;
}

.tab-link:hover {
    background: #000000 !important;
    color: #ffffff !important;
}

/* MOBILE RESPONSIVE SUBSCRIPTION CARDS */
@media (max-width: 750px) {
    .subscription-grid-container {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        margin: 1.5rem auto !important;
        padding: 0 0.5rem !important;
    }

    .subscription-card {
        min-height: 320px !important;
        padding: 1.5rem !important;
    }

    .subscription-card .plan-title {
        font-size: 1.25rem !important;
    }

    .subscription-card .plan-price .price {
        font-size: 1.5rem !important;
    }

    .subscription-header h1 {
        font-size: 2rem !important;
        margin-bottom: 0.5rem !important;
    }

    .subscription-tabs {
        margin: 1.5rem 0.5rem 2rem 0.5rem !important;
    }

    .tabs-nav {
        flex-direction: column !important;
    }

    .tab-link {
        border-right: none !important;
        border-bottom: 1px solid #e5e7eb !important;
        padding: 1rem !important;
        text-align: left !important;
    }

    .tab-link:last-child {
        border-bottom: none !important;
    }
}
