/**
 * WHB UI Core Library
 * Consolidated CSS framework for WP Host Billing Plugin
 * Version: 1.2.0
 * 
 * This file contains all common UI components, utilities, and styles
 * to reduce redundancy across multiple CSS files.
 * 
 * Changelog v1.2.0 (Nov 27, 2025):
 * - Removed 5 duplicate CSS class definitions
 * - Removed 4 unused CSS classes
 * - Optimized file structure and reduced redundancy
 * - Total reduction: 2,040 lines (14.5%)
 * 
 * Changelog v1.1.0 (Nov 27, 2025):
 * - Removed 9 duplicate CSS variables
 * - Optimized variable naming for consistency
 * - Reduced total variables from 50 to 41 (18% reduction)
 * - Improved maintainability and clarity
 */

/* ============================================================================
   CSS VARIABLES & THEME
   ========================================================================== */
:root {
    /* Primary Colors */
    --whb-primary: #007cba;
    --whb-primary-dark: #005a87;
    --whb-primary-light: #0096dd;
    --whb-secondary: #23282d;
    --whb-success: #28a745;
    --whb-success-hover: #3a9941;
    --whb-danger: #dc3545;
    --whb-danger-hover: #c02020;
    --whb-warning: #ffc107;
    --whb-info: #17a2b8;
    --whb-error: #d63638;
    
    /* Neutral Colors */
    --whb-white: #ffffff;
    --whb-gray-50: #f9fafb;
    --whb-gray-100: #f8f9fa;
    --whb-gray-200: #e9ecef;
    --whb-gray-300: #dee2e6;
    --whb-gray-400: #ced4da;
    --whb-gray-500: #adb5bd;
    --whb-gray-600: #6c757d;
    --whb-gray-700: #495057;
    --whb-gray-800: #343a40;
    --whb-gray-900: #212529;
    --whb-black: #000000;
    --whb-light: #f8f9fa;
    
    /* Text Colors */
    --whb-text: #333;
    --whb-text-light: #666;
    --whb-text-lighter: #999;
    --whb-text-muted: #646970;
    --whb-text-primary: #1e1e2f;
    --whb-text-secondary: #6c757d;
    
    /* Background Colors */
    --whb-bg: #fff;
    --whb-bg-light: #f7f7f7;
    --whb-bg-lighter: #fafafa;
    --whb-bg-secondary: #f7f7f9;
    --whb-bg-tertiary: #ededf0;
    
    /* Border Colors */
    --whb-border: #ddd;
    --whb-border-light: #e5e5e5;
    --whb-border-color: #e5e7eb;
    
    /* Typography */
    --whb-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --whb-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --whb-font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
    --whb-font-size-base: 16px;
    --whb-font-size-sm: 14px;
    --whb-font-size-lg: 18px;
    --whb-font-size-xl: 24px;
    --whb-line-height: 1.5;
    
    /* Spacing - Systematic Scale */
    --whb-spacing-xs: 4px;
    --whb-spacing-sm: 8px;
    --whb-spacing-md: 16px;
    --whb-spacing-lg: 24px;
    --whb-spacing-xl: 32px;
    --whb-spacing-2xl: 48px;
    
    /* Border Radius - Systematic Scale */
    --whb-radius-sm: 4px;
    --whb-radius-md: 8px;
    --whb-radius-lg: 12px;
    --whb-radius-xl: 16px;
    --whb-radius-full: 9999px;
    
    /* Shadows */
    --whb-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --whb-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --whb-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --whb-shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --whb-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --whb-shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
    
    /* Dashboard Specific */
    --whb-header-height: 64px;
    --whb-sidebar-width: 260px;
    --whb-sidebar-collapsed-width: 70px;
    
    /* Transitions */
    --whb-transition-fast: 150ms ease;
    --whb-transition-base: 300ms ease;
    --whb-transition-slow: 500ms ease;
    --whb-transition: all 0.3s ease;
}

/* ============================================================================
   RESET & BASE STYLES
   ========================================================================== */
.whb-container,
.whb-container * {
    box-sizing: border-box;
}

/* ============================================================================
   LAYOUT UTILITIES
   ========================================================================== */
.whb-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--whb-spacing-md);
}

.whb-container-fluid {
    width: 100%;
    padding: 0 var(--whb-spacing-md);
}

.whb-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 calc(var(--whb-spacing-md) * -1);
}

.whb-col {
    flex: 1;
    padding: 0 var(--whb-spacing-md);
}

.whb-col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.whb-col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.whb-col-3 { flex: 0 0 25%; max-width: 25%; }
.whb-col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.whb-col-6 { flex: 0 0 50%; max-width: 50%; }
.whb-col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.whb-col-9 { flex: 0 0 75%; max-width: 75%; }
.whb-col-12 { flex: 0 0 100%; max-width: 100%; }

/* ============================================================================
   GRID SYSTEM
   ========================================================================== */
.whb-grid {
    display: grid;
    gap: var(--whb-spacing-md);
}

.whb-grid-2 { grid-template-columns: repeat(2, 1fr); }
.whb-grid-3 { grid-template-columns: repeat(3, 1fr); }
.whb-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Responsive Grid */
@media (max-width: 768px) {
    .whb-grid-2,
    .whb-grid-3,
    .whb-grid-4 {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .whb-grid-3,
    .whb-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================================
   CARDS
   ========================================================================== */
.whb-card {
    background: var(--whb-white);
    border-radius: var(--whb-radius-md);
    box-shadow: var(--whb-shadow-md);
    padding: var(--whb-spacing-lg);
    margin-bottom: var(--whb-spacing-md);
    transition: transform var(--whb-transition-fast), box-shadow var(--whb-transition-fast);
}

.whb-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--whb-shadow-lg);
}

.whb-card-header {
    margin-bottom: var(--whb-spacing-md);
    padding-bottom: var(--whb-spacing-md);
    border-bottom: 1px solid var(--whb-gray-200);
}

.whb-card-title {
    margin: 0;
    font-size: var(--whb-font-size-lg);
    font-weight: 600;
    color: var(--whb-gray-900);
}

.whb-card-body {
    padding: var(--whb-spacing-md) 0;
}

.whb-card-footer {
    margin-top: var(--whb-spacing-md);
    padding-top: var(--whb-spacing-md);
    border-top: 1px solid var(--whb-gray-200);
}

/* Card Variants */
.whb-card-primary {
    border-left: 4px solid var(--whb-primary);
}

.whb-card-success {
    border-left: 4px solid var(--whb-success);
}

.whb-card-danger {
    border-left: 4px solid var(--whb-danger);
}

.whb-card-warning {
    border-left: 4px solid var(--whb-warning);
}

/* ============================================================================
   BUTTONS
   ========================================================================== */
.whb-btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: var(--whb-spacing-sm) var(--whb-spacing-lg);
    font-size: var(--whb-font-size-base);
    line-height: var(--whb-line-height);
    border-radius: var(--whb-radius-md);
    transition: all var(--whb-transition-fast);
    cursor: pointer;
    text-decoration: none;
}

.whb-btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.whb-btn:active {
    transform: translateY(0);
}

.whb-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Button Sizes */
.whb-btn-sm {
    padding: var(--whb-spacing-xs) var(--whb-spacing-md);
    font-size: var(--whb-font-size-sm);
}

.whb-btn-lg {
    padding: var(--whb-spacing-md) var(--whb-spacing-xl);
    font-size: var(--whb-font-size-lg);
}



/* Button Variants */
.whb-btn-primary {
    color: var(--whb-white);
    background-color: var(--whb-primary);
    border-color: var(--whb-primary);
}

.whb-btn-primary:hover {
    background-color: var(--whb-primary-dark);
    border-color: var(--whb-primary-dark);
}

.whb-btn-secondary {
    color: var(--whb-white);
    background-color: var(--whb-secondary);
    border-color: var(--whb-secondary);
}

.whb-btn-success {
    color: var(--whb-white);
    background-color: var(--whb-success);
    border-color: var(--whb-success);
}

.whb-btn-danger {
    color: var(--whb-white);
    background-color: var(--whb-danger);
    border-color: var(--whb-danger);
}

.whb-btn-warning {
    color: var(--whb-gray-900);
    background-color: var(--whb-warning);
    border-color: var(--whb-warning);
}

.whb-btn-outline {
    color: var(--whb-primary);
    background-color: transparent;
    border-color: var(--whb-primary);
}

.whb-btn-outline:hover {
    color: var(--whb-white);
    background-color: var(--whb-primary);
}

/* ============================================================================
   FORMS
   ========================================================================== */
.whb-form-group {
    margin-bottom: var(--whb-spacing-md);
}

.whb-form-label {
    display: block;
    margin-bottom: var(--whb-spacing-xs);
    font-weight: 500;
    color: var(--whb-gray-700);
}

.whb-form-control {
    display: block;
    width: 100%;
    padding: var(--whb-spacing-sm) var(--whb-spacing-md);
    font-size: var(--whb-font-size-base);
    line-height: var(--whb-line-height);
    color: var(--whb-gray-900);
    background-color: var(--whb-white);
    border: 1px solid var(--whb-gray-300);
    border-radius: var(--whb-radius-sm);
    transition: border-color var(--whb-transition-fast), box-shadow var(--whb-transition-fast);
}

.whb-form-control:focus {
    outline: none;
    border-color: var(--whb-primary);
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.whb-form-control:disabled {
    background-color: var(--whb-gray-100);
    opacity: 0.6;
    cursor: not-allowed;
}

.whb-form-text {
    display: block;
    margin-top: var(--whb-spacing-xs);
    font-size: var(--whb-font-size-sm);
    color: var(--whb-gray-600);
}

.whb-form-error {
    color: var(--whb-danger);
    font-size: var(--whb-font-size-sm);
    margin-top: var(--whb-spacing-xs);
}

/* Checkbox & Radio */
.whb-form-check {
    display: flex;
    align-items: center;
    margin-bottom: var(--whb-spacing-sm);
}

.whb-form-check-input {
    margin-right: var(--whb-spacing-sm);
}

.whb-form-check-label {
    margin-bottom: 0;
    font-weight: normal;
}

/* ============================================================================
   BADGES & LABELS
   ========================================================================== */
.whb-badge {
    display: inline-block;
    padding: var(--whb-spacing-xs) var(--whb-spacing-sm);
    font-size: var(--whb-font-size-sm);
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: var(--whb-radius-sm);
}

.whb-badge-primary {
    color: var(--whb-white);
    background-color: var(--whb-primary);
}

.whb-badge-success {
    color: var(--whb-white);
    background-color: var(--whb-success);
}

.whb-badge-danger {
    color: var(--whb-white);
    background-color: var(--whb-danger);
}

.whb-badge-warning {
    color: var(--whb-gray-900);
    background-color: var(--whb-warning);
}

.whb-badge-info {
    color: var(--whb-white);
    background-color: var(--whb-info);
}

/* ============================================================================
   ALERTS
   ========================================================================== */
.whb-alert {
    padding: var(--whb-spacing-md);
    margin-bottom: var(--whb-spacing-md);
    border: 1px solid transparent;
    border-radius: var(--whb-radius-md);
}

.whb-alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.whb-alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.whb-alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeaa7;
}

.whb-alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

/* ============================================================================
   MODALS
   ========================================================================== */
.whb-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.whb-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.whb-modal-content {
    background-color: var(--whb-white);
    padding: var(--whb-spacing-xl);
    border-radius: var(--whb-radius-lg);
    width: 90%;
    max-width: 600px;
    box-shadow: var(--whb-shadow-xl);
}

.whb-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--whb-spacing-md);
}

.whb-modal-title {
    margin: 0;
    font-size: var(--whb-font-size-xl);
    font-weight: 600;
}

.whb-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--whb-gray-600);
}

.whb-modal-body {
    margin-bottom: var(--whb-spacing-md);
}

.whb-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: var(--whb-spacing-sm);
}

/* Invoice Modal Styles */
.whb-invoice-modal-content {
    max-width: 900px;
}

.whb-invoice-view {
    padding: 20px;
}

.whb-invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 20px;
}

.whb-invoice-header h3 {
    margin: 0;
    font-size: 24px;
    color: #2271b1;
}

.whb-invoice-info {
    margin-bottom: 30px;
}

.whb-info-row {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.whb-info-row .whb-label {
    font-weight: 600;
    color: #6b7280;
    min-width: 120px;
}

.whb-info-row .whb-value {
    color: #111827;
}

.whb-invoice-items h4 {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #374151;
}

.whb-invoice-items .whb-table {
    margin-bottom: 0;
}

.whb-invoice-items .text-right {
    text-align: right;
}

.whb-invoice-items tfoot tr {
    border-top: 2px solid #e5e7eb;
}

.whb-invoice-items .whb-total-row {
    background-color: #f9fafb;
    font-size: 16px;
}

.whb-invoice-items .whb-total-row td {
    padding: 12px;
}

/* ============================================================================
   TABLES
   ========================================================================== */
.whb-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--whb-spacing-md);
}

.whb-table th,
.whb-table td {
    padding: var(--whb-spacing-sm) var(--whb-spacing-md);
    text-align: left;
    border-bottom: 1px solid var(--whb-gray-200);
}

.whb-table th {
    font-weight: 600;
    background-color: var(--whb-gray-100);
}

.whb-table tr:hover {
    background-color: var(--whb-gray-100);
}

.whb-table-striped tbody tr:nth-child(odd) {
    background-color: var(--whb-gray-50);
}

/* ============================================================================
   LOADING SPINNER
   ========================================================================== */
.whb-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid var(--whb-gray-200);
    border-top-color: var(--whb-primary);
    border-radius: 50%;
    animation: whb-spin 1s linear infinite;
}

@keyframes whb-spin {
    to { transform: rotate(360deg); }
}

.whb-spinner-sm {
    width: 20px;
    height: 20px;
    border-width: 2px;
}

.dashicons.spin {
    animation: whb-spin 1s linear infinite;
    display: inline-block;
}

/* ============================================================================
   PROGRESS BAR
   ========================================================================== */
.whb-progress {
    height: 20px;
    background-color: var(--whb-gray-200);
    border-radius: var(--whb-radius-full);
    overflow: hidden;
}

.whb-progress-bar {
    height: 100%;
    transition: width var(--whb-transition-base);
}

/* ============================================================================
   TABS
   ========================================================================== */
.whb-tabs {
    display: flex;
    border-bottom: 2px solid var(--whb-gray-200);
    margin-bottom: var(--whb-spacing-md);
}

.whb-tab {
    padding: var(--whb-spacing-sm) var(--whb-spacing-md);
    cursor: pointer;
    background-color: var(--whb-gray-200);
    border: 1px solid #00000000;
    margin-bottom: -2px;
    transition: all var(--whb-transition-fast);
}

.whb-tab:hover {
    color: var(--whb-primary);
    background-color: var(--whb-white);
    border: 1px solid var(--whb-primary);
    border-bottom: 2px solid var(--whb-white);
}

.whb-tab.active {
    background-color: var(--whb-white);
    border: 1px solid var(--whb-primary);
    border-bottom: 2px solid var(--whb-white);
    font-weight: 600;
    color: var(--whb-primary);
}

.whb-tab-content {
    display: none;
}

.whb-tab-content.active {
    display: block;
}

/* ============================================================================
   UTILITY CLASSES
   ========================================================================== */
/* Spacing */
.whb-m-0 { margin: 0 !important; }
.whb-mt-1 { margin-top: var(--whb-spacing-xs) !important; }
.whb-mt-2 { margin-top: var(--whb-spacing-sm) !important; }
.whb-mt-3 { margin-top: var(--whb-spacing-md) !important; }
.whb-mt-4 { margin-top: var(--whb-spacing-lg) !important; }
.whb-mb-1 { margin-bottom: var(--whb-spacing-xs) !important; }
.whb-mb-2 { margin-bottom: var(--whb-spacing-sm) !important; }
.whb-mb-3 { margin-bottom: var(--whb-spacing-md) !important; }
.whb-mb-4 { margin-bottom: var(--whb-spacing-lg) !important; }
.whb-p-0 { padding: 0 !important; }
.whb-p-1 { padding: var(--whb-spacing-xs) !important; }
.whb-p-2 { padding: var(--whb-spacing-sm) !important; }
.whb-p-3 { padding: var(--whb-spacing-md) !important; }
.whb-p-4 { padding: var(--whb-spacing-lg) !important; }

/* Text */
.whb-text-center { text-align: center !important; }
.whb-text-left { text-align: left !important; }
.whb-text-right { text-align: right !important; }
.whb-text-bold { font-weight: 600 !important; }
.whb-text-muted { color: var(--whb-gray-600) !important; }
.whb-text-primary { color: var(--whb-primary) !important; }
.whb-text-success { color: var(--whb-success) !important; }
.whb-text-danger { color: var(--whb-danger) !important; }
.whb-text-warning { color: var(--whb-warning) !important; }

/* Display */
.whb-d-none { display: none !important; }
.whb-d-block { display: block !important; }
.whb-d-inline { display: inline !important; }
.whb-d-inline-block { display: inline-block !important; }
.whb-d-flex { display: flex !important; }

/* Flex */
.whb-flex-row { flex-direction: row !important; }
.whb-flex-column { flex-direction: column !important; }
.whb-justify-center { justify-content: center !important; }
.whb-justify-between { justify-content: space-between !important; }
.whb-align-center { align-items: center !important; }
.whb-flex-wrap { flex-wrap: wrap !important; }

/* Width */
.whb-w-25 { width: 25% !important; }
.whb-w-50 { width: 50% !important; }
.whb-w-75 { width: 75% !important; }
.whb-w-100 { width: 100% !important; }

/* ============================================================================
   RESPONSIVE UTILITIES
   ========================================================================== */
@media (max-width: 768px) {
    .whb-hide-mobile { display: none !important; }
}

@media (min-width: 769px) {
    .whb-hide-desktop { display: none !important; }
}

/* ====================================
   Domain Search Shortcode
   ==================================== */
.whb-domain-search-shortcode {
    margin: 20px 0;
}

.whb-ds-container {
    background: var(--whb-bg);
    border-radius: var(--whb-radius-lg);
    padding: 30px;
    box-shadow: var(--whb-shadow);
}

.whb-ds-search-form {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.whb-ds-input {
    flex: 1;
    padding: 14px 18px;
    font-size: 16px;
    border: 2px solid var(--whb-border);
    border-radius: var(--whb-radius-md);
    outline: none;
    transition: var(--whb-transition);
}

.whb-ds-input:focus {
    border-color: var(--whb-primary);
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.whb-ds-search-btn {
    padding: 14px 32px;
    font-size: 16px;
}

.whb-ds-message {
    padding: 12px 16px;
    margin-bottom: 16px;
    border-radius: var(--whb-radius-md);
    font-size: 14px;
}

.whb-ds-message.success {
    background: #e7f4e7;
    color: var(--whb-success);
    border-left: 4px solid var(--whb-success);
}

.whb-ds-message.error {
    background: #fbe7e7;
    color: var(--whb-danger);
    border-left: 4px solid var(--whb-danger);
}

.whb-ds-loading {
    text-align: center;
    padding: 40px;
    color: var(--whb-text-light);
}

.whb-ds-results-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.whb-ds-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border: 2px solid var(--whb-border-light);
    border-radius: var(--whb-radius-md);
    transition: var(--whb-transition);
}

.whb-ds-result:hover {
    border-color: var(--whb-primary);
    box-shadow: var(--whb-shadow);
}

.whb-ds-result.searched {
    background: var(--whb-bg-lighter);
    border-color: var(--whb-primary);
    border-width: 2px;
}

.whb-ds-result.available {
    background: #f0f9f0;
}

.whb-ds-result.unavailable {
    opacity: 0.6;
    background: #fafafa;
}

.whb-ds-result-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.whb-ds-icon {
    font-size: 20px;
    font-weight: bold;
}

.whb-ds-result.available .whb-ds-icon {
    color: var(--whb-success);
}

.whb-ds-result.unavailable .whb-ds-icon {
    color: var(--whb-text-lighter);
}

.whb-ds-domain {
    font-size: 16px;
    font-weight: 600;
    color: var(--whb-text);
}

.whb-ds-status {
    font-size: 14px;
    color: var(--whb-text-light);
    margin-left: auto;
}

.whb-ds-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--whb-primary);
    margin-left: 16px;
}

.whb-ds-add-btn {
    margin-left: 16px;
}

/* Theme: Minimal */
.whb-ds-container.theme-minimal {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.theme-minimal .whb-ds-result {
    border: none;
    border-bottom: 1px solid var(--whb-border-light);
    border-radius: 0;
    padding: 12px 0;
}

/* Theme: Modern */
.whb-ds-container.theme-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.theme-modern .whb-ds-input {
    background: rgba(255, 255, 255, 0.95);
    border: none;
}

.theme-modern .whb-ds-result {
    background: rgba(255, 255, 255, 0.95);
}

/* ====================================
   Hosting/VPS Plans Shortcode
   ==================================== */
.whb-hosting-plans-shortcode,
.whb-vps-plans-shortcode {
    margin: 20px 0;
}

.whb-hp-container {
    padding: 20px 0;
}

.whb-hp-loading {
    text-align: center;
    padding: 60px;
    color: var(--whb-text-light);
    font-size: 16px;
}

.whb-hp-error {
    text-align: center;
    padding: 40px;
    color: var(--whb-danger);
}

/* Grid Layout */
.whb-hp-plans-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.whb-hp-plans-grid.whb-hp-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.whb-hp-plans-grid.whb-hp-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.whb-hp-plans-grid.whb-hp-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* List Layout */
.whb-hp-plans-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.whb-hp-plans-list .whb-hp-plan {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.whb-hp-plans-list .whb-hp-header {
    flex: 1;
}

.whb-hp-plans-list .whb-hp-features {
    flex: 2;
    margin: 0 20px;
}

/* Plan Card */
.whb-hp-plan {
    position: relative;
    background: var(--whb-bg);
    border: 2px solid var(--whb-border-light);
    border-radius: var(--whb-radius-lg);
    padding: 30px;
    transition: var(--whb-transition);
    display: flex;
    flex-direction: column;
}

.whb-hp-plan:hover {
    border-color: var(--whb-primary);
    box-shadow: var(--whb-shadow-hover);
    transform: translateY(-4px);
}

.whb-hp-plan.popular {
    border-color: var(--whb-primary);
    border-width: 3px;
    box-shadow: var(--whb-shadow);
}

.whb-hp-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--whb-primary);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.whb-hp-header {
    margin-bottom: 20px;
    text-align: center;
}

.whb-hp-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--whb-text);
    margin: 0 0 12px 0;
}

.whb-hp-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--whb-primary);
    margin: 0;
}

.whb-hp-description {
    font-size: 14px;
    color: var(--whb-text-light);
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.6;
}

.whb-hp-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    flex: 1;
}

.whb-hp-features li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--whb-text);
    border-bottom: 1px solid var(--whb-border-light);
    position: relative;
    padding-left: 28px;
}

.whb-hp-features li:before {
    content: "âœ“";
    position: absolute;
    left: 0;
    color: var(--whb-success);
    font-weight: bold;
    font-size: 16px;
}

.whb-hp-features li:last-child {
    border-bottom: none;
}

.whb-hp-select-btn {
    width: 100%;
    margin-top: auto;
}

.whb-hp-select-btn.selected {
    background: var(--whb-success);
    cursor: not-allowed;
}

/* ====================================
   Cart Widget
   ==================================== */
.whb-cart-widget-shortcode {
    background: var(--whb-bg);
    border: 1px solid var(--whb-border);
    border-radius: var(--whb-radius-md);
    padding: 20px;
}

.whb-cw-empty {
    text-align: center;
    padding: 30px;
    color: var(--whb-text-light);
    margin: 0;
}

.whb-cw-items {
    margin-bottom: 16px;
}

.whb-cw-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--whb-border-light);
}

.whb-cw-item:last-child {
    border-bottom: none;
}

.whb-cw-item-name {
    flex: 1;
    font-size: 14px;
    color: var(--whb-text);
}

.whb-cw-item-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--whb-primary);
    margin-right: 12px;
}

.whb-cw-remove {
    background: var(--whb-danger);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    transition: var(--whb-transition);
}

.whb-cw-remove:hover {
    background: var(--whb-danger-hover);
    transform: scale(1.1);
}

.whb-cw-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    margin: 16px 0;
    border-top: 2px solid var(--whb-border);
    border-bottom: 2px solid var(--whb-border);
    font-size: 18px;
    font-weight: 700;
    color: var(--whb-text);
}

.whb-cw-checkout {
    width: 100%;
}

/* ====================================
   Responsive Design
   ==================================== */
@media (max-width: 992px) {
    .whb-hp-plans-grid.whb-hp-columns-3,
    .whb-hp-plans-grid.whb-hp-columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .whb-ds-search-form {
        flex-direction: column;
    }
    
    .whb-ds-search-btn {
        width: 100%;
    }
    
    .whb-ds-result {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .whb-ds-result-info {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .whb-ds-add-btn {
        width: 100%;
        margin-left: 0;
    }
    
    .whb-hp-plans-grid {
        grid-template-columns: 1fr;
    }
    
    .whb-hp-plans-list .whb-hp-plan {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .whb-hp-plans-list .whb-hp-features {
        margin: 16px 0;
    }
}

@media (max-width: 480px) {
    .whb-ds-container {
        padding: 20px;
    }
    
    .whb-hp-plan {
        padding: 20px;
    }
    
    .whb-notification {
        left: 10px;
        right: 10px;
        max-width: none;
    }
    
    .whb-notification.show {
        right: 10px;
    }
}



/* ====================================
   Accessibility
   ==================================== */
.whb-btn:focus,
.whb-ds-input:focus {
    outline: 2px solid var(--whb-primary);
    outline-offset: 2px;
}

.whb-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/**
 * Multi-Step Checkout Styles
 * 
 * Responsive and modern design for the 4-step checkout process
 */

/* Main Container */
.whb-checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Progress Bar */
.whb-progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    padding: 0 20px;
    position: relative;
}

.whb-progress-bar::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
}

.whb-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    background: #f8f9fa;
    padding: 0 15px;
}

.whb-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.whb-step.active .whb-step-number {
    background: #007cba;
    color: white;
}

.whb-step.completed .whb-step-number {
    background: #28a745;
    color: white;
}

.whb-step-title {
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    max-width: 100px;
}

.whb-step.active .whb-step-title {
    color: #007cba;
    font-weight: 600;
}

/* Step Content */
.whb-step-content {
    background: white;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    min-height: 500px;
}

.whb-step-panel {
    display: none;
}

.whb-step-panel.active {
    display: block;
}

.whb-step-header {
    text-align: center;
    margin-bottom: 30px;
}

.whb-step-header h2 {
    font-size: 28px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 10px;
}

.whb-step-header p {
    font-size: 16px;
    color: #6c757d;
    margin: 0;
}

/* Product Categories */
.whb-product-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.whb-product-category {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.whb-product-category:hover {
    border-color: #007cba;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 124, 186, 0.1);
}

.whb-product-category.selected {
    border-color: #007cba;
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
    color: white;
}

.whb-category-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.whb-product-category h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: inherit;
}

.whb-product-category p {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.5;
}

.whb-product-category.selected p {
    color: rgba(255, 255, 255, 0.8);
}

.whb-category-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.whb-category-features li {
    font-size: 14px;
    padding: 4px 0;
    color: #495057;
}

.whb-product-category.selected .whb-category-features li {
    color: rgba(255, 255, 255, 0.9);
}

/* Products List */
.whb-products-container {
    animation: fadeIn 0.3s ease;
}

.whb-products-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.whb-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.whb-product-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.whb-product-card:hover {
    border-color: #007cba;
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.15);
}

.whb-product-card.selected {
    border-color: #007cba;
    background: linear-gradient(135deg, #f8fbff 0%, #e6f3ff 100%);
}

.whb-product-card.popular::before {
    content: 'Most Popular';
    position: absolute;
    top: -1px;
    right: 20px;
    background: #ff6b35;
    color: white;
    padding: 5px 15px;
    border-radius: 0 0 8px 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.whb-product-name {
    font-size: 20px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 8px;
}

.whb-product-price {
    font-size: 24px;
    font-weight: 700;
    color: #007cba;
    margin-bottom: 15px;
}

.whb-product-description {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.5;
}

.whb-product-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.whb-product-features li {
    font-size: 14px;
    padding: 4px 0;
    color: #495057;
    display: flex;
    align-items: center;
}

/* Configuration Section */
.whb-config-section {
    margin-bottom: 30px;
}

s {
    margin-bottom: 30px;
}

.whb-domain-choices {
    display: grid;
    gap: 15px;
    margin-bottom: 25px;
}

.whb-domain-option {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.whb-domain-option:hover {
    border-color: #007cba;
    background: #f8fbff;
}

.whb-domain-option input[type="radio"] {
    margin-right: 15px;
    margin-top: 2px;
}
select#whb-subdomain-suffix {
    width: auto;
}
input#whb-subdomain-name {
    width: auto;
}
.whb-option-content strong {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
    color: #212529;
}

.whb-option-content small {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.4;
}

.whb-domain-search {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.whb-domain-search input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.whb-domain-search input:focus {
    outline: none;
    border-color: #007cba;
}

.whb-domain-results {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
    display: none;
}

.whb-domain-results.show {
    display: block;
}

.whb-domain-available {
    color: #28a745;
    font-weight: 600;
}

.whb-domain-unavailable {
    color: #dc3545;
    font-weight: 600;
}

/* VPS Configuration */
.whb-option-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.whb-option-group label {
    font-weight: 600;
    color: #495057;
}

.whb-select,
.whb-option-group input {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.whb-select:focus,
.whb-option-group input:focus {
    outline: none;
    border-color: #007cba;
}

/* Review Section */
.whb-order-review {
    margin-bottom: 30px;
}

.whb-review-sections {
    display: grid;
    gap: 25px;
}

.whb-review-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
}

.whb-review-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #212529;
}

.whb-selected-products {
    display: grid;
    gap: 15px;
}

.whb-selected-product {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.whb-product-info {
    flex: 1;
}

.whb-product-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #212529;
}

.whb-product-info p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

.whb-product-price-review {
    font-size: 18px;
    font-weight: 600;
    color: #007cba;
}

.whb-order-summary {
    background: white;
    padding: 20px;
    border-radius: 6px;
}

.whb-summary-line {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.whb-summary-line:last-child {
    border-bottom: none;
}

.whb-summary-line.whb-total {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    border-top: 2px solid #007cba;
    margin-top: 10px;
    padding-top: 15px;
}

/* Checkout Actions */
.whb-checkout-actions {
    text-align: center;
}

.whb-checkout-summary {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.whb-checkout-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Navigation */
.whb-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .whb-checkout-container {
        padding: 15px;
        margin: 10px;
    }
    
    .whb-progress-bar {
        flex-wrap: wrap;
        gap: 10px;
        padding: 0 10px;
    }
    
    .whb-progress-bar::before {
        display: none;
    }
    
    .whb-step {
        flex: 1;
        min-width: calc(50% - 5px);
    }
    
    .whb-step-title {
        font-size: 12px;
        max-width: none;
    }
    
    .whb-step-content {
        padding: 20px;
    }
    
    .whb-product-categories {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .whb-products-grid {
        grid-template-columns: 1fr;
    }
    
    .whb-domain-search {
        flex-direction: column;
    }
    
    .whb-checkout-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .whb-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .whb-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .whb-step-header h2 {
        font-size: 24px;
    }
    
    .whb-step-header p {
        font-size: 14px;
    }
    
    .whb-product-category {
        padding: 20px 15px;
    }
    
    .whb-category-icon {
        font-size: 36px;
    }
    
    .whb-product-category h3 {
        font-size: 18px;
    }
    
    .whb-step-content {
        padding: 15px;
        min-height: 400px;
    }
}

/* Dark Theme Support */
@media (prefers-color-scheme: dark) {
    .whb-checkout-container.theme-dark {
        background: #1a1a1a;
        color: #ffffff;
    }
    
    .whb-checkout-container.theme-dark .whb-step-content {
        background: #2d2d2d;
        color: #ffffff;
    }
    
    .whb-checkout-container.theme-dark .whb-product-category {
        background: #3d3d3d;
        border-color: #4d4d4d;
        color: #ffffff;
    }
    
    .whb-checkout-container.theme-dark .whb-product-card {
        background: #3d3d3d;
        border-color: #4d4d4d;
        color: #ffffff;
    }
}

/* Print Styles */
@media print {
    .whb-navigation,
    .whb-checkout-buttons {
        display: none;
    }
    
    .whb-checkout-container {
        box-shadow: none;
        background: white;
    }
    
    .whb-step-content {
        background: white;
    }
}

/* Enhanced Domain Configuration Styles */
.whb-domain-type-selection {
    margin-bottom: 25px;
}

.whb-domain-type-selection .whb-domain-choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.whb-domain-search-section {
    margin-bottom: 25px;
}

.whb-domain-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.whb-domain-input-wrapper .whb-input {
    flex: 1;
    min-width: 0;
}

.whb-domain-input-wrapper .whb-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

.whb-help-text {
    font-size: 14px;
    color: #6c757d;
    margin-top: 8px;
    font-style: italic;
}

.whb-transfer-info {
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.whb-transfer-info .whb-info-box h4 {
    margin: 0 0 15px 0;
    color: #0056b3;
    font-size: 16px;
}

.whb-transfer-info ul {
    margin: 0;
    padding-left: 20px;
}

.whb-transfer-info ul li {
    margin-bottom: 8px;
    color: #495057;
}

.whb-domain-results {
    margin: 20px 0;
    animation: fadeIn 0.3s ease-in;
}

.whb-domain-transfer-result {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-bottom: 15px;
}

.whb-transfer-eligible .whb-domain-transfer-result {
    border-color: #28a745;
    background: #f8fff9;
}

.whb-transfer-not-eligible .whb-domain-transfer-result {
    border-color: #dc3545;
    background: #fff8f8;
}

.whb-transfer-actions {
    margin-top: 15px;
    text-align: center;
}

.whb-transfer-info p {
    margin: 10px 0 0 0;
    color: #6c757d;
    font-style: italic;
}

.whb-domain-transfer-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 20px;
    color: #721c24;
}

.whb-error-icon {
    font-size: 18px;
    margin-right: 10px;
}

.whb-error-message strong {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
}

.whb-selected-domain {
    margin: 20px 0;
    animation: slideDown 0.3s ease-out;
}

.whb-domain-summary-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.whb-domain-info .whb-domain-name {
    font-size: 20px;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.whb-domain-info .whb-domain-action {
    font-size: 14px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.whb-domain-price .whb-price {
    font-size: 24px;
    font-weight: 700;
}

.whb-price-addon {
    font-size: 12px;
    color: #28a745;
    font-weight: 600;
    margin-left: 8px;
}

.whb-domain-option .whb-select-domain.selected {
    background: #28a745;
    border-color: #28a745;
    color: white;
}

.whb-domain-option .whb-select-domain.selected:hover {
    background: #1e7e34;
    border-color: #1e7e34;
}

/* Enhanced option groups for domain config */
.whb-domain-options .whb-option-group {
    margin-bottom: 20px;
}

.whb-domain-options .whb-option-group:last-child {
    margin-bottom: 0;
}

.whb-domain-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    margin-bottom: 8px;
}

.whb-domain-options input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #007cba;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 200px;
    }
}

/* Responsive improvements for domain config */
@media (max-width: 768px) {
    .whb-domain-type-selection .whb-domain-choices {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .whb-domain-input-wrapper {
        flex-direction: column;
        gap: 10px;
    }
    
    .whb-domain-summary-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .whb-domain-transfer-result {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* Enhanced Domain Search Results */
.whb-enhanced-domain-results {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.whb-searched-domain-result {
    background: #f8f9fa;
    padding: 20px;
    border-bottom: 1px solid #dee2e6;
}

.whb-searched-domain-result h4 {
    margin: 0 0 15px 0;
    color: #495057;
    font-size: 18px;
    font-weight: 600;
}

.whb-available-domains,
.whb-unavailable-domains {
    background: white;
    padding: 20px;
    border-bottom: 1px solid #dee2e6;
}

.whb-available-domains h4 {
    margin: 0 0 15px 0;
    color: #28a745;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.whb-unavailable-domains h4 {
    margin: 0 0 15px 0;
    color: #dc3545;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.whb-domain-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
}

.whb-domain-option:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.whb-domain-option.whb-domain-available {
    background: #f8fff4;
    border-color: #28a745;
}

.whb-domain-option.whb-domain-unavailable {
    background: #fff5f5;
    border-color: #dc3545;
    opacity: 0.7;
}

.whb-domain-option.whb-popular-extension {
    border-width: 2px;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.whb-domain-info {
    display: flex;
    align-items: left;
    gap: 2px;
    flex: 1;
    flex-direction: column;
}

.whb-domain-name {
    font-weight: 600;
    font-size: 16px;
    color: #495057;
    min-width: 150px;
}

.whb-domain-price {
    font-weight: 600;
    color: #28a745;
    font-size: 14px;
    background: #d4edda;
    padding: 4px 8px;
    border-radius: 4px;
}

.whb-popular-badge {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.whb-domain-status-text {
    color: #6c757d;
    font-size: 14px;
}

.whb-select-domain {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 80px;
}

.whb-select-domain:hover {
    background: #0056b3;
    transform: scale(1.05);
}

.whb-select-domain.selected {
    background: #28a745;
    cursor: default;
}

.whb-select-domain.selected:hover {
    background: #28a745;
    transform: none;
}

.whb-more-unavailable {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    margin-top: 10px;
    padding: 8px;
}

.whb-domain-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: white;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.whb-domain-status {
    font-size: 20px;
    margin-right: 8px;
}



/* Mobile responsive for enhanced search */
@media (max-width: 768px) {
    .whb-domain-option {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .whb-domain-info {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .whb-domain-name {
        min-width: auto;
        text-align: center;
    }
    
    .whb-select-domain {
        align-self: stretch;
        text-align: center;
    }
}

/* ============================================
   ENHANCED DOMAIN-HOSTING INTEGRATION STYLES
   ============================================ */

/* Hide Configuration Details section */
#whb-configuration-summary {
    display: none !important;
}

/* Product card enhancements */
.whb-selected-product {
    position: relative;
    padding: 20px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.whb-selected-product:hover {
    border-color: #007cba;
    box-shadow: 0 2px 8px rgba(0, 124, 186, 0.1);
}

.whb-domain-product {
    border-left: 4px solid #0073aa;
}

.whb-hosting-product {
    border-left: 4px solid #46b450;
}

/* Domain name display */
.whb-domain-name-display {
    font-size: 18px;
    color: #0073aa;
    margin: 8px 0;
}

.whb-domain-name-display strong {
    font-weight: 600;
}

/* Product type label */
.whb-product-type-label {
    color: #646970;
    font-size: 13px;
    margin: 4px 0;
}

/* Hosting domain info */
.whb-hosting-domain-info {
    padding: 10px;
    background: #e7f4e7;
    border-left: 3px solid #46b450;
    border-radius: 4px;
    margin: 8px 0;
}

.whb-hosting-domain-info i.dashicons {
    color: #46b450;
}

.whb-hosting-domain-warning {
    padding: 10px;
    background: #fff3cd;
    border-left: 3px solid #ffc107;
    border-radius: 4px;
    margin: 8px 0;
}

.whb-hosting-domain-warning i.dashicons {
    color: #ffc107;
}

/* No products selected state */
.whb-no-products-selected {
    text-align: center;
    padding: 60px 20px;
    color: #646970;
}

.whb-no-products-selected i.dashicons {
    font-size: 64px;
    width: 64px;
    height: 64px;
    opacity: 0.3;
}

.whb-no-products-selected p {
    margin: 12px 0;
    font-size: 16px;
}

.whb-no-products-selected .whb-hint {
    font-size: 14px;
    color: #999;
}

/* Domain hosting info section */
.whb-domain-hosting-info {
    margin-top: 12px;
    padding: 12px;
    background: #e7f4e7;
    border-left: 3px solid #46b450;
    border-radius: 4px;
}

.whb-domain-hosting-info p {
    margin: 0;
    font-size: 13px;
}

.whb-domain-hosting-info i.dashicons {
    color: #46b450;
}

.whb-unlink-hosting-btn {
    margin-top: 8px;
    font-size: 12px;
    padding: 6px 14px;
    border: 1px solid #999;
    background: #fff;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
}

.whb-unlink-hosting-btn:hover {
    background: #f0f0f1;
    border-color: #666;
}

/* Domain hosting action button */
.whb-domain-hosting-action {
    margin-top: 12px;
}

.whb-add-hosting-for-domain-btn {
    width: 100%;
    padding: 12px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.whb-add-hosting-for-domain-btn:hover {
    background: #005a87;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 115, 170, 0.3);
}

.whb-add-hosting-for-domain-btn i.dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

/* Hosting domain selection */
.whb-hosting-domain-selection {
    margin-top: 12px;
    padding: 12px;
    background: #f0f0f1;
    border-radius: 4px;
}

.whb-hosting-domain-selection label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 13px;
}

.whb-hosting-domain-selection label i.dashicons {
    color: #0073aa;
}

.whb-hosting-domain-selector {
    width: 100%;
    padding: 8px;
    border: 1px solid #8c8f94;
    border-radius: 3px;
    background: #fff;
    font-size: 14px;
}

.whb-hosting-domain-selection p {
    margin: 8px 0 0 0;
    font-size: 12px;
    color: #646970;
}

.whb-hosting-domain-selection i.dashicons-info {
    font-size: 14px;
}

/* Add domain for hosting button */
.whb-add-domain-for-hosting-btn {
    width: 100%;
    padding: 10px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.whb-add-domain-for-hosting-btn:hover {
    background: #005a87;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .whb-selected-product {
        padding: 16px;
    }
    
    .whb-domain-name-display {
        font-size: 16px;
    }
    
    .whb-add-hosting-for-domain-btn {
        padding: 10px;
        font-size: 13px;
    }
    
    .whb-hosting-domain-selection {
        padding: 10px;
    }
}

/* Print styles */
@media print {
    .whb-remove-selected-product,
    .whb-add-hosting-for-domain-btn,
    .whb-unlink-hosting-btn,
    .whb-add-domain-for-hosting-btn,
    .whb-hosting-domain-selector {
        display: none;
    }
}

/* WPHB Host Billing - Domain Management Styles */

/* Main Layout */
.whb-domain-search,
.whb-domain-list,
.whb-domain-management {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Section Headers */
.whb-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f1;
}

.whb-section-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #1e1e1e;
}

/* Domain Search */
.whb-search-form {
    margin-bottom: 30px;
}

.whb-search-input-group {
    display: flex;
    gap: 10px;
    max-width: 600px;
}

.whb-search-input-group input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

.whb-search-input-group input:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
}

.whb-search-results {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.whb-search-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.whb-search-result.available {
    background: #f0f8ff;
    border: 1px solid #0073aa;
}

.whb-search-result.unavailable {
    background: #ffeaea;
    border: 1px solid #d63638;
}

.whb-result-domain {
    font-size: 18px;
    font-weight: 600;
}

.whb-result-status {
    display: flex;
    align-items: center;
    gap: 15px;
}

.status-available {
    color: #00a32a;
    font-weight: 500;
}

.status-unavailable {
    color: #d63638;
    font-weight: 500;
}

/* Domain Suggestions */
.whb-suggestions {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
}

.whb-suggestions h4 {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
}

.whb-suggestions-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px;
}

.whb-suggestion-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 6px;
}

.suggestion-domain {
    font-weight: 500;
}

/* Domain Cards Grid */
.whb-domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.whb-domain-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.whb-domain-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.whb-domain-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.whb-domain-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.whb-info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.whb-info-item strong {
    color: #666;
    font-size: 14px;
}

.whb-expiry-warning {
    background: #fff3cd;
    color: #856404;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    margin: 10px 0;
}

.whb-expiry-danger {
    background: #f8d7da;
    color: #721c24;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    margin: 10px 0;
}

.whb-domain-actions {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    background: #f8f9fa;
}

/* Status Badges */
.whb-status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.whb-status-success {
    background: #d1f2d0;
    color: #00a32a;
}

.whb-status-warning {
    background: #fcf3cd;
    color: #dba617;
}

.whb-status-error {
    background: #f8d7da;
    color: #d63638;
}

.whb-status-info {
    background: #d1ecf1;
    color: #0073aa;
}

.whb-status-default {
    background: #f0f0f1;
    color: #666;
}

/* Tabs */
.whb-tabs {
    margin-top: 30px;
}

.whb-tab-nav {
    display: flex;
    border-bottom: 2px solid #f0f0f1;
    margin-bottom: 30px;
}

.whb-tab-button {
    padding: 15px 25px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
}

.whb-tab-button:hover {
    color: #2271b1;
}

.whb-tab-button.active {
    color: #2271b1;
    border-bottom-color: #2271b1;
}

.whb-tab-panel {
    display: none;
}

.whb-tab-panel.active {
    display: block;
}

/* Forms */
.whb-form {
    max-width: 600px;
}

/* Nameservers */
.whb-nameservers-list p {
    margin-bottom: 15px;
    color: #666;
}

/* DNS Records */
.whb-dns-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.whb-dns-header h4 {
    margin: 0;
}

.whb-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.whb-table th,
.whb-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.whb-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.whb-table tbody tr:hover {
    background: #f8f9fa;
}

.whb-record-type {
    background: #e1f5fe;
    color: #0277bd;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.whb-table code {
    background: #f4f4f4;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 13px;
}

/* SSL Status */
.whb-ssl-status {
    max-width: 600px;
}

.whb-ssl-info {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
}

.whb-ssl-indicator {
    font-size: 48px;
    line-height: 1;
}

.whb-ssl-indicator.ssl-active {
    color: #00a32a;
}

.whb-ssl-indicator.ssl-inactive {
    color: #d63638;
}

.whb-ssl-details h5 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.whb-ssl-details p {
    margin: 5px 0;
    color: #666;
}

.whb-ssl-actions {
    display: flex;
    gap: 15px;
}

/* Settings */
.whb-settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.whb-setting-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
}

.whb-setting-card h5 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
}

.whb-setting-card p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 14px;
}

/* Toggle Switch */
.whb-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.whb-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.whb-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.whb-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.whb-toggle input:checked + .whb-toggle-slider {
    background-color: #2271b1;
}

.whb-toggle input:checked + .whb-toggle-slider:before {
    transform: translateX(26px);
}

/* Domain Information */
.whb-domain-info-section {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
}

.whb-domain-info-section h5 {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
}

.whb-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

/* Modals - using global .whb-modal from line 493 */

.whb-modal-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* Alerts - using global .whb-alert from line 459 */

/* Empty State */
.whb-empty-state {
    text-align: center;
    padding: 60px 20px;
}

.whb-empty-icon {
    font-size: 64px;
    color: #ddd;
    margin-bottom: 20px;
}

.whb-empty-state h4 {
    margin: 0 0 15px 0;
    font-size: 20px;
    color: #666;
}

.whb-empty-state p {
    margin: 0 0 25px 0;
    color: #888;
    font-size: 16px;
}

/* Loading Spinner - using global .whb-spinner from line 583 */

/* Responsive Design */
@media (max-width: 768px) {
    .whb-domain-search,
    .whb-domain-list,
    .whb-domain-management {
        padding: 15px;
    }
    
    .whb-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .whb-domains-grid {
        grid-template-columns: 1fr;
    }
    
    .whb-search-input-group {
        flex-direction: column;
    }
    
    .whb-tab-nav {
        flex-wrap: wrap;
    }
    
    .whb-tab-button {
        flex: 1;
        min-width: 120px;
    }
    
    .whb-settings-grid {
        grid-template-columns: 1fr;
    }
    
    .whb-modal-content {
        width: 95%;
        margin: 2% auto;
    }
    
    .whb-table {
        font-size: 14px;
    }
    
    .whb-table th,
    .whb-table td {
        padding: 8px 10px;
    }
    
    .whb-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* Enhanced Domain Search Results */
.whb-enhanced-search-results {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.whb-available-domains,
.whb-unavailable-domains {
    background: white;
    padding: 20px;
    border-bottom: 1px solid #ddd;
}

.whb-available-domains h4 {
    margin: 0 0 15px 0;
    color: #28a745;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.whb-unavailable-domains h4 {
    margin: 0 0 15px 0;
    color: #dc3545;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.whb-domain-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    transition: all 0.2s ease;
}

.whb-domain-result:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.whb-domain-result.available {
    background: #f8fff4;
    border-color: #28a745;
}

.whb-domain-result.unavailable {
    background: #fff5f5;
    border-color: #dc3545;
    opacity: 0.7;
}

.whb-domain-result.searched {
    border-width: 2px;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.25);
}

.whb-status-icon {
    font-size: 20px;
    font-weight: bold;
}

.whb-domain-name {
    font-weight: 600;
    font-size: 16px;
    color: #333;
    min-width: 150px;
}

.whb-status {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.whb-price {
    font-weight: 600;
    color: #28a745;
    background: #d4edda;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 14px;
}

.whb-more-results {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
    margin-top: 10px;
}

.buy-domain-btn {
    background: #2271b1;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.buy-domain-btn:hover {
    background: #1e60a0;
    transform: scale(1.05);
    color: white;
}

/* Mobile responsive for enhanced search */
@media (max-width: 768px) {
    .whb-domain-result {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .whb-domain-info {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        text-align: center;
    }
    
    .whb-domain-name {
        min-width: auto;
    }
    
    .buy-domain-btn {
        align-self: stretch;
        text-align: center;
    }
}


a.whb-btn, a.whb-btn:visited {
    text-decoration: none !important;
    transition: color 0.3s ease;
}

/* Reset and base styles */
.whb-portal * {
    box-sizing: border-box;
}

/* Portal container */
.whb-portal {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--whb-spacing-lg);
    font-family: var(--whb-font-family);
    line-height: 1.6;
    background: #f0f2f5;
    min-height: 100vh;
}

/* Enhanced Portal header */
.whb-portal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--whb-spacing-lg);
    padding: 32px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: var(--whb-white);
    border-radius: var(--whb-radius-md);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.whb-portal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path d="M0,0 Q25,15 50,0 T100,0 V20 H0 Z" fill="rgba(255,255,255,0.1)"/></svg>') repeat-x;
    background-size: 100px 20px;
    pointer-events: none;
}
.whb-portal-header .whb-btn-outline {
    font-weight: 700;
    color: var(--whb-white);
}

.whb-current-time {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
}

.whb-current-time::before {
    content: 'ðŸ•';
    font-size: 1.1em;
}

.whb-quick-actions {
    display: flex;
    gap: 12px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

/* Enhanced Stats overview */
.whb-stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--whb-spacing-lg);
    margin-bottom: var(--whb-spacing-lg);
}

.whb-stat-card {
    display: flex;
    align-items: center;
    padding: 28px;
    background: var(--whb-white);
    border: 1px solid var(--whb-border);
    border-radius: var(--whb-radius-md);
    box-shadow: var(--whb-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.whb-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--whb-primary) 0%, var(--whb-info) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.whb-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--whb-shadow-hover);
}

.whb-stat-card:hover::before {
    opacity: 1;
}

.whb-stat-icon {
    margin-right: 20px;
    padding: 20px;
    background: linear-gradient(135deg, var(--whb-light) 0%, #e8f0fe 100%);
    border-radius: 50%;
    color: var(--whb-primary);
    position: relative;
}

.whb-stat-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent 50%, rgba(34, 113, 177, 0.1) 100%);
}

.whb-stat-icon .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
    position: relative;
    z-index: 1;
}

.whb-stat-content {
    flex: 1;
}

.whb-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--whb-text);
    line-height: 1;
    margin-bottom: 4px;
    background: linear-gradient(135deg, var(--whb-text) 0%, var(--whb-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.whb-stat-label {
    color: var(--whb-text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Enhanced Sections */
.whb-section {
    margin-bottom: var(--whb-spacing-lg);
    background: var(--whb-white);
    border: 1px solid var(--whb-border);
    border-radius: var(--whb-radius-md);
    overflow: hidden;
    box-shadow: var(--whb-shadow);
    transition: all 0.3s ease;
}

.whb-section:hover {
    box-shadow: var(--whb-shadow-hover);
}

.whb-section-header {
    padding: 24px 32px;
    background: linear-gradient(135deg, var(--whb-light) 0%, #f0f2f5 100%);
    border-bottom: 1px solid var(--whb-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.whb-section-header h3 {
    margin: 0;
    color: var(--whb-text);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.whb-section-header .dashicons {
    color: var(--whb-primary);
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.whb-domain-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Enhanced Tables */
.whb-table-responsive {
    overflow-x: auto;
    margin: 0;
}

.whb-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.95rem;
    background: var(--whb-white);
}

.whb-table th,
.whb-table td {
    padding: 20px 24px;
    text-align: left;
    border-bottom: 1px solid var(--whb-border);
    vertical-align: middle;
}

.whb-table th {
    background: linear-gradient(135deg, var(--whb-light) 0%, #f0f2f5 100%);
    font-weight: 700;
    color: var(--whb-text);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--whb-border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.whb-table tr {
    transition: all 0.2s ease;
}

.whb-table tbody tr:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
    transform: scale(1.001);
}

.whb-table tbody tr:last-child td {
    border-bottom: none;
}

.whb-meta {
    font-size: 0.85rem;
    color: var(--whb-text-muted);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.whb-meta small {
    background: var(--whb-light);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* Enhanced Status badges */
.whb-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.whb-status::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    transform: translateY(-50%);
}

.whb-status-success {
    background: linear-gradient(135deg, #d1e7dd 0%, #a3cfbb 100%);
    color: #0f5132;
    border: 1px solid #badbcc;
}

.whb-status-success::before {
    background: var(--whb-success);
    box-shadow: 0 0 8px rgba(0, 163, 42, 0.5);
}

.whb-status-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #664d03;
    border: 1px solid #ffecb5;
}

.whb-status-warning::before {
    background: var(--whb-warning);
    box-shadow: 0 0 8px rgba(219, 166, 23, 0.5);
}

.whb-status-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5b7b1 100%);
    color: #721c24;
    border: 1px solid #f5c2c7;
}

.whb-status-error::before {
    background: var(--whb-error);
    box-shadow: 0 0 8px rgba(214, 54, 56, 0.5);
}

.whb-status-info {
    background: linear-gradient(135deg, #cff4fc 0%, #b3e5fc 100%);
    color: #055160;
    border: 1px solid #b6effb;
}

.whb-status-info::before {
    background: var(--whb-info);
    box-shadow: 0 0 8px rgba(0, 115, 170, 0.5);
}

.whb-status-default {
    background: linear-gradient(135deg, #e2e3e5 0%, #ced4da 100%);
    color: #41464b;
    border: 1px solid #d3d4d5;
}

.whb-status-default::before {
    background: var(--whb-secondary);
}

/* Enhanced Plan badges */
.whb-plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #e7f3ff 0%, #bbdefb 100%);
    color: var(--whb-primary);
    border: 1px solid #2196f3;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.whb-plan-badge::before {
    content: 'â­';
    font-size: 1em;
}

/* Enhanced Actions */
.whb-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

/* Enhanced Empty states */
.whb-empty-state {
    text-align: center;
    padding: 60px 32px;
    color: var(--whb-text-muted);
    background: linear-gradient(135deg, var(--whb-white) 0%, var(--whb-light) 100%);
    border-radius: var(--whb-radius-md);
    margin: 24px;
}

.whb-empty-icon {
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.whb-empty-icon::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(34, 113, 177, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.whb-empty-icon .dashicons {
    font-size: 64px;
    width: 64px;
    height: 64px;
    color: var(--whb-primary);
    position: relative;
    z-index: 1;
    opacity: 0.7;
}

.whb-empty-state h4 {
    margin: 0 0 12px 0;
    color: var(--whb-text);
    font-size: 1.5rem;
    font-weight: 700;
}

.whb-empty-state p {
    margin: 0 0 32px 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Enhanced Login prompt */
.whb-login-prompt {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 32px;
}

.whb-card h3 {
    margin: 0 0 16px 0;
    color: var(--whb-text);
    font-size: 1.75rem;
    font-weight: 700;
}

.whb-card p {
    margin: 0 0 32px 0;
    color: var(--whb-text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Enhanced Responsive design */
@media (max-width: 1024px) {
    .whb-portal {
        padding: 20px;
    }
    
    .whb-portal-header {
        padding: 24px 32px;
    }
    
    .whb-stats-overview {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .whb-section-header {
        padding: 20px 24px;
    }
    
    .whb-notifications-container {
        width: 350px;
        right: 20px;
    }
}

@media (max-width: 768px) {
    .whb-portal {
        padding: 16px;
        background: var(--whb-white);
    }
    
    .whb-portal-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 24px;
    }
    
    .whb-quick-actions {
        justify-content: center;
        width: 100%;
    }
    
    .whb-stats-overview {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .whb-stat-card {
        justify-content: center;
        text-align: center;
        padding: 24px;
    }
    
    .whb-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
    }
    
    .whb-section-header h3 {
        font-size: 1.25rem;
    }
    
    .whb-domain-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .whb-table {
        font-size: 0.85rem;
    }
    
    .whb-table th,
    .whb-table td {
        padding: 16px 12px;
    }
    
    .whb-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .whb-btn {
        justify-content: center;
        width: 100%;
    }
    
    .whb-notifications-container {
        left: 16px;
        right: 16px;
        width: auto;
        top: 20px;
    }
    
    .whb-notification {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .whb-portal {
        padding: 12px;
    }
    
    .whb-portal-header {
        padding: 20px 16px;
        margin-bottom: 20px;
    }
    
    .whb-current-time {
        font-size: 0.9rem;
    }
    
    .whb-stat-card {
        padding: 20px 16px;
    }
    
    .whb-stat-number {
        font-size: 2rem;
    }
    
    .whb-section-header {
        padding: 16px;
    }
    
    .whb-section-header h3 {
        font-size: 1.1rem;
    }
    
    .whb-table th,
    .whb-table td {
        padding: 12px 8px;
        font-size: 0.8rem;
    }
    
    .whb-empty-state {
        padding: 40px 20px;
    }
    
    .whb-empty-state h4 {
        font-size: 1.25rem;
    }
    
    .whb-card {
        padding: 32px 24px;
        margin: 0 16px;
    }
    
    .whb-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* Print styles */
@media print {
    .whb-portal {
        background: white;
        box-shadow: none;
    }
    
    .whb-portal-header {
        background: #f8f9fa !important;
        color: #1d2327 !important;
        box-shadow: none;
    }
    
    .whb-btn,
    .whb-actions,
    .whb-notifications-container {
        display: none !important;
    }
    
    .whb-section {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .whb-table {
        border: 1px solid #ddd;
    }
    
    .whb-table th {
        background: #f8f9fa !important;
    }
}


/* High contrast mode */
@media (prefers-contrast: high) {
    .whb-btn-outline {
        border-width: 3px;
    }
    
    .whb-status {
        border-width: 2px;
    }
    
    .whb-notification {
        border-left-width: 6px;
    }
}

/* Animation preferences */
@media (prefers-reduced-motion: reduce) {
    .whb-portal *,
    .whb-portal *::before,
    .whb-portal *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}



/* Enhanced Notification System */
.whb-notifications-container {
    position: fixed;
    top: 32px;
    right: 32px;
    z-index: 100001;
    width: 400px;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    pointer-events: none;
}

.whb-notification {
    background: var(--whb-white);
    border-radius: var(--whb-radius-md);
    padding: 20px 24px;
    margin-bottom: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-left: 4px solid var(--whb-primary);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    animation: whbNotificationSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: all;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.whb-notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    z-index: -1;
}

.whb-notification-success {
    border-left-color: var(--whb-success);
}

.whb-notification-success::before {
    background: linear-gradient(135deg, rgba(0, 163, 42, 0.05) 0%, rgba(0, 163, 42, 0.02) 100%);
}

.whb-notification-error {
    border-left-color: var(--whb-error);
}

.whb-notification-error::before {
    background: linear-gradient(135deg, rgba(214, 54, 56, 0.05) 0%, rgba(214, 54, 56, 0.02) 100%);
}

.whb-notification-warning {
    border-left-color: var(--whb-warning);
}

.whb-notification-warning::before {
    background: linear-gradient(135deg, rgba(219, 166, 23, 0.05) 0%, rgba(219, 166, 23, 0.02) 100%);
}

.whb-notification-info {
    border-left-color: var(--whb-info);
}

.whb-notification-info::before {
    background: linear-gradient(135deg, rgba(0, 115, 170, 0.05) 0%, rgba(0, 115, 170, 0.02) 100%);
}

.whb-notification-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.whb-notification-success .whb-notification-icon {
    background: linear-gradient(135deg, var(--whb-success) 0%, #00c851 100%);
    color: var(--whb-white);
}

.whb-notification-error .whb-notification-icon {
    background: linear-gradient(135deg, var(--whb-error) 0%, #ff4444 100%);
    color: var(--whb-white);
}

.whb-notification-warning .whb-notification-icon {
    background: linear-gradient(135deg, var(--whb-warning) 0%, #ffbb33 100%);
    color: var(--whb-white);
}

.whb-notification-info .whb-notification-icon {
    background: linear-gradient(135deg, var(--whb-info) 0%, #33b5e5 100%);
    color: var(--whb-white);
}

.whb-notification-content {
    flex: 1;
    min-width: 0;
}

.whb-notification-title {
    font-weight: 700;
    margin: 0 0 6px 0;
    font-size: 1rem;
    color: var(--whb-text);
    line-height: 1.4;
}

.whb-notification-message {
    margin: 0;
    font-size: 0.9rem;
    color: var(--whb-text-muted);
    line-height: 1.5;
}

.whb-notification-close {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--whb-text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.2s ease;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whb-notification-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--whb-text);
}

.whb-notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--whb-primary);
    animation: whbNotificationProgress 5s linear;
    border-radius: 0 0 var(--whb-radius-md) var(--whb-radius-md);
}

@keyframes whbNotificationSlideIn {
    from {
        transform: translateX(100%) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@keyframes whbNotificationProgress {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

/* Enhanced Server and Domain Features */
.whb-server-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.whb-server-type {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.whb-server-type-whm {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1565c0;
    border: 1px solid #2196f3;
}

.whb-server-type-hestia {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    color: #7b1fa2;
    border: 1px solid #9c27b0;
}

.whb-server-type-unknown {
    background: linear-gradient(135deg, #f5f5f5 0%, #eeeeee 100%);
    color: #616161;
    border: 1px solid #9e9e9e;
}

.whb-domain-features {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.whb-feature-badge {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    color: #2e7d32;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid #4caf50;
    display: flex;
    align-items: center;
    gap: 4px;
}

.whb-auto-renew {
    font-weight: 700;
    font-size: 0.9rem;
}

.whb-auto-renew.enabled {
    color: var(--whb-success);
}

.whb-auto-renew.enabled::before {
    content: 'âœ…';
    margin-right: 4px;
}

.whb-auto-renew.disabled {
    color: var(--whb-error);
}

.whb-auto-renew.disabled::before {
    content: 'âŒ';
    margin-right: 4px;
}

.whb-expiry-warning {
    color: var(--whb-warning);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.whb-expiry-warning::before {
    content: 'âš ï¸';
}

.whb-expiry-danger {
    color: var(--whb-error);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.whb-expiry-danger::before {
    content: 'ðŸ”´';
}


/**
 * WP Host Billing - Authentication Styles
 * 
 * Styles for login/register modals and authentication components
 * 
 * @package WPHB\HostBilling
 * @since 1.0.0
 */

/* ================================
   Auth Modal
   ================================ */

.whb-auth-modal .whb-modal-content {
    max-width: 480px;
    padding: 0;
    overflow: hidden;
}

.whb-auth-modal .whb-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    background: transparent;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.whb-auth-modal .whb-modal-close:hover {
    color: #333;
}

/* ================================
   Auth Tabs
   ================================ */

.whb-auth-tabs {
    display: flex;
    border-bottom: 2px solid #f0f0f0;
    background: #fafafa;
}

.whb-auth-tab {
    flex: 1;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.whb-auth-tab:hover {
    color: var(--whb-primary, #0066cc);
    background: rgba(0, 102, 204, 0.05);
}

.whb-auth-tab.active {
    color: var(--whb-primary, #0066cc);
    background: white;
}

.whb-auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--whb-primary, #0066cc);
}

/* ================================
   Auth Panels
   ================================ */

.whb-auth-panel {
    display: none;
    padding: 2rem;
}

.whb-auth-panel.active {
    display: block;
}

.whb-auth-panel h3 {
    margin: 0 0 1.5rem;
    font-size: 1.5rem;
    color: #333;
    text-align: center;
}

/* ================================
   Auth Forms
   ================================ */

.whb-auth-form {
    width: 100%;
}

.whb-auth-form .whb-form-group {
    margin-bottom: 1.25rem;
}

.whb-auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}

.whb-auth-form input[type="text"],
.whb-auth-form input[type="email"],
.whb-auth-form input[type="password"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.whb-auth-form input[type="text"]:focus,
.whb-auth-form input[type="email"]:focus,
.whb-auth-form input[type="password"]:focus {
    outline: none;
    border-color: var(--whb-primary, #0066cc);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* ================================
   Form Row (Remember Me / Forgot)
   ================================ */

.whb-form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.whb-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    margin: 0;
    font-weight: normal;
}

.whb-checkbox-label input[type="checkbox"] {
    margin: 0;
    cursor: pointer;
}

.whb-checkbox-label span {
    font-size: 0.9rem;
    color: #666;
}

.whb-checkbox-label a {
    color: var(--whb-primary, #0066cc);
    text-decoration: none;
}

.whb-checkbox-label a:hover {
    text-decoration: underline;
}

.whb-forgot-link {
    font-size: 0.9rem;
    color: var(--whb-primary, #0066cc);
    text-decoration: none;
}

.whb-forgot-link:hover {
    text-decoration: underline;
}

/* ================================
   Auth Messages
   ================================ */

.whb-auth-message {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.whb-auth-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.whb-auth-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ================================
   Submit Button
   ================================ */

.whb-auth-form .whb-btn-block {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.whb-auth-form .whb-btn-block:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ================================
   Loading State
   ================================ */

.whb-auth-form.loading {
    pointer-events: none;
    opacity: 0.6;
}

.whb-auth-form.loading .whb-btn-block::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: whb-spin 0.6s linear infinite;
}

/* ================================
   Responsive
   ================================ */

@media (max-width: 576px) {
    .whb-auth-modal .whb-modal-content {
        max-width: 100%;
        margin: 1rem;
    }
    
    .whb-auth-panel {
        padding: 1.5rem;
    }
    
    .whb-auth-tab {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .whb-form-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/**
 * WP Host Billing - Domain Cart Integration Styles
 * CSS for enhanced domain and hosting cart features
 * 
 * @version 2.0.0
 */

/* Domain Options Modal */
.whb-domain-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.whb-domain-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}

.whb-domain-option:hover {
    border-color: #0073aa;
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.15);
}

.whb-option-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f6fc;
    border-radius: 50%;
    color: #0073aa;
    font-size: 24px;
    transition: all 0.3s ease;
}

.whb-domain-option:hover .whb-option-icon {
    background: #0073aa;
    color: #fff;
}

.whb-option-content {
    flex: 1;
}

.whb-option-content h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.whb-option-content p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.whb-modal-description {
    margin: 0 0 20px 0;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* ============================================
   DOMAIN SELECTION MODAL
   ============================================ */

.whb-domain-selection-modal .whb-modal-body p {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.whb-domain-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.whb-domain-option {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.whb-domain-option:hover {
    border-color: #0073aa;
    background: #f8f9fa;
}

.whb-domain-option input[type="radio"] {
    margin-right: 15px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.whb-domain-option input[type="radio"]:checked + .whb-domain-info {
    color: #0073aa;
}

.whb-domain-info strong {
    font-size: 16px;
    font-weight: 600;
}

.whb-domain-type,
.whb-domain-years {
    display: inline-block;
    padding: 4px 10px;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 13px;
    color: #666;
}

.whb-domain-type {
    background: #e3f2fd;
    color: #1976d2;
}

/* ============================================
   HOSTING SUGGESTION MODAL
   ============================================ */

.whb-hosting-suggestion-modal .whb-modal-content {
    max-width: 900px;
}

.whb-suggestion-message {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin: 0 0 30px 0;
}

.whb-hosting-suggestions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.whb-hosting-card {
    position: relative;
    padding: 25px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
}

.whb-hosting-card:hover {
    border-color: #0073aa;
    box-shadow: 0 5px 20px rgba(0, 115, 170, 0.15);
    transform: translateY(-2px);
}

.whb-hosting-card.popular {
    border-color: #0073aa;
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
}

.whb-popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #0073aa;
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.whb-hosting-card h4 {
    margin: 0 0 12px 0;
    font-size: 20px;
    color: #333;
}

.whb-hosting-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    min-height: 60px;
}

.whb-hosting-price {
    margin: 20px 0;
}

.whb-price-amount {
    font-size: 32px;
    font-weight: 700;
    color: #0073aa;
    display: block;
    line-height: 1;
}

.whb-price-period {
    font-size: 14px;
    color: #999;
    margin-top: 5px;
    display: block;
}

.whb-hosting-card .whb-btn {
    width: 100%;
    margin-top: 10px;
}

/* ============================================
   NOTIFICATION SYSTEM
   ============================================ */

#whb-notifications {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000000;
    max-width: 400px;
    width: 100%;
}

.whb-notification {
    display: none;
    padding: 16px 20px;
    margin-bottom: 12px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #fff;
    border-left: 4px solid #ccc;
    animation: whb-notification-slide-in 0.3s ease;
}

@keyframes whb-notification-slide-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.whb-notification-success {
    border-left-color: #28a745;
    background: #d4edda;
}

.whb-notification-error {
    border-left-color: #dc3545;
    background: #f8d7da;
}

.whb-notification-info {
    border-left-color: #17a2b8;
    background: #d1ecf1;
}

.whb-notification-loading {
    border-left-color: #0073aa;
    background: #e3f2fd;
    display: flex !important;
    align-items: center;
    gap: 12px;
}

.whb-notification-message {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.whb-notification-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
    line-height: 1;
}

.whb-notification-close:hover {
    color: #333;
}

.whb-loader {
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0073aa;
    border-radius: 50%;
    animation: whb-spin 0.8s linear infinite;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .whb-modal-content {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
    }
    
    .whb-modal-overlay {
        padding: 0;
    }
    
    .whb-hosting-suggestions {
        grid-template-columns: 1fr;
    }
    
    #whb-notifications {
        left: 20px;
        right: 20px;
        max-width: none;
    }
    
    .whb-modal-header h3 {
        font-size: 20px;
    }
    
    .whb-domain-info {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .whb-modal-header,
    .whb-modal-body,
    .whb-modal-footer {
        padding: 20px;
    }
    
    .whb-hosting-price {
        margin: 15px 0;
    }
    
    .whb-price-amount {
        font-size: 28px;
    }
    
    .whb-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.whb-modal-overlay:focus-within {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

.whb-btn:focus,
.whb-modal-close:focus,
.whb-domain-option input:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

/* Screen reader only text */
.whb-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   ANIMATION PREFERENCES
   ============================================ */


@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================================================
   SUPPORT / TICKETS SYSTEM
   ========================================================================== */

/* Support Container */
.whb-support-container {
    padding: var(--whb-spacing-lg);
}

.whb-support-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--whb-spacing-lg);
}

.whb-support-actions {
    display: flex;
    gap: var(--whb-spacing-sm);
}

/* Support Filters */
.whb-support-filters {
    margin-bottom: var(--whb-spacing-lg);
}

.whb-filter-tabs {
    display: flex;
    gap: var(--whb-spacing-sm);
    border-bottom: 2px solid var(--whb-gray-300);
}

.whb-filter-tab {
    padding: var(--whb-spacing-sm) var(--whb-spacing-md);
    text-decoration: none;
    color: var(--whb-gray-700);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--whb-transition-fast);
}

.whb-filter-tab:hover {
    color: var(--whb-primary);
}

.whb-filter-tab.active {
    color: var(--whb-primary);
    border-bottom-color: var(--whb-primary);
    font-weight: 600;
}

/* Ticket Cards */
.whb-tickets-list {
    display: flex;
    flex-direction: column;
    gap: var(--whb-spacing-md);
}

.whb-ticket-card {
    background: var(--whb-white);
    border: 1px solid var(--whb-gray-300);
    border-radius: var(--whb-radius-md);
    padding: var(--whb-spacing-md);
    transition: var(--whb-transition-fast);
}

.whb-ticket-card:hover {
    box-shadow: var(--whb-shadow-md);
    border-color: var(--whb-primary);
}

.whb-ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--whb-spacing-sm);
}

.whb-ticket-info {
    flex: 1;
}

.whb-ticket-subject {
    margin: 0 0 var(--whb-spacing-xs) 0;
    font-size: var(--whb-font-size-lg);
}

.whb-ticket-subject a {
    color: var(--whb-gray-900);
    text-decoration: none;
}

.whb-ticket-subject a:hover {
    color: var(--whb-primary);
}

.whb-ticket-meta {
    display: flex;
    gap: var(--whb-spacing-md);
    flex-wrap: wrap;
    font-size: var(--whb-font-size-sm);
    color: var(--whb-gray-600);
}

.whb-ticket-id {
    font-weight: 600;
    color: var(--whb-gray-700);
}

.whb-ticket-status {
    display: flex;
    gap: var(--whb-spacing-sm);
    align-items: center;
}

/* Status Badges */
.whb-status-badge,
.whb-priority-badge,
.whb-category-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--whb-radius-full);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.whb-status-badge.whb-status-open {
    background: #e3f2fd;
    color: #1976d2;
}

.whb-status-badge.whb-status-in_progress {
    background: #fff3e0;
    color: #f57c00;
}

.whb-status-badge.whb-status-resolved {
    background: #e8f5e9;
    color: #388e3c;
}

.whb-status-badge.whb-status-closed {
    background: var(--whb-gray-200);
    color: var(--whb-gray-700);
}

.whb-priority-badge.whb-priority-low {
    background: #f1f8e9;
    color: #689f38;
}

.whb-priority-badge.whb-priority-normal {
    background: #e3f2fd;
    color: #1976d2;
}

.whb-priority-badge.whb-priority-high {
    background: #fff3e0;
    color: #f57c00;
}

.whb-priority-badge.whb-priority-urgent {
    background: #ffebee;
    color: #d32f2f;
}

.whb-category-badge {
    background: var(--whb-gray-200);
    color: var(--whb-gray-700);
}

.whb-ticket-category {
    padding: 4px 8px;
    border-radius: var(--whb-radius-sm);
    font-size: 12px;
}

.whb-ticket-category.whb-category-domain {
    background: #e3f2fd;
    color: #1976d2;
}

.whb-ticket-category.whb-category-hosting {
    background: #f3e5f5;
    color: #7b1fa2;
}

.whb-ticket-category.whb-category-billing {
    background: #e8f5e9;
    color: #388e3c;
}

.whb-ticket-category.whb-category-technical {
    background: #fff3e0;
    color: #f57c00;
}

.whb-ticket-category.whb-category-general {
    background: var(--whb-gray-200);
    color: var(--whb-gray-700);
}

.whb-ticket-actions {
    margin-top: var(--whb-spacing-sm);
}

/* Empty State */
.whb-no-tickets {
    text-align: center;
    padding: var(--whb-spacing-2xl);
    background: var(--whb-gray-100);
    border-radius: var(--whb-radius-md);
}

.whb-no-tickets-icon {
    font-size: 48px;
    margin-bottom: var(--whb-spacing-md);
}

.whb-no-tickets h3 {
    margin: 0 0 var(--whb-spacing-sm) 0;
}

/* Ticket View */
.whb-ticket-view {
    background: var(--whb-white);
    border-radius: var(--whb-radius-md);
    padding: var(--whb-spacing-lg);
}

.whb-ticket-title {
    display: flex;
    align-items: center;
    gap: var(--whb-spacing-sm);
}

.whb-ticket-title h2 {
    margin: 0;
}

.whb-ticket-meta {
    margin: var(--whb-spacing-lg) 0;
    padding: var(--whb-spacing-md);
    background: var(--whb-gray-100);
    border-radius: var(--whb-radius-md);
}

.whb-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--whb-spacing-md);
}

.whb-meta-item {
    display: flex;
    gap: var(--whb-spacing-xs);
    align-items: center;
}

.whb-meta-label {
    font-weight: 600;
    color: var(--whb-gray-700);
}

/* Conversation / Replies */
.whb-ticket-conversation {
    margin-top: var(--whb-spacing-xl);
}

.whb-replies-list {
    display: flex;
    flex-direction: column;
    gap: var(--whb-spacing-lg);
    margin: var(--whb-spacing-lg) 0;
}

.whb-reply {
    display: flex;
    gap: var(--whb-spacing-md);
    padding: var(--whb-spacing-md);
    background: var(--whb-gray-100);
    border-radius: var(--whb-radius-md);
}

.whb-reply.whb-admin-reply {
    background: #e3f2fd;
    border-left: 4px solid var(--whb-primary);
}

.whb-reply-avatar {
    flex-shrink: 0;
}

.whb-reply-avatar img {
    border-radius: var(--whb-radius-full);
}

.whb-reply-content {
    flex: 1;
}

.whb-reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--whb-spacing-sm);
}

.whb-reply-author {
    font-weight: 600;
    color: var(--whb-gray-900);
}

.whb-admin-badge {
    display: inline-block;
    margin-left: var(--whb-spacing-xs);
    padding: 2px 8px;
    background: var(--whb-primary);
    color: var(--whb-white);
    border-radius: var(--whb-radius-sm);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.whb-reply-time {
    font-size: var(--whb-font-size-sm);
    color: var(--whb-gray-600);
}

.whb-reply-message {
    color: var(--whb-gray-900);
    line-height: 1.6;
}

/* Add Reply Form */
.whb-add-reply {
    margin-top: var(--whb-spacing-xl);
    padding: var(--whb-spacing-lg);
    background: var(--whb-white);
    border: 1px solid var(--whb-gray-300);
    border-radius: var(--whb-radius-md);
}

.whb-reply-form .whb-form-textarea {
    width: 100%;
    min-height: 120px;
    padding: var(--whb-spacing-md);
    border: 1px solid var(--whb-gray-300);
    border-radius: var(--whb-radius-md);
    font-family: var(--whb-font-family);
    font-size: var(--whb-font-size-base);
}

.whb-ticket-closed-notice {
    padding: var(--whb-spacing-lg);
    background: var(--whb-gray-100);
    border-radius: var(--whb-radius-md);
    text-align: center;
}

/* Create Ticket Form */
.whb-create-ticket {
    background: var(--whb-white);
    border-radius: var(--whb-radius-md);
    padding: var(--whb-spacing-lg);
}

.whb-create-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--whb-spacing-lg);
}

.whb-ticket-form .whb-form-row {
    margin-bottom: var(--whb-spacing-md);
}

.whb-ticket-form .whb-form-row label {
    display: block;
    margin-bottom: var(--whb-spacing-xs);
    font-weight: 600;
    color: var(--whb-gray-900);
}

.whb-ticket-form .whb-form-input,
.whb-ticket-form .whb-form-select,
.whb-ticket-form .whb-form-textarea {
    width: 100%;
    padding: var(--whb-spacing-sm) var(--whb-spacing-md);
    border: 1px solid var(--whb-gray-300);
    border-radius: var(--whb-radius-md);
    font-family: var(--whb-font-family);
    font-size: var(--whb-font-size-base);
    transition: var(--whb-transition-fast);
}

.whb-ticket-form .whb-form-input:focus,
.whb-ticket-form .whb-form-select:focus,
.whb-ticket-form .whb-form-textarea:focus {
    outline: none;
    border-color: var(--whb-primary);
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.whb-ticket-form .whb-form-textarea {
    min-height: 150px;
    resize: vertical;
}

.whb-form-row .whb-form-col {
    display: inline-block;
    width: calc(50% - var(--whb-spacing-sm));
    margin-right: var(--whb-spacing-md);
}

.whb-form-row .whb-form-col:last-child {
    margin-right: 0;
}

.whb-form-actions {
    display: flex;
    gap: var(--whb-spacing-sm);
    margin-top: var(--whb-spacing-lg);
}

/* Button Loading State */
.whb-btn-loading {
    position: relative;
}

.whb-btn-loading .whb-btn-spinner {
    margin-left: var(--whb-spacing-xs);
}

/* Login Prompt */
.whb-support-login-prompt {
    text-align: center;
    padding: var(--whb-spacing-2xl);
    background: var(--whb-gray-100);
    border-radius: var(--whb-radius-md);
}

.whb-login-actions {
    display: flex;
    gap: var(--whb-spacing-sm);
    justify-content: center;
    margin-top: var(--whb-spacing-lg);
}

/* Pagination */
.whb-pagination {
    display: flex;
    justify-content: center;
    gap: var(--whb-spacing-xs);
    margin-top: var(--whb-spacing-lg);
}

.whb-page-link {
    padding: var(--whb-spacing-xs) var(--whb-spacing-sm);
    border: 1px solid var(--whb-gray-300);
    border-radius: var(--whb-radius-sm);
    text-decoration: none;
    color: var(--whb-gray-700);
    transition: var(--whb-transition-fast);
}

.whb-page-link:hover {
    background: var(--whb-gray-100);
    border-color: var(--whb-gray-400);
}

.whb-page-link.current {
    background: var(--whb-primary);
    color: var(--whb-white);
    border-color: var(--whb-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .whb-support-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--whb-spacing-md);
    }
    
    .whb-ticket-header {
        flex-direction: column;
        gap: var(--whb-spacing-sm);
    }
    
    .whb-ticket-meta {
        flex-direction: column;
        gap: var(--whb-spacing-xs);
    }
    
    .whb-form-row .whb-form-col {
        width: 100%;
        margin-right: 0;
        margin-bottom: var(--whb-spacing-md);
    }
    
    .whb-meta-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================================
   SUPPORT TICKET MODAL
   ============================================================================ */

.whb-ticket-form-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whb-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.whb-modal-content {
    position: relative;
    background: var(--whb-white);
    border-radius: var(--whb-radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    margin: 0 auto;
    z-index: 1;
}

.whb-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--whb-spacing-lg);
    border-bottom: 1px solid var(--whb-gray-200);
}

.whb-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--whb-gray-900);
}

.whb-modal-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: var(--whb-spacing-xs);
    color: var(--whb-gray-600);
    transition: var(--whb-transition-fast);
    border-radius: var(--whb-radius-sm);
}

.whb-modal-close:hover {
    background: var(--whb-gray-100);
    color: var(--whb-gray-900);
}

.whb-modal-close .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.whb-ticket-form-modal .whb-ticket-form {
    padding: var(--whb-spacing-lg);
}

.whb-form-row {
    display: flex;
    gap: var(--whb-spacing-md);
    margin-bottom: var(--whb-spacing-md);
}

.whb-form-row .whb-form-group {
    flex: 1;
    margin-bottom: 0;
}

.whb-btn-spinner {
    display: inline-flex;
    align-items: center;
}

.whb-btn-spinner .dashicons {
    animation: whb-spin 1s linear infinite;
}

/* Modal responsive */
@media (max-width: 768px) {
    .whb-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .whb-form-row {
        flex-direction: column;
    }
    
    .whb-modal-header h2 {
        font-size: 1.25rem;
    }
}

/* Filter empty state */
.whb-filter-empty {
    text-align: center;
    padding: var(--whb-spacing-xl);
    color: var(--whb-gray-600);
}

/* ============================================================================
   SINGLE TICKET VIEW
   ============================================================================ */

.whb-ticket-clickable {
    cursor: pointer;
    transition: var(--whb-transition-fast);
}

.whb-ticket-clickable:hover {
    transform: translateY(-2px);
}

.whb-ticket-detail {
    background: var(--whb-white);
    border-radius: var(--whb-radius-md);
    padding: var(--whb-spacing-lg);
    box-shadow: var(--whb-shadow-sm);
}

.whb-ticket-detail-header {
    border-bottom: 1px solid var(--whb-gray-200);
    padding-bottom: var(--whb-spacing-md);
    margin-bottom: var(--whb-spacing-lg);
}

.whb-ticket-detail-header h2 {
    margin: 0 0 var(--whb-spacing-sm) 0;
    color: var(--whb-gray-900);
}

.whb-replies-container {
    margin-bottom: var(--whb-spacing-xl);
}

.whb-replies-container h3 {
    margin-bottom: var(--whb-spacing-md);
    color: var(--whb-gray-900);
}

.whb-reply-form-container {
    margin-top: var(--whb-spacing-xl);
    padding-top: var(--whb-spacing-lg);
    border-top: 2px solid var(--whb-gray-200);
}

.whb-reply-form-container h3 {
    margin-bottom: var(--whb-spacing-md);
    color: var(--whb-gray-900);
}

/* Button variations */
.whb-btn-danger {
    background: #dc3545;
    color: white;
    border: none;
}

.whb-btn-danger:hover {
    background: #c82333;
}

.whb-btn-secondary {
    background: var(--whb-gray-200);
    color: var(--whb-gray-800);
    border: 1px solid var(--whb-gray-300);
}

.whb-btn-secondary:hover {
    background: var(--whb-gray-300);
}

.whb-support-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--whb-spacing-lg);
}

.whb-support-header h2 {
    margin: 0;
}

.whb-support-actions {
    display: flex;
    gap: var(--whb-spacing-sm);
}

/* Responsive for single ticket */
@media (max-width: 768px) {
    .whb-support-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--whb-spacing-md);
    }
    
    .whb-support-actions {
        width: 100%;
    }
    
    .whb-support-actions .whb-btn {
        flex: 1;
    }
}

/* ============================================================================
   DASHBOARD SPECIFIC STYLES
   ========================================================================== */

/* Dashboard Main Container */
.whb-admin-dashboard {
    margin: 20px 20px 20px 0;
}

/* Dashboard Stats Grid */
.whb-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0 20px;
}

/* Stat Card Overrides for Dashboard */
.whb-dashboard-stats .whb-stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.whb-dashboard-stats .whb-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #2271b1 0%, #0073aa 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.whb-dashboard-stats .whb-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: #2271b1;
}

.whb-dashboard-stats .whb-stat-card:hover::before {
    opacity: 1;
}

/* Stat Icon */
.stat-icon {
    font-size: 42px;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Stat Content */
.stat-content {
    flex: 1;
}

.stat-content h3 {
    margin: 0 0 6px;
    font-size: 13px;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-number {
    margin: 0;
    font-size: 32px;
    font-weight: 800;
    color: #2271b1;
    line-height: 1;
    background: linear-gradient(135deg, #2271b1 0%, #0073aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-number.loading {
    color: #999;
    -webkit-text-fill-color: #999;
}

/* Dashboard Grid Layout */
.whb-dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-top: 24px;
}

.whb-dashboard-left,
.whb-dashboard-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Dashboard Cards */
.whb-dashboard-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.whb-dashboard-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.whb-dashboard-card h2 {
    margin: 0 0 20px;
    font-size: 20px;
    color: #23282d;
    font-weight: 700;
    border-bottom: 3px solid #2271b1;
    padding-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whb-dashboard-card h2::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, #2271b1 0%, #0073aa 100%);
    border-radius: 2px;
}

/* Activity List */
.whb-activity-list {
    max-height: 450px;
    overflow-y: auto;
    margin: -8px;
    padding: 8px;
}

.whb-activity-list::-webkit-scrollbar {
    width: 8px;
}

.whb-activity-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.whb-activity-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.whb-activity-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.activity-item {
    padding: 14px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: all 0.2s ease;
    border-radius: 6px;
}

.activity-item:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transform: translateX(4px);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    font-size: 22px;
    line-height: 1;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-weight: 600;
    margin: 0 0 6px;
    color: #23282d;
    font-size: 14px;
}

.activity-meta {
    font-size: 12px;
    color: #666;
}

/* Quick Actions */
.whb-quick-actions {
    display: grid;
    gap: 12px;
}

.whb-action-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.whb-action-btn .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Health Checks */
.whb-health-checks {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.health-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.health-item:hover {
    padding-left: 8px;
}

.health-item:last-child {
    border-bottom: none;
}

.health-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.status-badge.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.status-badge.success::before {
    content: '✓';
}

.status-badge.warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
}

.status-badge.warning::before {
    content: '⚠';
}

.status-badge.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
}

.status-badge.error::before {
    content: '✕';
}

/* Loading State */
.loading {
    opacity: 0.6;
    font-style: italic;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Animation pulse - using global from line 2375 */

/* Server List */
.whb-server-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.server-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.server-item:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-color: #2271b1;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.server-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.server-info strong {
    font-weight: 700;
    color: #23282d;
    font-size: 15px;
}

.server-type {
    display: inline-block;
    padding: 4px 10px;
    background: linear-gradient(135deg, #e0e0e0 0%, #d0d0d0 100%);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Integration Status */
.whb-integration-status {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .whb-dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .whb-dashboard-left,
    .whb-dashboard-right {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .whb-dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .whb-admin-dashboard {
        margin: 10px;
    }
    
    .whb-dashboard-card {
        padding: 16px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .whb-dashboard-nav ul {
        flex-direction: column;
    }
    
    .whb-nav-tab a {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .whb-dashboard-stats {
        gap: 12px;
    }
    
    .whb-dashboard-stats .whb-stat-card {
        padding: 16px;
    }
    
    .stat-icon {
        font-size: 32px;
    }
    
    .stat-number {
        font-size: 20px;
    }
    
    .stat-content h3 {
        font-size: 11px;
    }
}


/* ======================================== */
/* CHECKOUT STYLES */
/* ======================================== */

/**
 * WHB Checkout UI Styles
 * Professional checkout interface using WHB design system
 */

/* ========================================
   Checkout Container
   ======================================== */

.whb-checkout-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.whb-checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    align-items: start;
}

/* ========================================
   Checkout Steps
   ======================================== */

.whb-checkout-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    padding: 0;
    list-style: none;
    counter-reset: step-counter;
}

.whb-checkout-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 10px;
}

.whb-checkout-step::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: #e5e5e5;
    color: #666;
    font-weight: 600;
    font-size: 16px;
}

.whb-checkout-step::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 60%;
    right: -40%;
    height: 2px;
    background: #e5e5e5;
    z-index: -1;
}

.whb-checkout-step:last-child::after {
    display: none;
}

.whb-checkout-step.active::before {
    background: #0073aa;
    color: #fff;
}

.whb-checkout-step.completed::before {
    background: #46b450;
    color: #fff;
    content: '✓';
}

.whb-checkout-step.completed::after {
    background: #46b450;
}

.whb-checkout-step-label {
    display: block;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.whb-checkout-step.active .whb-checkout-step-label {
    color: #0073aa;
    font-weight: 600;
}

/* ========================================
   Cart Summary Section
   ======================================== */

.whb-checkout-cart {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    position: sticky;
    top: 32px;
}

.whb-checkout-cart-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: #23282d;
}

.whb-cart-items {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.whb-cart-item {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.whb-cart-item:last-child {
    border-bottom: none;
}

.whb-cart-item-icon {
    width: 50px;
    height: 50px;
    background: #f5f5f5;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.whb-cart-item-icon .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: #0073aa;
}

.whb-cart-item-details {
    flex: 1;
    min-width: 0;
}

.whb-cart-item-name {
    font-weight: 600;
    font-size: 15px;
    margin: 0 0 5px 0;
    color: #23282d;
}

.whb-cart-item-meta {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.whb-cart-item-price {
    font-weight: 600;
    font-size: 16px;
    color: #23282d;
    white-space: nowrap;
}

.whb-cart-item-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.whb-cart-item-remove {
    color: #d63638;
    text-decoration: none;
    font-size: 13px;
    cursor: pointer;
}

.whb-cart-item-remove:hover {
    text-decoration: underline;
}

/* ========================================
   Cart Totals
   ======================================== */

.whb-cart-totals {
    border-top: 2px solid #f0f0f0;
    padding-top: 15px;
}

.whb-cart-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.whb-cart-total-row.subtotal {
    color: #666;
}

.whb-cart-total-row.discount {
    color: #46b450;
}

.whb-cart-total-row.total {
    font-size: 18px;
    font-weight: 700;
    color: #23282d;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid #0073aa;
}

/* ========================================
   Checkout Form Sections
   ======================================== */

.whb-checkout-main {
    background: #fff;
}

.whb-checkout-section {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
}

.whb-checkout-section-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: #23282d;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whb-checkout-section-title .dashicons {
    color: #0073aa;
}

/* ========================================
   Form Fields
   ======================================== */

.whb-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.whb-form-grid.full-width {
    grid-template-columns: 1fr;
}

.whb-form-field {
    margin-bottom: 0;
}

.whb-form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #23282d;
    font-size: 14px;
}

.whb-form-field label .required {
    color: #d63638;
    margin-left: 3px;
}

.whb-form-field input[type="text"],
.whb-form-field input[type="email"],
.whb-form-field input[type="tel"],
.whb-form-field input[type="password"],
.whb-form-field select,
.whb-form-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.whb-form-field input:focus,
.whb-form-field select:focus,
.whb-form-field textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

.whb-form-field.error input,
.whb-form-field.error select,
.whb-form-field.error textarea {
    border-color: #d63638;
}

.whb-form-field-error {
    color: #d63638;
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

.whb-form-field.error .whb-form-field-error {
    display: block;
}

/* ========================================
   Payment Methods
   ======================================== */

.whb-payment-methods {
    list-style: none;
    padding: 0;
    margin: 0;
}

.whb-payment-method {
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.whb-payment-method:hover {
    border-color: #c3c4c7;
}

.whb-payment-method.active {
    border-color: #0073aa;
}

.whb-payment-method-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.whb-payment-method-radio {
    flex-shrink: 0;
}

.whb-payment-method-logo {
    width: 60px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 4px;
    flex-shrink: 0;
}

.whb-payment-method-logo img {
    max-width: 100%;
    max-height: 100%;
}

.whb-payment-method-details {
    flex: 1;
}

.whb-payment-method-name {
    font-weight: 600;
    font-size: 15px;
    margin: 0 0 4px 0;
    color: #23282d;
}

.whb-payment-method-desc {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.whb-payment-method-content {
    padding: 0 20px 20px;
    border-top: 1px solid #f0f0f0;
    display: none;
}

.whb-payment-method.active .whb-payment-method-content {
    display: block;
}

/* ========================================
   Terms & Conditions
   ======================================== */

.whb-terms-checkbox {
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
}

.whb-terms-checkbox label {
    display: flex;
    align-items: start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
}

.whb-terms-checkbox input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

.whb-terms-checkbox a {
    color: #0073aa;
    text-decoration: none;
}

.whb-terms-checkbox a:hover {
    text-decoration: underline;
}

/* ========================================
   Submit Button
   ======================================== */

.whb-checkout-submit {
    text-align: right;
    margin-top: 30px;
}

.whb-submit-button {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.whb-submit-button:hover {
    background: #005a87;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
}

.whb-submit-button:disabled {
    background: #c3c4c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.whb-submit-button.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: whb-spin 0.6s linear infinite;
}

/* Animation whb-spin - using global from line 593 */

/* ========================================
   Coupon Code
   ======================================== */

.whb-coupon-section {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 6px;
    margin-bottom: 20px;
}

.whb-coupon-form {
    display: flex;
    gap: 10px;
}

.whb-coupon-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.whb-coupon-button {
    padding: 10px 20px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.whb-coupon-button:hover {
    background: #e5e5e5;
}

.whb-applied-coupon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: #d7f0dd;
    border: 1px solid #46b450;
    border-radius: 4px;
    margin-top: 10px;
}

.whb-applied-coupon-code {
    font-weight: 600;
    color: #1e4620;
}

.whb-remove-coupon {
    color: #d63638;
    text-decoration: none;
    cursor: pointer;
    font-size: 13px;
}

.whb-remove-coupon:hover {
    text-decoration: underline;
}

/* ========================================
   Loading State
   ======================================== */

.whb-checkout-loading {
    display: none;
    text-align: center;
    padding: 60px 20px;
}

.whb-checkout-loading.active {
    display: block;
}

.whb-loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f0f0f0;
    border-top-color: #0073aa;
    border-radius: 50%;
    animation: whb-spin 0.8s linear infinite;
    margin: 0 auto 20px;
}

/* ========================================
   Empty Cart
   ======================================== */

.whb-empty-cart {
    text-align: center;
    padding: 60px 20px;
}

.whb-empty-cart-icon {
    font-size: 64px;
    color: #c3c4c7;
    margin-bottom: 20px;
}

.whb-empty-cart-title {
    font-size: 24px;
    font-weight: 600;
    color: #23282d;
    margin-bottom: 10px;
}

.whb-empty-cart-message {
    color: #666;
    margin-bottom: 30px;
}

.whb-continue-shopping {
    display: inline-block;
    padding: 12px 30px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s;
}

.whb-continue-shopping:hover {
    background: #005a87;
    transform: translateY(-1px);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 782px) {
    .whb-checkout-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .whb-checkout-cart {
        position: relative;
        top: 0;
        order: -1;
    }

    .whb-form-grid {
        grid-template-columns: 1fr;
    }

    .whb-checkout-steps {
        flex-direction: column;
        gap: 15px;
    }

    .whb-checkout-step::after {
        display: none;
    }

    .whb-checkout-step {
        display: flex;
        align-items: center;
        text-align: left;
    }

    .whb-checkout-step::before {
        margin: 0 15px 0 0;
    }

    .whb-checkout-section {
        padding: 20px;
    }

    .whb-checkout-submit {
        text-align: center;
    }

    .whb-submit-button {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   Success State
   ======================================== */

.whb-checkout-success {
    max-width: 600px;
    margin: 60px auto;
    text-align: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 60px 40px;
}

.whb-success-icon {
    width: 80px;
    height: 80px;
    background: #46b450;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.whb-success-icon .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: #fff;
}

.whb-success-title {
    font-size: 28px;
    font-weight: 600;
    color: #23282d;
    margin: 0 0 15px 0;
}

.whb-success-message {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.whb-success-invoice {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 30px;
}

.whb-invoice-number {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.whb-invoice-number strong {
    color: #23282d;
    font-size: 18px;
}

.whb-success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.whb-success-button {
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.whb-success-button.primary {
    background: #0073aa;
    color: #fff;
}

.whb-success-button.primary:hover {
    background: #005a87;
}

.whb-success-button.secondary {
    background: #f0f0f0;
    color: #23282d;
}

.whb-success-button.secondary:hover {
    background: #e5e5e5;
}


/* ======================================== */
/* CLIENT PRODUCTS STYLES */
/* ======================================== */

/**
 * WHB Client Products Stylesheet
 * Modern design for product display
 */

.whb-client-products {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ============================================
   Domain Search Hero Section
   ============================================ */
.whb-domain-search-hero {
    background: linear-gradient(135deg, #2d5f5d 0%, #3e7e7c 100%);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.whb-hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.whb-hero-content .whb-highlight {
    color: #ffd700;
}

.whb-hero-content > p {
    font-size: 18px;
    margin: 0 0 30px 0;
    opacity: 0.95;
}

.whb-search-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.whb-tab-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid transparent;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.whb-tab-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.whb-tab-btn.active {
    background: white;
    color: #2d5f5d;
}

.whb-search-box-wrapper {
    display: flex;
    max-width: 600px;
    margin: 0 auto 24px;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.whb-domain-input {
    flex: 1;
    border: none;
    padding: 18px 24px;
    font-size: 16px;
    outline: none;
}

.whb-search-btn {
    background: #46b450;
    border: none;
    color: white;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.whb-search-btn:hover {
    background: #3ea33e;
}

.whb-tld-suggestions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.whb-tld-badge {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.whb-tld-badge:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.whb-tld-badge.hot {
    background: #ff6b6b;
    border-color: #ff6b6b;
}

.whb-hot-label {
    background: #fff;
    color: #ff6b6b;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    margin-left: 6px;
    font-weight: 700;
}

/* ============================================
   Search Results
   ============================================ */
.whb-search-results {
    margin-bottom: 40px;
}

.whb-results-container {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.whb-results-container h3 {
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: 600;
}

.whb-result-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 12px;
    gap: 16px;
}

.whb-result-item.whb-recommended {
    background: #fff8e1;
    border-color: #ffd700;
}

.whb-result-item.whb-available {
    background: #e8f5e9;
    border-color: #46b450;
}

.whb-result-badge {
    background: #ffd700;
    color: #333;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.whb-recommended-badge {
    background: #46b450;
    color: white;
}

.whb-result-content {
    flex: 1;
}

.whb-result-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.whb-result-status {
    font-size: 14px;
    color: #666;
}

.whb-result-price {
    font-size: 18px;
    font-weight: 700;
    color: #46b450;
}

.whb-add-cart-btn {
    background: #46b450;
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.whb-add-cart-btn:hover {
    background: #3ea33e;
}

/* ============================================
   Popular Domains Section
   ============================================ */
.whb-popular-domains {
    margin-bottom: 60px;
}

.whb-popular-domains h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 32px 0;
    text-align: center;
}

.whb-domain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.whb-domain-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.whb-domain-card:hover {
    border-color: #46b450;
    box-shadow: 0 4px 12px rgba(70, 180, 80, 0.2);
    transform: translateY(-4px);
}

.whb-hot-ribbon {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ff6b6b;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.whb-domain-ext {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
}

.whb-domain-unavailable {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #dc3232;
    font-size: 13px;
    font-weight: 600;
}

.whb-domain-unavailable .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.whb-domain-add-btn {
    background: #46b450;
    border: none;
    color: white;
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.whb-domain-add-btn:hover {
    background: #3ea33e;
}

/* ============================================
   Suggested Domains
   ============================================ */
.whb-suggested-domains {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 60px;
}

.whb-suggested-domains h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.whb-extensions-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0 0 24px 0;
}

/* Popular Domains Section */
.whb-popular-domains {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.whb-popular-domains h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.whb-popular-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0 0 24px 0;
}

/* Price Grid Layout (for extension price cards) */
.whb-price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.whb-extension-price-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.whb-extension-price-card:hover {
    border-color: #46b450;
    box-shadow: 0 2px 8px rgba(70, 180, 80, 0.15);
    transform: translateY(-2px);
}

.whb-extension-price-card.whb-hot-domain {
    border-color: #ff6b6b;
    background: linear-gradient(135deg, #fff 0%, #fff5f5 100%);
}

.whb-extension-price-card.whb-hot-domain:hover {
    border-color: #ff4757;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.2);
}

.whb-hot-ribbon {
    position: absolute;
    top: -2px;
    right: -2px;
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
    color: white;
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 0 6px 0 8px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(255, 71, 87, 0.3);
}

.whb-ext-name {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.whb-ext-price {
    font-size: 16px;
    font-weight: 600;
    color: #46b450;
}

/* Domain Pricing Table */
.whb-pricing-table {
    overflow-x: auto;
    margin-bottom: 20px;
}

.whb-domain-pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.whb-domain-pricing-table thead {
    background: linear-gradient(135deg, #46b450 0%, #3ea33e 100%);
}

.whb-domain-pricing-table thead th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.whb-domain-pricing-table thead th:first-child {
    border-radius: 8px 0 0 0;
}

.whb-domain-pricing-table thead th:last-child {
    border-radius: 0 8px 0 0;
}

.whb-domain-pricing-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background 0.2s ease;
}

.whb-domain-pricing-table tbody tr:hover {
    background: #f9f9f9;
}

.whb-domain-pricing-table tbody tr:last-child {
    border-bottom: none;
}

.whb-domain-pricing-table td {
    padding: 14px 20px;
    font-size: 14px;
}

.whb-tld-cell {
    color: #333;
    font-weight: 600;
    font-size: 15px;
}

.whb-price-cell {
    color: #46b450;
    font-weight: 600;
}

/* Responsive table */
@media (max-width: 768px) {
    .whb-domain-pricing-table {
        font-size: 12px;
    }
    
    .whb-domain-pricing-table th,
    .whb-domain-pricing-table td {
        padding: 10px 12px;
    }
    .whb-search-tabs {
        flex-direction: column;
        gap: 8px;
    }
}

/* Legacy suggested item styles (for backward compatibility) */
.whb-suggested-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.whb-suggested-item:hover {
    border-color: #46b450;
    box-shadow: 0 2px 8px rgba(70, 180, 80, 0.15);
}

.whb-suggested-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.whb-suggested-ext {
    font-size: 14px;
    color: #666;
}

.whb-suggested-price {
    font-size: 18px;
    font-weight: 700;
    color: #46b450;
}

.whb-suggested-badge {
    background: #f0f0f0;
    color: #666;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.whb-suggested-add-btn {
    background: #46b450;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.whb-suggested-add-btn:hover {
    background: #3ea33e;
}

.whb-show-more-btn {
    background: #e0e0e0;
    border: none;
    color: #333;
    width: 100%;
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 12px;
    transition: all 0.3s ease;
}

.whb-show-more-btn:hover {
    background: #d0d0d0;
}

/* ============================================
   Hosting/VPS Sections
   ============================================ */
.whb-hosting-section,
.whb-vps-section {
    margin-bottom: 60px;
}

.whb-hosting-section h2,
.whb-vps-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 32px 0;
    text-align: center;
}

.whb-category-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.whb-cat-tab {
    background: white;
    border: 2px solid #e0e0e0;
    color: #333;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.whb-cat-tab:hover {
    border-color: #46b450;
}

.whb-cat-tab.active {
    background: #46b450;
    border-color: #46b450;
    color: white;
}

.whb-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.whb-products-grid[data-category]:not([data-category="0"]) {
    display: none;
}

.whb-products-grid[data-category="0"] {
    display: grid;
}

/* ============================================
   Product Cards
   ============================================ */
.whb-product-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.whb-product-card:hover {
    border-color: #46b450;
    box-shadow: 0 8px 24px rgba(70, 180, 80, 0.15);
    transform: translateY(-8px);
}

.whb-featured-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ffd700;
    color: #333;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.whb-product-name {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #333;
}

.whb-product-desc {
    font-size: 14px;
    color: #666;
    margin: 0 0 24px 0;
    line-height: 1.6;
}

.whb-product-price {
    margin-bottom: 24px;
}

.whb-price-amount {
    font-size: 42px;
    font-weight: 700;
    color: #46b450;
}

.whb-price-term {
    font-size: 18px;
    color: #666;
}

.whb-product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    text-align: left;
}

.whb-product-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 14px;
    color: #666;
}

.whb-product-features .dashicons {
    color: #46b450;
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.whb-select-btn {
    background: #46b450;
    border: none;
    color: white;
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.whb-select-btn:hover {
    background: #3ea33e;
    transform: scale(1.05);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .whb-domain-search-hero {
        padding: 40px 20px;
    }
    
    .whb-hero-content h1 {
        font-size: 32px;
    }

    .whb-domain-input {
        font-size: 14px;
        padding: 14px 16px;
        width: 60%;
    }

    .whb-search-btn.whb-primary-bg {
        padding: 18px 24px;
    }
    .whb-domain-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .whb-suggested-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .whb-products-grid {
        grid-template-columns: 1fr;
    }
    
    .whb-category-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 8px;
    }
}


/* ======================================== */
/* DASHBOARD STYLES */
/* ======================================== */

/**
 * WP Host Billing Dashboard Styles
 * Hostinger-inspired full-screen dashboard layout
 * 
 * @package WPHB\HostBilling
 * @since 1.0.0
 */

/* ===== CSS Variables merged into main :root block above ===== */

/* ===== Reset & Base Styles ===== */
.whb-dashboard-body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--whb-text-primary);
    background: var(--whb-bg-secondary);
    overflow-x: hidden;
}

.whb-dashboard-body * {
    box-sizing: border-box;
}

/* ===== Dashboard Wrapper ===== */
.whb-dashboard-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ===== Header ===== */
.whb-dashboard-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--whb-header-height);
    background: var(--whb-bg);
    border-bottom: 1px solid var(--whb-border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
    box-shadow: var(--whb-shadow-sm);
}

.whb-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.whb-sidebar-toggle {
    display: none;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: none;
    color: var(--whb-text-primary);
    cursor: pointer;
    border-radius: var(--whb-border-radius-sm);
    transition: var(--whb-transition);
}

.whb-sidebar-toggle:hover {
    background: var(--whb-bg-secondary);
}

.whb-header-logo {
    display: flex;
    align-items: center;
}

.whb-logo-img {
    max-height: 40px;
    width: auto;
}

.whb-logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--whb-primary);
    text-decoration: none;
}

.whb-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.whb-header-item {
    position: relative;
}

/* Notifications */
.whb-notification-btn,
.whb-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: var(--whb-radius-md);
    cursor: pointer;
    transition: var(--whb-transition);
    color: var(--whb-text-primary);
    font-size: 14px;
}

.whb-notification-btn:hover,
.whb-user-btn:hover {
    background: var(--whb-bg-secondary);
}

.whb-notification-btn {
    position: relative;
    padding: 8px;
}

.whb-notification-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--whb-danger);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.whb-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.whb-user-name {
    font-weight: 500;
}

/* Dropdowns */
.whb-notification-dropdown,
.whb-user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--whb-bg);
    border: 1px solid var(--whb-border-color);
    border-radius: var(--whb-radius-md);
    box-shadow: var(--whb-shadow-lg);
    min-width: 320px;
    max-height: 400px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--whb-transition);
    z-index: 1001;
}

.whb-notification-dropdown.active,
.whb-user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whb-notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--whb-border-color);
}

.whb-notification-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.whb-mark-all-read {
    padding: 4px 12px;
    background: transparent;
    border: none;
    color: var(--whb-primary);
    font-size: 13px;
    cursor: pointer;
    border-radius: var(--whb-border-radius-sm);
    transition: var(--whb-transition);
}

.whb-mark-all-read:hover {
    background: var(--whb-bg-secondary);
}

.whb-notification-list {
    max-height: 300px;
    overflow-y: auto;
}

.whb-notification-empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--whb-text-muted);
}

.whb-notification-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--whb-border-color);
    cursor: pointer;
    transition: var(--whb-transition);
}

.whb-notification-item:hover {
    background: var(--whb-bg-secondary);
}

.whb-notification-item.unread {
    background: #f0f0ff;
}

.whb-user-dropdown {
    min-width: 240px;
}

.whb-user-info {
    display: flex;
    gap: 12px;
    padding: 16px;
    align-items: center;
}

.whb-user-details {
    flex: 1;
}

.whb-user-display-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.whb-user-email {
    font-size: 12px;
    color: var(--whb-text-secondary);
}

.whb-user-menu-divider {
    height: 1px;
    background: var(--whb-border-color);
    margin: 0;
}

.whb-user-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--whb-text-primary);
    text-decoration: none;
    transition: var(--whb-transition);
}

.whb-user-menu-item:hover {
    background: var(--whb-bg-secondary);
    color: var(--whb-primary);
}

/* ===== Main Layout ===== */
.whb-dashboard-main {
    display: flex;
    margin-top: var(--whb-header-height);
    min-height: calc(100vh - var(--whb-header-height));
}

/* ===== Sidebar ===== */
.whb-dashboard-sidebar {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: var(--whb-header-height);
    width: var(--whb-sidebar-width);
    height: calc(100vh - var(--whb-header-height));
    background: var(--whb-bg);
    border-right: 1px solid var(--whb-border-color);
    overflow-y: auto;
    transition: var(--whb-transition);
    z-index: 999;
}

.whb-sidebar-nav {
    padding: 16px 12px;
}

.whb-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 4px;
    color: var(--whb-text-primary);
    text-decoration: none;
    border-radius: var(--whb-radius-md);
    transition: var(--whb-transition);
    font-weight: 500;
}

.whb-nav-item:hover {
    background: var(--whb-bg-secondary);
    color: var(--whb-primary);
}

.whb-nav-item.active {
    background: var(--whb-primary);
    color: white;
}

.whb-nav-icon {
    flex-shrink: 0;
}

.whb-nav-text {
    flex: 1;
}

.whb-nav-divider {
    height: 1px;
    background: var(--whb-border-color);
    margin: 16px 0;
}

.whb-copyright {
    margin-top: auto;
    padding: 16px;
    font-size: 12px;
    color: var(--whb-text-secondary);
    text-align: center;
    align-content: flex-end;
}
/* ===== Content Area ===== */
.whb-dashboard-content {
    flex: 1;
    margin-left: var(--whb-sidebar-width);
    padding: 24px;
    transition: var(--whb-transition);
}

.whb-content-view {
    max-width: 1400px;
    margin: 0 auto;
}

/* ===== Dashboard Header Section ===== */
.whb-dashboard-header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.whb-dashboard-header-section h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: var(--whb-text-primary);
}

.whb-dashboard-header-section p {
    margin: 4px 0 0;
    color: var(--whb-text-secondary);
}

/* ===== Stats Grid ===== */
.whb-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.whb-stat-card {
    background: var(--whb-bg);
    border-radius: var(--whb-border-radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--whb-shadow);
    transition: var(--whb-transition);
}

.whb-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--whb-shadow-lg);
}

.whb-stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--whb-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.whb-stat-icon.whb-stat-hosting {
    background: rgba(103, 61, 230, 0.1);
    color: var(--whb-primary);
}

.whb-stat-icon.whb-stat-domains {
    background: rgba(0, 176, 144, 0.1);
    color: var(--whb-secondary);
}

.whb-stat-icon.whb-stat-invoices {
    background: rgba(255, 165, 2, 0.1);
    color: var(--whb-warning);
}

.whb-stat-icon.whb-stat-tickets {
    background: rgba(75, 123, 236, 0.1);
    color: var(--whb-info);
}

.whb-stat-content {
    flex: 1;
}

.whb-stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--whb-text-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.whb-stat-label {
    font-size: 13px;
    color: var(--whb-text-secondary);
    font-weight: 500;
}

/* ===== Dashboard Grid ===== */
.whb-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.whb-dashboard-section {
    background: var(--whb-bg);
    border-radius: var(--whb-border-radius-lg);
    padding: 24px;
    box-shadow: var(--whb-shadow);
}

.whb-dashboard-section h2 {
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 600;
}

/* ===== Cards and Lists ===== */
.whb-account-card,
.whb-domain-card,
.whb-ticket-card {
    background: var(--whb-bg);
    border: 1px solid var(--whb-border-color);
    border-radius: var(--whb-radius-lg);
    padding: 24px;
    margin-bottom: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.whb-account-card:hover,
.whb-domain-card:hover,
.whb-ticket-card:hover {
    border-color: var(--whb-primary);
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.15);
    transform: translateY(-2px);
}

.whb-account-header,
.whb-ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--whb-gray-100);
}

.whb-account-title-section {
    display: flex;
    align-items: center;
    gap: 14px;
}

.whb-account-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--whb-primary-light), var(--whb-primary));
    border-radius: var(--whb-radius-md);
    color: white;
    flex-shrink: 0;
}

.whb-account-icon svg {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.whb-account-title-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.whb-account-header h3,
.whb-ticket-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--whb-text-primary);
    line-height: 1.3;
}

.whb-account-subtitle {
    font-size: 13px;
    color: var(--whb-text-secondary);
    font-weight: 500;
}

.whb-account-details,
.whb-ticket-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.whb-account-actions {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--whb-gray-100);
    flex-wrap: wrap;
}

.whb-panel-login,
.whb-manage-hosting,
.whb-view-files {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border: none;
    border-radius: var(--whb-radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

/* Present manage and file btn hidden*/
.whb-manage-hosting,
.whb-view-files {
    display: none;
}

.whb-panel-login {
    background: linear-gradient(135deg, var(--whb-primary), var(--whb-primary-dark));
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 124, 186, 0.3);
}

.whb-panel-login:hover {
    background: linear-gradient(135deg, var(--whb-primary-dark), var(--whb-primary));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.4);
}

.whb-manage-hosting,
.whb-view-files {
    background: var(--whb-white);
    color: var(--whb-primary);
    border: 2px solid var(--whb-primary);
}

.whb-manage-hosting:hover,
.whb-view-files:hover {
    background: var(--whb-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.2);
}

.whb-panel-login svg,
.whb-manage-hosting svg,
.whb-view-files svg {
    width: 16px;
    height: 16px;
}

.whb-panel-login.loading,
.whb-manage-hosting.loading,
.whb-view-files.loading {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.whb-panel-login.loading::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: whb-spinner 0.6s linear infinite;
}

@keyframes whb-spinner {
    to {
        transform: rotate(360deg);
    }
}

.whb-detail-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    background: var(--whb-gray-50);
    border-radius: var(--whb-radius-sm);
    transition: var(--whb-transition);
}

.whb-detail-item:hover {
    background: var(--whb-gray-100);
}

.whb-detail-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--whb-text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.whb-detail-label svg {
    opacity: 0.7;
}

.whb-detail-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--whb-text-primary);
    word-break: break-word;
}

.whb-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid var(--whb-border-color);
}

.whb-list-item:last-child {
    border-bottom: none;
}

.whb-list-item-content {
    display: flex;
    flex-direction: column;
}

.whb-list-item-content strong {
    font-weight: 600;
    margin-bottom: 4px;
}

.whb-list-item-content span {
    font-size: 12px;
    color: var(--whb-text-secondary);
}

/* ===== Status Badges ===== */
.whb-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.whb-status-active {
    background: rgba(38, 222, 129, 0.1);
    color: var(--whb-success);
}

.whb-status-pending {
    background: rgba(255, 165, 2, 0.1);
    color: var(--whb-warning);
}

.whb-status-suspended {
    background: rgba(255, 71, 87, 0.1);
    color: var(--whb-danger);
}

.whb-status-open {
    background: rgba(75, 123, 236, 0.1);
    color: var(--whb-info);
}

.whb-status-closed {
    background: rgba(108, 117, 125, 0.1);
    color: var(--whb-text-secondary);
}

.whb-status-paid {
    background: rgba(38, 222, 129, 0.1);
    color: var(--whb-success);
}

/* ===== Forms ===== */
.whb-settings-form,
.whb-ticket-form {
    background: var(--whb-bg);
    border-radius: var(--whb-border-radius-lg);
    padding: 24px;
    box-shadow: var(--whb-shadow);
    margin-bottom: 24px;
}

.whb-form-section {
    margin-bottom: 32px;
}

.whb-form-section h2 {
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 600;
}

.whb-checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.whb-checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* ===== Tables ===== */
.whb-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--whb-bg);
    border-radius: var(--whb-radius-md);
    overflow: hidden;
}

.whb-table thead {
    background: var(--whb-bg-secondary);
}

.whb-table th,
.whb-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--whb-border-color);
}

.whb-table th {
    font-weight: 600;
    color: var(--whb-text-primary);
}

.whb-table tbody tr:hover {
    background: var(--whb-bg-secondary);
}

.whb-table tbody tr:last-child td {
    border-bottom: none;
}

/* ===== Loading & Empty States ===== */
.whb-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    min-height: 400px;
    background: linear-gradient(135deg, rgba(103, 61, 230, 0.02) 0%, rgba(0, 176, 144, 0.02) 100%);
    border-radius: var(--whb-border-radius-lg);
}

.whb-loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    animation: whb-fade-in 0.4s ease-out;
}

.whb-spinner-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
}

.whb-spinner {
    width: 80px;
    height: 80px;
    border: 5px solid transparent;
    border-top-color: var(--whb-primary);
    border-right-color: var(--whb-primary);
    border-radius: 50%;
    animation: whb-spin 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    position: relative;
}

.whb-spinner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 4px solid transparent;
    border-bottom-color: var(--whb-secondary);
    border-left-color: var(--whb-secondary);
    border-radius: 50%;
    animation: whb-spin-reverse 0.8s linear infinite;
}

.whb-spinner::after {
    content: '';
    position: absolute !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid transparent;
    border-top-color: var(--whb-primary-light);
    border-radius: 50%;
    animation: whb-spin 0.6s infinite;
}

.whb-loading-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--whb-text-primary);
    margin: 0;
    letter-spacing: -0.5px;
}

.whb-loading-text {
    font-size: 14px;
    color: var(--whb-text-secondary);
    margin: 0;
    animation: whb-pulse-text 2s ease-in-out infinite;
}

/* Animation whb-spin - using global from line 593 */

@keyframes whb-spin-reverse {
    to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes whb-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes whb-pulse-text {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.whb-empty-state {
    padding: 40px 20px;
    text-align: center;
    color: var(--whb-text-muted);
    background: var(--whb-bg-secondary);
    border-radius: var(--whb-radius-md);
}

.whb-error {
    padding: 40px 20px;
    text-align: center;
    color: var(--whb-danger);
    background: rgba(255, 71, 87, 0.05);
    border: 1px solid rgba(255, 71, 87, 0.2);
    border-radius: var(--whb-radius-md);
}

.whb-info-message {
    padding: 16px 20px;
    background: rgba(75, 123, 236, 0.05);
    border: 1px solid rgba(75, 123, 236, 0.2);
    border-radius: var(--whb-radius-md);
    color: var(--whb-info);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .whb-sidebar-toggle {
        display: flex;
    }
    
    .whb-dashboard-sidebar {
        transform: translateX(-100%);
    }
    
    .whb-dashboard-sidebar.active {
        transform: translateX(0);
    }
    
    .whb-dashboard-content {
        margin-left: 0;
        padding: 16px;
    }
    
    .whb-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .whb-dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .whb-dashboard-header-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .whb-user-name {
        display: none;
    }
}

@media (max-width: 480px) {
    .whb-header-logo .whb-logo-text {
        font-size: 16px;
    }
    
    .whb-dashboard-header-section h1 {
        font-size: 24px;
    }
    
    .whb-stat-value {
        font-size: 24px;
    }
}

/* ===== Utility Classes ===== */
.whb-mt-1 { margin-top: 8px; }
.whb-mt-2 { margin-top: 16px; }
.whb-mt-3 { margin-top: 24px; }
.whb-mt-4 { margin-top: 32px; }

.whb-mb-1 { margin-bottom: 8px; }
.whb-mb-2 { margin-bottom: 16px; }
.whb-mb-3 { margin-bottom: 24px; }
.whb-mb-4 { margin-bottom: 32px; }

.whb-text-center { text-align: center; }
.whb-text-right { text-align: right; }

.whb-d-flex { display: flex; }
.whb-align-center { align-items: center; }
.whb-justify-between { justify-content: space-between; }

/* ===== Authentication Screen ===== */
.whb-auth-mode {
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.whb-auth-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.whb-auth-wrapper {
    min-height: 600px;
}

.whb-auth-logo {
    max-width: 200px;
    height: auto;
    /* filter: brightness(0) invert(1); */
}

.whb-auth-site-name {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 20px;
    color: white;
}

/*Login Register - Forms */
.whb-auth-box {
    display: flex;
}

.whb-auth-form-container {
    padding: 60px 40px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.whb-auth-branding {
    text-align: center;
    margin-bottom: 20px;
}
.whb-auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    background: var(--whb-bg-secondary);
    padding: 4px;
    border-radius: var(--whb-radius-md);
}

.whb-auth-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-radius: var(--whb-border-radius-sm);
    font-size: 15px;
    font-weight: 600;
    color: var(--whb-text-secondary);
    cursor: pointer;
    transition: var(--whb-transition);
}

.whb-auth-tab:hover {
    color: var(--whb-text-primary);
}

.whb-auth-tab.active {
    background: white;
    color: var(--whb-primary);
    box-shadow: var(--whb-shadow-sm);
}

.whb-auth-form-wrapper {
    display: none;
}

.whb-auth-form-wrapper.active {
    display: block;
    animation: whb-fade-in 0.3s ease;
}

@keyframes whb-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.whb-auth-form-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--whb-text-primary);
}

.whb-auth-form-subtitle {
    font-size: 14px;
    color: var(--whb-text-secondary);
    margin: 0 0 24px;
}

.whb-auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.whb-auth-messages {
    display: none;
    padding: 12px 16px;
    border-radius: var(--whb-radius-md);
    font-size: 14px;
    margin-bottom: 8px;
}

.whb-auth-messages.error {
    display: block;
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: var(--whb-danger);
}

.whb-auth-messages.success {
    display: block;
    background: rgba(38, 222, 129, 0.1);
    border: 1px solid rgba(38, 222, 129, 0.3);
    color: var(--whb-success);
}

.whb-input-icon {
    position: relative;
}

.whb-input-icon svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--whb-text-muted);
    pointer-events: none;
}

.whb-input-icon input {
    padding-left: 44px !important;
}

.whb-input-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--whb-text-secondary);
}

.whb-form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.whb-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--whb-text-primary);
    cursor: pointer;
    user-select: none;
}

.whb-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
}

.whb-forgot-link,
.whb-link {
    color: var(--whb-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--whb-transition);
}

.whb-forgot-link:hover,
.whb-link:hover {
    color: var(--whb-primary-dark);
    text-decoration: underline;
}

.whb-btn-block {
    display: block;
}

.whb-btn-loader {
    display: inline-flex;
}

.whb-spinner-sm {
    animation: whb-spin 0.8s linear infinite;
}

/* Auth Form Responsive */
@media (max-width: 968px) {
    .whb-auth-wrapper {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .whb-auth-box {
        padding: 20px 10px;
    }

    .whb-auth-tagline {
        font-size: 24px;
    }
    
    .whb-auth-features {
        gap: 16px;
    }
    
    .whb-auth-right {
        padding: 40px 30px;
    }
}

@media (max-width: 480px) {
    .whb-auth-mode {
        padding: 10px;
    }

    .whb-auth-logo {
        max-width: 150px;
    }

    .whb-auth-wrapper {
        border-radius: 12px;
    }
    
    .whb-auth-box {
        padding: 20px 10px;
    }
    
    .whb-auth-tagline {
        font-size: 20px;
    }
    
    .whb-auth-form-title {
        font-size: 20px;
    }
    
    .whb-form-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===== Domain Modal Styles ===== */
.whb-domain-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.whb-domain-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.whb-domain-modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.whb-domain-modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--whb-border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.whb-domain-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.whb-domain-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--whb-transition);
    color: white;
}

.whb-domain-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.whb-domain-modal-close .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.whb-domain-modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.whb-domain-modal-loading {
    text-align: center;
    padding: 60px 20px;
}

.whb-domain-modal-loading .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: var(--whb-primary);
    margin-bottom: 16px;
}

.whb-domain-modal-loading p {
    color: var(--whb-text-secondary);
    font-size: 16px;
}

/* Overview Section */
.whb-domain-overview {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.whb-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.whb-overview-item {
    padding: 16px;
    background: var(--whb-bg-secondary);
    border-radius: var(--whb-radius-md);
}

.whb-overview-item label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--whb-text-muted);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.whb-overview-item span {
    font-size: 16px;
    font-weight: 600;
    color: var(--whb-text-primary);
}

.whb-quick-actions {
    padding: 20px;
    background: var(--whb-bg-secondary);
    border-radius: var(--whb-radius-md);
}

.whb-quick-actions h4 {
    margin: 0 0 16px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--whb-text-primary);
}

.whb-quick-actions .whb-btn {
    margin-right: 10px;
    margin-bottom: 10px;
}

/* Settings Section */
.whb-domain-settings {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.whb-setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--whb-bg-secondary);
    border-radius: var(--whb-radius-md);
}

.whb-setting-info {
    flex: 1;
}

.whb-setting-info label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--whb-text-primary);
    margin-bottom: 4px;
}

.whb-setting-info p {
    margin: 0;
    font-size: 13px;
    color: var(--whb-text-secondary);
}

/* Toggle Switch */
.whb-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.whb-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.whb-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

.whb-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.whb-toggle input:checked + .whb-toggle-slider {
    background-color: var(--whb-primary);
}

.whb-toggle input:checked + .whb-toggle-slider:before {
    transform: translateX(24px);
}

/* Nameservers Section */
.whb-nameservers-info {
    padding: 20px;
    background: var(--whb-bg-secondary);
    border-radius: var(--whb-radius-md);
}

.whb-nameservers-info h4 {
    margin: 0 0 16px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--whb-text-primary);
}

.whb-nameservers-list {
    margin-bottom: 20px;
}

.whb-nameserver-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: var(--whb-border-radius-sm);
    margin-bottom: 8px;
}

.whb-ns-label {
    background: var(--whb-primary);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    min-width: 40px;
    text-align: center;
}

.whb-ns-value {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: var(--whb-text-primary);
}

.whb-no-data {
    text-align: center;
    padding: 40px 20px;
    color: var(--whb-text-muted);
    font-size: 14px;
}

/* Domain Details View */
.whb-domain-details-view {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.whb-details-section {
    padding: 20px;
    background: var(--whb-bg-secondary);
    border-radius: var(--whb-radius-md);
}

.whb-details-section h4 {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--whb-text-primary);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--whb-border-color);
}

.whb-details-grid {
    display: grid;
    gap: 16px;
}

.whb-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--whb-border-color);
}

.whb-detail-item:last-child {
    border-bottom: none;
}

.whb-detail-label {
    font-weight: 600;
    color: var(--whb-text-secondary);
    font-size: 13px;
}

.whb-detail-value {
    font-weight: 600;
    color: var(--whb-text-primary);
    font-size: 14px;
}

.whb-text-success {
    color: var(--whb-success) !important;
}

.whb-text-danger {
    color: var(--whb-danger) !important;
}

.whb-text-warning {
    color: var(--whb-warning) !important;
}

.whb-text-muted {
    color: var(--whb-text-muted) !important;
}

.whb-nameservers-display {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.whb-nameserver-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: var(--whb-border-radius-sm);
}

.whb-ns-number {
    background: var(--whb-primary);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    min-width: 40px;
}

.whb-ns-host {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: var(--whb-text-primary);
}

.whb-details-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 20px;
    border-top: 1px solid var(--whb-border-color);
}

.whb-btn-success {
    background: var(--whb-success);
    color: white;
}

.whb-btn-success:hover {
    background: #20c96f;
}

/* Spinning Animation - using global whb-spin from line 593 */

.whb-spin {
    animation: whb-spin 1s linear infinite;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .whb-domain-modal-content {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .whb-domain-modal {
        padding: 0;
    }
    
    .whb-overview-grid {
        grid-template-columns: 1fr;
    }
    
    .whb-domain-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .whb-domain-tab {
        white-space: nowrap;
    }
    
    .whb-details-actions {
        flex-direction: column;
    }
    
    .whb-details-actions .whb-btn {
        width: 100%;
    }
}

/* ==========================================
   Nameserver Form Styles
   ========================================== */

.whb-nameservers-form {
    padding: 20px 0;
}

.whb-nameservers-form h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--whb-text-primary);
}

.whb-help-text {
    margin: 0 0 20px 0;
    font-size: 13px;
    color: var(--whb-text-secondary);
}

.whb-nameserver-field {
    margin-bottom: 16px;
}

.whb-nameserver-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--whb-text-primary);
}

.whb-required {
    color: var(--whb-danger);
    margin-left: 3px;
}

.whb-input-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.whb-nameserver-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--whb-border-color);
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Courier New', monospace;
    transition: all 0.2s;
}

.whb-nameserver-input:focus {
    outline: none;
    border-color: var(--whb-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.whb-nameserver-input.whb-input-error {
    border-color: var(--whb-danger);
    background-color: #fff5f5;
}

.whb-nameserver-input.whb-input-error:focus {
    border-color: var(--whb-danger);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.whb-nameserver-input::placeholder {
    color: #999;
    font-family: 'Courier New', monospace;
}

.whb-btn-icon {
    padding: 8px;
    min-width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--whb-danger);
    transition: all 0.2s;
}

.whb-btn-icon:hover {
    background: var(--whb-danger);
    color: #fff;
    border-color: var(--whb-danger);
}

.whb-btn-icon .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.whb-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--whb-border-color);
}

.whb-form-actions button {
    min-width: 160px;
}

#whb-nameservers-container {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 4px;
}

#whb-nameservers-container::-webkit-scrollbar {
    width: 6px;
}

#whb-nameservers-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#whb-nameservers-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

#whb-nameservers-container::-webkit-scrollbar-thumb:hover {
    background: #999;
}

@media (max-width: 600px) {
    .whb-form-actions {
        flex-direction: column;
    }
    
    .whb-form-actions button {
        width: 100%;
    }
}



/* ======================================== */
/* INLINE AUTH STYLES */
/* ======================================== */

/**
 * WP Host Billing - Inline Authentication UI Styles
 * Unified authentication screen for protected pages
 */

/* Container & Wrapper */
.whb-inline-auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
}

.whb-inline-auth-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1100px;
    width: 100%;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Left Side - Branding */
.whb-inline-auth-left {
    background: linear-gradient(135deg, #673de6 0%, #9b59b6 100%);
    color: white;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.whb-inline-auth-branding {
    margin-bottom: 2rem;
}

.whb-inline-auth-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 1.5rem;
}

.whb-inline-site-name {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 1rem;
    color: white;
}

.whb-inline-auth-tagline {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 1rem;
    line-height: 1.3;
}

.whb-inline-auth-description {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.6;
    margin: 0;
}

/* Features List */
.whb-inline-auth-features {
    margin: 2rem 0;
}

.whb-inline-auth-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    font-size: 15px;
    opacity: 0.95;
}

.whb-inline-auth-feature svg {
    flex-shrink: 0;
    opacity: 0.9;
}

/* Left Footer */
.whb-inline-auth-footer {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    opacity: 0.9;
}

.whb-inline-auth-footer p {
    margin: 0;
}

.whb-inline-link {
    color: white;
    text-decoration: underline;
    font-weight: 500;
    transition: opacity 0.2s;
}

.whb-inline-link:hover {
    opacity: 0.8;
}

/* Right Side - Forms */
.whb-inline-auth-right {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.whb-inline-auth-form-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

/* Tab Navigation */
.whb-inline-auth-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.whb-inline-auth-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 1rem;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.whb-inline-auth-tab svg {
    opacity: 0.7;
    transition: opacity 0.3s;
}

.whb-inline-auth-tab:hover {
    color: #673de6;
}

.whb-inline-auth-tab:hover svg {
    opacity: 1;
}

.whb-inline-auth-tab.active {
    color: #673de6;
}

.whb-inline-auth-tab.active svg {
    opacity: 1;
}

.whb-inline-auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #673de6;
}

/* Form Wrapper */
.whb-inline-auth-form-wrapper {
    display: none;
}

.whb-inline-auth-form-wrapper.active {
    display: block;
    animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Titles */
.whb-inline-form-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 0.5rem;
}

.whb-inline-form-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0 0 2rem;
}

/* Form Messages */
.whb-inline-auth-messages {
    margin-bottom: 1.5rem;
    display: none;
}

.whb-inline-auth-messages.show {
    display: block;
}

.whb-inline-message {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.whb-inline-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.whb-inline-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.whb-inline-message-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Form Groups */
.whb-inline-form-group {
    margin-bottom: 1.5rem;
}

.whb-inline-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.whb-inline-input-icon {
    position: relative;
}

.whb-inline-input-icon svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}

.whb-inline-input-icon input {
    width: 100%;
    padding: 12px 14px 12px 44px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.whb-inline-input-icon input:focus {
    outline: none;
    border-color: #673de6;
    box-shadow: 0 0 0 3px rgba(103, 61, 230, 0.1);
}

.whb-inline-input-hint {
    display: block;
    font-size: 13px;
    color: #666;
    margin-top: 0.5rem;
}

/* Form Row (Remember & Forgot) */
.whb-inline-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

/* Checkbox Label */
.whb-inline-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    font-weight: normal;
}

.whb-inline-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #673de6;
}

.whb-inline-checkbox-label span {
    line-height: 1.4;
}

/* Forgot Link */
.whb-inline-forgot-link {
    font-size: 14px;
    color: #673de6;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.whb-inline-forgot-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 968px) {
    .whb-inline-auth-wrapper {
        grid-template-columns: 1fr;
    }
    
    .whb-inline-auth-left {
        padding: 2rem;
        text-align: center;
    }
    
    .whb-inline-auth-logo {
        margin-left: auto;
        margin-right: auto;
    }
    
    .whb-inline-auth-features {
        text-align: left;
        display: inline-block;
    }
    
    .whb-inline-auth-right {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .whb-inline-auth-container {
        padding: 1rem;
    }
    
    .whb-inline-auth-left,
    .whb-inline-auth-right {
        padding: 1.5rem;
    }
    
    .whb-inline-auth-tabs {
        gap: 0.5rem;
    }
    
    .whb-inline-auth-tab {
        padding: 0.75rem;
        font-size: 14px;
    }
    
    .whb-inline-form-title {
        font-size: 20px;
    }
    
    .whb-inline-form-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}


/* ======================================== */
/* PRODUCT MANAGER STYLES */
/* ======================================== */

/* =========================================================================
   WHB Product Manager - Modern UI Styles
   ========================================================================= */

/* General Styles */
.whb-product-manager,
.whb-category-manager {
    margin: 20px 20px 20px 0;
}

.whb-product-tabs {
    margin-bottom: 30px;
}

.whb-product-tabs .count {
    background: #f0f0f1;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    margin-left: 5px;
}

.whb-product-tabs .nav-tab-active .count {
    background: #2271b1;
    color: #fff;
}

/* Products Grid */
.whb-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

/* Product Card */
.whb-product-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.whb-product-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.whb-product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.whb-product-badge .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.whb-product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.whb-product-type {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.whb-product-type.hosting {
    background: #e3f2fd;
    color: #1976d2;
}

.whb-product-type.vps {
    background: #f3e5f5;
    color: #7b1fa2;
}

.whb-product-type.domain {
    background: #e8f5e9;
    color: #388e3c;
}

.whb-product-status {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.whb-product-status.status-active {
    background: #d4edda;
    color: #155724;
}

.whb-product-status.status-inactive {
    background: #f8d7da;
    color: #721c24;
}

.whb-product-status.status-draft {
    background: #fff3cd;
    color: #856404;
}

.whb-product-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #1d2327;
    line-height: 1.3;
}

.whb-product-description {
    color: #646970;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    min-height: 60px;
}

.whb-product-pricing {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    text-align: center;
}

.whb-price {
    font-size: 28px;
    font-weight: 700;
    color: #2271b1;
    display: block;
}

.whb-price-info {
    font-size: 12px;
    color: #646970;
    display: block;
    margin-top: 4px;
}

/* Domain-specific pricing styles */
.whb-domain-pricing {
    margin-bottom: 8px;
}

.whb-domain-pricing-item {
    display: inline-block;
    margin: 0 8px;
    text-align: center;
}

.whb-price-small {
    font-size: 16px;
    font-weight: 600;
    color: #2271b1;
    display: block;
}

.whb-price-label {
    font-size: 13px;
    color: #2c3338;
    font-weight: 500;
    display: block;
    margin-top: 2px;
}

.whb-price-label-small {
    font-size: 11px;
    color: #646970;
    display: block;
    margin-top: 2px;
}

.whb-product-features {
    margin-bottom: 16px;
}

.whb-product-features ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.whb-product-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 13px;
    color: #646970;
}

.whb-product-features li .dashicons {
    color: #46b450;
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.whb-more-features {
    color: #2271b1;
    font-weight: 600;
    font-style: italic;
}

.whb-product-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
}

.whb-product-actions .button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 12px;
    font-size: 13px;
    transition: all 0.2s ease;
}

.whb-product-actions .button .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}


.whb-manage-addons {
    background: #7b1fa2;
    color: #fff;
    border-color: #7b1fa2;
}

.whb-manage-addons:hover {
    background: #6a1b9a;
    border-color: #6a1b9a;
}

.whb-duplicate-product:hover {
    background: #f0f0f1;
}

.whb-delete-product:hover {
    background: #dc3545;
    color: #fff;
    border-color: #dc3545;
}

/* Empty State */
.whb-empty-state {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 12px;
    border: 2px dashed #d0d0d0;
}

.whb-empty-icon {
    font-size: 64px;
    color: #d0d0d0;
    margin-bottom: 20px;
}

.whb-empty-icon .dashicons {
    width: 64px;
    height: 64px;
    font-size: 64px;
}

.whb-empty-state h3 {
    font-size: 24px;
    margin: 0 0 12px 0;
}

.whb-empty-state p {
    color: #646970;
    margin-bottom: 24px;
}

/* Modal Styles - Dashboard-specific extensions to global .whb-modal (line 493) */
.whb-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.whb-modal-large {
    max-width: 1000px;
}

/* Form Styles */
.whb-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 6px;
}

.required {
    color: #dc3545;
}

.whb-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.whb-pricing-item {
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    padding: 12px;
}

.whb-pricing-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 600;
}

.whb-pricing-item input[type="checkbox"] {
    margin: 0;
}

.whb-pricing-item input[type="number"]:disabled {
    background: #f0f0f1;
    cursor: not-allowed;
}

/* Features List */
#whb-features-list {
    margin-bottom: 16px;
}

.whb-feature-item {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.whb-feature-item input {
    flex: 1;
}

.whb-remove-feature {
    background: #dc3545;
    color: #fff;
    border-color: #dc3545;
}

.whb-remove-feature:hover {
    background: #c82333;
    border-color: #c82333;
}

.whb-add-feature {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Categories */
.whb-categories-tree {
    margin-top: 30px;
}

.whb-category-item {
    margin-bottom: 30px;
}

.whb-category-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.whb-category-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.whb-category-parent > .whb-category-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.whb-category-parent > .whb-category-card h3 {
    color: #fff;
}

.whb-category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.whb-category-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whb-category-icon .dashicons {
    width: 24px;
    height: 24px;
    font-size: 24px;
}

.whb-category-info h3,
.whb-category-info h4 {
    margin: 0 0 8px 0;
    font-size: 20px;
}

.whb-category-info p {
    margin: 0 0 12px 0;
    opacity: 0.9;
}

.whb-category-meta {
    display: flex;
    gap: 12px;
    align-items: center;
}

.whb-category-status {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
}

.whb-category-count {
    font-size: 12px;
    opacity: 0.8;
}

.whb-category-actions {
    display: flex;
    gap: 8px;
}

.whb-subcategories {
    margin-top: 16px;
    padding-left: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.whb-category-child {
    background: #f8f9fa;
}

.whb-category-child .whb-category-icon {
    background: #e0e0e0;
    color: #646970;
}

.whb-category-child h4 {
    font-size: 16px;
}

/* Addons */
.whb-addons-header {
    margin-bottom: 24px;
}

#whb-addons-list {
    margin-top: 20px;
}

.whb-addons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.whb-addon-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.whb-addon-card:hover {
    border-color: #2271b1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.whb-addon-card h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #1e1e1e;
}

.whb-addon-card p {
    color: #666;
    font-size: 14px;
    margin: 8px 0;
    line-height: 1.5;
}

.whb-addon-price {
    font-size: 24px;
    font-weight: 700;
    color: #2271b1;
    margin: 12px 0;
}

.whb-addon-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
}

.whb-addon-form {
    background: #f9f9f9;
    border: 2px solid #2271b1;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
}

.whb-addon-form h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #1e1e1e;
}

.whb-addon-form .whb-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.whb-addon-form .whb-form-group {
    margin-bottom: 16px;
}

.whb-addon-form .whb-form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #1e1e1e;
}

.whb-addon-form .whb-form-group input,
.whb-addon-form .whb-form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.whb-addon-form .whb-form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.whb-addon-info h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
}

.whb-addon-meta {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.whb-addon-type,
.whb-addon-price,
.whb-addon-cycle {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    background: #f0f0f1;
}

.whb-addon-actions {
    display: flex;
    gap: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .whb-products-grid {
        grid-template-columns: 1fr;
    }
    
    .whb-form-row {
        grid-template-columns: 1fr;
    }
    
    .whb-subcategories {
        padding-left: 20px;
        grid-template-columns: 1fr;
    }
    
    .whb-modal-content {
        width: 95%;
        max-width: none;
    }
}

/* Loading Spinner */
.whb-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #2271b1;
    border-radius: 50%;
    animation: whb-spin 1s linear infinite;
}

/* Animation whb-spin - using global from line 593 */

/* Success/Error Messages */
.whb-notice {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
}

.whb-notice-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.whb-notice-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


/* ======================================== */
/* ADMIN UI STYLES */
/* ======================================== */

/**
 * WHB Admin UI - Unified Design System
 * Consistent styling for all WHB admin pages
 * Version: 1.0.0
 */

/* ============================================
   CSS Variables merged into main :root block above
   ============================================ */

/* ============================================
   Page Container
   ============================================ */
.whb-page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--whb-spacing-lg);
}

/* ============================================
   Page Header
   ============================================ */
.whb-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--whb-spacing-xl);
    padding-bottom: var(--whb-spacing-lg);
    border-bottom: 1px solid var(--whb-gray-200);
}

.whb-page-header h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    color: var(--whb-gray-900);
    line-height: 1.2;
}

.whb-page-header p {
    margin: var(--whb-spacing-sm) 0 0;
    font-size: 14px;
    color: var(--whb-gray-600);
}

.whb-page-actions {
    display: flex;
    gap: var(--whb-spacing-sm);
}

/* ============================================
   Cards
   ============================================ */
.whb-card {
    background: var(--whb-white);
    border: 1px solid var(--whb-gray-200);
    border-radius: var(--whb-radius-md);
    padding: var(--whb-spacing-lg);
    box-shadow: var(--whb-shadow-sm);
}

.whb-card h2,
.whb-card h3 {
    margin: 0 0 var(--whb-spacing-md);
    font-size: 18px;
    font-weight: 600;
    color: var(--whb-gray-900);
}

.whb-card h3 {
    font-size: 16px;
}

.whb-card p {
    margin: 0 0 var(--whb-spacing-md);
    color: var(--whb-gray-600);
    line-height: 1.6;
}


/* Card Grid */
.whb-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--whb-spacing-lg);
    margin-bottom: var(--whb-spacing-lg);
}

/* ============================================
   Statistics Cards
   ============================================ */
.whb-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--whb-spacing-md);
    margin-bottom: var(--whb-spacing-xl);
}

.whb-stat-card {
    background: var(--whb-white);
    border: 1px solid var(--whb-gray-200);
    border-radius: var(--whb-radius-md);
    padding: var(--whb-spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--whb-spacing-md);
    transition: all 0.2s ease;
}

.whb-stat-card:hover {
    border-color: var(--whb-primary);
    box-shadow: var(--whb-shadow-md);
}

.whb-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--whb-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: var(--whb-gray-100);
    color: var(--whb-gray-600);
    flex-shrink: 0;
}

.whb-stat-card.whb-stat-success .whb-stat-icon {
    background: rgba(70, 180, 80, 0.1);
    color: var(--whb-success);
}

.whb-stat-card.whb-stat-warning .whb-stat-icon {
    color: var(--whb-warning);
}

.whb-stat-card.whb-stat-error .whb-stat-icon {
    color: var(--whb-error);
}

.whb-stat-card.whb-stat-info .whb-stat-icon {
    background: rgba(0, 160, 210, 0.1);
    color: var(--whb-info);
}

.whb-stat-content {
    flex: 1;
}

.whb-stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--whb-gray-900);
    line-height: 1;
    margin-bottom: var(--whb-spacing-xs);
}

.whb-stat-label {
    font-size: 13px;
    color: var(--whb-gray-600);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   Form Sections
   ============================================ */
.whb-form-section {
    background: var(--whb-white);
    border: 1px solid var(--whb-gray-200);
    border-radius: var(--whb-radius-md);
    padding: var(--whb-spacing-lg);
    margin-bottom: var(--whb-spacing-lg);
}

.whb-form-section h3 {
    margin: 0 0 var(--whb-spacing-md);
    font-size: 16px;
    font-weight: 600;
    color: var(--whb-gray-900);
}

.whb-form-section .form-table {
    margin-top: 0;
}

.whb-form-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: var(--whb-spacing-md);
    margin-bottom: var(--whb-spacing-md);
    align-items: start;
}

.whb-form-row label {
    font-weight: 600;
    color: var(--whb-gray-700);
    padding-top: var(--whb-spacing-sm);
}

.whb-form-row input[type="text"],
.whb-form-row input[type="email"],
.whb-form-row input[type="password"],
.whb-form-row input[type="number"],
.whb-form-row select,
.whb-form-row textarea {
    width: 100%;
    max-width: 500px;
}

.whb-form-row .description {
    margin-top: var(--whb-spacing-xs);
    font-size: 13px;
    color: var(--whb-gray-600);
}

/* ============================================
   Data Tables
   ============================================ */
.whb-data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--whb-white);
    border: 1px solid var(--whb-gray-200);
    border-radius: var(--whb-radius-md);
    overflow: hidden;
}

.whb-data-table thead {
    background: var(--whb-gray-50);
}

.whb-data-table th {
    padding: var(--whb-spacing-md);
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    color: var(--whb-gray-700);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--whb-gray-200);
}

.whb-data-table td {
    padding: var(--whb-spacing-md);
    border-bottom: 1px solid var(--whb-gray-200);
    color: var(--whb-gray-700);
}

.whb-data-table tbody tr:hover {
    background: var(--whb-gray-50);
}

.whb-data-table tbody tr:last-child td {
    border-bottom: none;
}

/* ============================================
   Status Badges
   ============================================ */
.whb-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.whb-status-badge.whb-status-success {
    background: rgba(70, 180, 80, 0.1);
    color: var(--whb-success);
}

.whb-status-badge.whb-status-warning {
    background: rgba(255, 185, 0, 0.1);
    color: var(--whb-warning);
}

.whb-status-badge.whb-status-error {
    background: rgba(220, 50, 50, 0.1);
    color: var(--whb-error);
}

.whb-status-badge.whb-status-info {
    background: rgba(0, 160, 210, 0.1);
    color: var(--whb-info);
}

.whb-status-badge.whb-status-pending {
    background: rgba(107, 114, 128, 0.1);
    color: var(--whb-gray-600);
}

/* ============================================
   Filter Bar
   ============================================ */
.whb-filter-bar {
    background: var(--whb-white);
    border: 1px solid var(--whb-gray-200);
    border-radius: var(--whb-radius-md);
    padding: var(--whb-spacing-md);
    margin-bottom: var(--whb-spacing-lg);
    display: flex;
    gap: var(--whb-spacing-md);
    align-items: center;
    flex-wrap: wrap;
}

.whb-filter-bar input[type="search"],
.whb-filter-bar input[type="text"] {
    flex: 1;
    min-width: 250px;
}

.whb-filter-bar select {
    min-width: 150px;
}

.whb-filter-bar .whb-filter-actions {
    display: flex;
    gap: var(--whb-spacing-sm);
    margin-left: auto;
}

/* ============================================
   Button Groups
   ============================================ */
.whb-button-group {
    display: flex;
    gap: var(--whb-spacing-sm);
    align-items: center;
}

/* Enhanced WordPress Buttons */
.button.whb-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--whb-radius-sm);
    font-weight: 500;
    transition: all 0.2s ease;
}

.button.whb-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.button.whb-btn-primary {
    background: var(--whb-primary);
    border-color: var(--whb-primary);
    color: white;
}

.button.whb-btn-primary:hover {
    background: var(--whb-primary-dark);
    border-color: var(--whb-primary-dark);
}

.button.whb-btn-success {
    background: var(--whb-success);
    border-color: var(--whb-success);
    color: white;
}

.button.whb-btn-danger {
    background: var(--whb-error);
    border-color: var(--whb-error);
    color: white;
}

/* ============================================
   Alerts
   ============================================ */
.whb-alert {
    padding: var(--whb-spacing-md);
    border-radius: var(--whb-radius-md);
    margin-bottom: var(--whb-spacing-lg);
    display: flex;
    align-items: start;
    gap: var(--whb-spacing-md);
}

.whb-alert .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.whb-alert-success {
    background: rgba(70, 180, 80, 0.1);
    border-left: 4px solid var(--whb-success);
    color: #2d5c2f;
}

.whb-alert-warning {
    background: rgba(255, 185, 0, 0.1);
    border-left: 4px solid var(--whb-warning);
    color: #6b5200;
}

.whb-alert-error {
    background: rgba(220, 50, 50, 0.1);
    border-left: 4px solid var(--whb-error);
    color: #5a1f1f;
}

.whb-alert-info {
    background: rgba(0, 160, 210, 0.1);
    border-left: 4px solid var(--whb-info);
    color: #00516d;
}

/* ============================================
   Empty State
   ============================================ */
.whb-empty-state {
    text-align: center;
    padding: var(--whb-spacing-2xl) var(--whb-spacing-lg);
    background: var(--whb-gray-50);
    border: 2px dashed var(--whb-gray-300);
    border-radius: var(--whb-radius-md);
    margin: var(--whb-spacing-lg) 0;
}

.whb-empty-state .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: var(--whb-gray-400);
    margin-bottom: var(--whb-spacing-md);
}

.whb-empty-state h3 {
    margin: 0 0 var(--whb-spacing-sm);
    font-size: 18px;
    color: var(--whb-gray-700);
}

.whb-empty-state p {
    margin: 0 0 var(--whb-spacing-lg);
    color: var(--whb-gray-600);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 782px) {
    .whb-page-header {
        flex-direction: column;
        gap: var(--whb-spacing-md);
    }
    
    .whb-page-actions {
        width: 100%;
    }
    
    .whb-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .whb-card-grid {
        grid-template-columns: 1fr;
    }
    
    .whb-form-row {
        grid-template-columns: 1fr;
    }
    
    .whb-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .whb-filter-bar input[type="search"],
    .whb-filter-bar input[type="text"],
    .whb-filter-bar select {
        width: 100%;
    }
    
    .whb-filter-bar .whb-filter-actions {
        margin-left: 0;
        width: 100%;
    }
    
    .whb-button-group {
        flex-wrap: wrap;
    }
    
    .whb-data-table {
        font-size: 13px;
    }
    
    .whb-data-table th,
    .whb-data-table td {
        padding: var(--whb-spacing-sm);
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.whb-mt-0 { margin-top: 0 !important; }
.whb-mt-sm { margin-top: var(--whb-spacing-sm) !important; }
.whb-mt-md { margin-top: var(--whb-spacing-md) !important; }
.whb-mt-lg { margin-top: var(--whb-spacing-lg) !important; }
.whb-mt-xl { margin-top: var(--whb-spacing-xl) !important; }

.whb-mb-0 { margin-bottom: 0 !important; }
.whb-mb-sm { margin-bottom: var(--whb-spacing-sm) !important; }
.whb-mb-md { margin-bottom: var(--whb-spacing-md) !important; }
.whb-mb-lg { margin-bottom: var(--whb-spacing-lg) !important; }
.whb-mb-xl { margin-bottom: var(--whb-spacing-xl) !important; }

.whb-text-center { text-align: center !important; }
.whb-text-right { text-align: right !important; }

.whb-text-success { color: var(--whb-success) !important; }
.whb-text-warning { color: var(--whb-warning) !important; }
.whb-text-error { color: var(--whb-error) !important; }
.whb-text-info { color: var(--whb-info) !important; }
.whb-text-muted { color: var(--whb-gray-600) !important; }

/* ============================================
   Domain-Specific Styles
   ============================================ */

/* Domain Admin Container */
.whb-admin-domains {
    max-width: 1400px;
    margin: 20px auto;
}

/* Domain Header with Gradient */
.whb-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.whb-header-left h1 {
    margin: 0 0 8px 0;
    font-size: 28px;
}

.whb-header-left p {
    margin: 0;
    opacity: 0.9;
    font-size: 14px;
}

.whb-header-actions {
    display: flex;
    gap: 10px;
}

/* Domain Stat Cards - Additional Variants */
.whb-stat-active .whb-stat-icon {
    background: rgba(70, 180, 80, 0.1);
    color: var(--whb-success);
}

.whb-stat-pending .whb-stat-icon {
    background: rgba(255, 185, 0, 0.1);
    color: var(--whb-warning);
}

.whb-stat-warning .whb-stat-icon {
    background: rgba(255, 152, 0, 0.1);
    color: #ff9800;
}

.whb-stat-error .whb-stat-icon {
    background: rgba(220, 50, 50, 0.1);
    color: var(--whb-error);
}

/* Toolbar Styles */
.whb-toolbar {
    background: var(--whb-white);
    padding: 20px;
    border-radius: var(--whb-radius-md);
    box-shadow: var(--whb-shadow-sm);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.whb-toolbar-left,
.whb-toolbar-right {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.whb-search-box {
    position: relative;
}

.whb-search-box input {
    padding: 10px 10px 10px 36px;
    border: 2px solid var(--whb-gray-200);
    border-radius: 6px;
    width: 250px;
}

.whb-search-box input:focus {
    border-color: var(--whb-primary);
    outline: none;
}

.whb-search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--whb-gray-500);
}

.whb-filter-select {
    padding: 10px 15px;
    border: 2px solid var(--whb-gray-200);
    border-radius: 6px;
    background: var(--whb-white);
    min-width: 150px;
}

.whb-filter-select:focus {
    border-color: var(--whb-primary);
    outline: none;
}

/* Bulk Actions Bar */
.whb-bulk-actions-bar {
    background: var(--whb-gray-50);
    padding: 15px 20px;
    border-radius: var(--whb-radius-md);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.whb-bulk-select {
    padding: 8px 12px;
    border: 1px solid var(--whb-gray-300);
    border-radius: var(--whb-radius-sm);
}

.whb-selection-info {
    color: var(--whb-gray-600);
    font-size: 14px;
}

/* Domain Table Wrapper */
.whb-domains-table-wrapper {
    background: var(--whb-white);
    border-radius: var(--whb-radius-md);
    padding: 10px;
    box-shadow: var(--whb-shadow-sm);
    overflow: hidden;
}

.whb-domains-table {
    width: 100%;
    border-collapse: collapse;
}

.whb-domains-table thead {
    background: var(--whb-gray-50);
}

.whb-domains-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: var(--whb-gray-700);
    border-bottom: 2px solid var(--whb-gray-200);
}

.whb-domains-table td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.whb-domains-table tbody tr:hover {
    background: var(--whb-gray-50);
}

.whb-domain-name {
    color: var(--whb-primary);
    font-weight: 500;
    text-decoration: none;
}

.whb-domain-name:hover {
    text-decoration: underline;
}

/* Domain Status Badges - Additional Variants */
.whb-status-active {
    background: rgba(70, 180, 80, 0.1);
    color: #155724;
}

.whb-status-pending {
    background: rgba(255, 185, 0, 0.1);
    color: #856404;
}

.whb-status-expired {
    background: rgba(220, 50, 50, 0.1);
    color: #721c24;
}

.whb-status-suspended {
    background: rgba(107, 114, 128, 0.1);
    color: #383d41;
}

/* Action Buttons */
.whb-actions {
    display: flex;
    gap: 8px;
}

.whb-action-btn {
    padding: 6px 12px;
    border-radius: var(--whb-radius-sm);
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
}

.whb-action-edit:hover {
    background: var(--whb-primary);
    color: var(--whb-white);
    border-color: var(--whb-primary);
}

.whb-action-delete:hover {
    background: var(--whb-error);
    color: var(--whb-white);
    border-color: var(--whb-error);
}

/* DataTables Custom Styling */
.dataTables_wrapper .dataTables_paginate {
    margin-top: 20px;
}

.dataTables_wrapper .dataTables_info {
    margin-top: 20px;
    color: var(--whb-gray-600);
}

/* Register Page Styles */
.whb-register-wrapper {
    max-width: 1200px;
    margin: 20px auto;
}

.whb-register-header {
    background: linear-gradient(135deg, var(--whb-primary) 0%, #764ba2 100%);
    color: var(--whb-white);
    padding: 30px 20px;
    margin: -10px -20px 30px -20px;
    border-radius: var(--whb-radius-md);
}

.whb-register-header h1 {
    margin: 0 0 8px 0;
    font-size: 28px;
    color: var(--whb-white);
}

.whb-register-header p {
    margin: 0;
    opacity: 0.9;
}

.whb-register-card {
    background: var(--whb-white);
    padding: 30px;
    border-radius: var(--whb-radius-md);
    box-shadow: var(--whb-shadow-sm);
    margin-bottom: 20px;
}

/* Domain Search Results */
.whb-search-result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
}

.whb-available {
    background: rgba(70, 180, 80, 0.1);
    color: #155724;
    border: 1px solid rgba(70, 180, 80, 0.3);
}

.whb-unavailable {
    background: rgba(220, 50, 50, 0.1);
    color: #721c24;
    border: 1px solid rgba(220, 50, 50, 0.3);
}

.whb-domain-price {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    color: var(--whb-primary);
}

/* Domain Suggestions */
.whb-suggestions {
    margin-top: 20px;
}

.whb-suggestion-item {
    padding: 12px;
    background: var(--whb-gray-50);
    margin-bottom: 8px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.whb-register-btn {
    background: var(--whb-primary);
    color: var(--whb-white);
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.whb-register-btn:hover {
    background: var(--whb-primary-dark);
    transform: translateY(-2px);
}

.whb-register-btn:disabled {
    background: var(--whb-gray-400);
    cursor: not-allowed;
}

/* Additional Responsive Rules for Domain Pages */
@media (max-width: 768px) {
    .whb-header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .whb-toolbar {
        flex-direction: column;
    }
    
    .whb-toolbar-left,
    .whb-toolbar-right {
        width: 100%;
    }
    
    .whb-search-box input {
        width: 100%;
    }
}

/* ============================================================================
   MODALS (Admin UI) - Using global .whb-modal from line 493
   ========================================================================== */

/* ============================================
   Notification Toasts
   ============================================ */
.whb-notification {
    position: fixed;
    top: 32px;
    right: 20px;
    z-index: 999999;
    min-width: 300px;
    padding: 16px 20px;
    border-radius: var(--whb-radius-md);
    box-shadow: var(--whb-shadow-lg);
    font-size: 14px;
    font-weight: 500;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.whb-notification-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid var(--whb-success);
}

.whb-notification-error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid var(--whb-error);
}

.whb-notification-warning {
    background: #fff3cd;
    color: #856404;
    border-left: 4px solid var(--whb-warning);
}

.whb-notification-info {
    background: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid var(--whb-info);
}
.whb-dashboard-nav {
    background: #fff;
    border-bottom: 1px solid #ddd;
    margin: 20px 0;
    padding: 0 20px;
    position: relative;
}

/* Mobile Toggle Button */
.whb-nav-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 10px 0;
}
.whb-nav-toggle:hover {
    background: #005a87;
}
.whb-nav-toggle .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}
.whb-nav-toggle.active {
    background: #d63638;
}

.whb-nav-tabs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}
.whb-nav-tab {
    margin: 0;
}
.whb-nav-tab a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    text-decoration: none;
    color: #646970;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
}
.whb-nav-tab a:hover {
    color: #0073aa;
    background: #f6f7f7;
}
.whb-nav-tab.active a {
    color: #0073aa;
    border-bottom-color: #0073aa;
    font-weight: 600;
}
.whb-nav-tab .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .whb-dashboard-nav {
        margin-left: -10px;
        margin-right: -10px;
        padding: 10px;
    }
    
    /* Show toggle button on mobile */
    .whb-nav-toggle {
        display: flex;
        width: 100%;
    }
    
    /* Hide menu by default on mobile */
    .whb-nav-tabs {
        display: none;
        flex-direction: column;
        gap: 0;
        margin-top: 10px;
        background: #fff;
        border-radius: 4px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        overflow: hidden;
    }
    
    /* Show menu when toggled */
    .whb-nav-tabs.show {
        display: flex;
    }
    
    .whb-nav-tab a {
        padding: 14px 12px;
        border-bottom: 1px solid #f0f0f1;
        border-left: 3px solid transparent;
    }
    .whb-nav-tab:last-child a {
        border-bottom: none;
    }
    .whb-nav-tab.active a {
        border-left-color: #0073aa;
        border-bottom-color: #f0f0f1;
        background: #f6f7f7;
    }
}

@media (max-width: 782px) {
    .whb-nav-toggle {
        font-size: 16px;
        padding: 12px 18px;
    }
}

/* ============================================================================
   PRODUCT HOSTING CONFIG & LABEL STYLES
   ========================================================================== */

/* Hosting Configuration Section */
#hosting-config {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    border: 1px solid #dee2e6;
}

#hosting-config h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #23282d;
}

/* Color Picker Wrapper */
.whb-color-picker-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}

.whb-color-picker-wrapper input[type="color"] {
    width: 60px;
    height: 40px;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    padding: 2px;
}

.whb-color-picker-wrapper input[type="color"]:hover {
    border-color: #007cba;
}

.whb-color-picker-wrapper .whb-color-hex {
    width: 120px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: monospace;
    font-size: 14px;
    text-transform: uppercase;
}

/* Label Preview */
.whb-label-preview {
    margin-top: 16px;
    padding: 16px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.whb-label-preview strong {
    color: #23282d;
    font-size: 14px;
}

.whb-product-label {
    display: inline-block;
    padding: 4px 12px;
    background: #e74c3c;
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Product Card Label (in grid view) */
.whb-product-card .whb-product-label {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
}

.whb-product-badge.whb-custom-label {
    background: var(--label-color, #e74c3c);
    color: white;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Form Section Styling */
.whb-form-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e5e5;
}

.whb-form-section:last-child {
    border-bottom: none;
}

.whb-form-section h3 {
    font-size: 15px;
    font-weight: 600;
    color: #1e1e2f;
    margin: 0 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #007cba;
}

/* Required field indicator */
.whb-form-group label .required {
    color: #dc3545;
    font-weight: bold;
}

/* Server Package select disabled state */
#product-package:disabled {
    background: #f5f5f5;
    cursor: not-allowed;
    color: #999;
}

/* Description text styling */
.whb-form-group .description {
    font-size: 13px;
    color: #666;
    margin-top: 6px;
    font-style: italic;
}

/* Product card update highlight animation */
.whb-product-card.updated-highlight {
    animation: highlightPulse 2s ease-in-out;
}

@keyframes highlightPulse {
    0%, 100% {
        background-color: transparent;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    50% {
        background-color: #d4edda;
        box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    }
}

/* ============================================================================
   AJAX MULTISTEP CHECKOUT - Loading & States
/* ============================================================
   CHECKOUT PAGE LAYOUT (2-COLUMN WITH CART SUMMARY)
   ============================================================ */

/* User Account Info/Options */
.whb-user-account-info,
.whb-account-options {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid #e9ecef;
}

.whb-user-account-info p,
.whb-account-options p {
    margin: 0;
    font-size: 14px;
    color: #495057;
}

.whb-logout-link,
.whb-login-link {
    color: #0066cc;
    text-decoration: none;
    margin-left: 10px;
    font-weight: 500;
}

.whb-logout-link:hover,
.whb-login-link:hover {
    text-decoration: underline;
}

.whb-create-account-btn {
    margin-top: 12px;
    width: auto;
    padding: 10px 24px;
}

/* Checkout 2-Column Layout */
.whb-checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    margin-top: 20px;
}

.whb-checkout-form-section {
    background: #fff;
}

.whb-checkout-cart-summary {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    height: fit-content;
    position: sticky;
    top: 20px;
}

/* Order Review Table in Sidebar */
.whb-checkout-cart-summary .whb-order-review {
    margin: 0;
}

.whb-checkout-cart-summary .whb-order-review h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    color: #212529;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 12px;
}

.whb-checkout-cart-summary .whb-order-review-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.whb-checkout-cart-summary .whb-order-review-table thead th {
    background: #e9ecef;
    padding: 10px;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
}

.whb-checkout-cart-summary .whb-order-review-table tbody td {
    padding: 12px 10px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
}

.whb-checkout-cart-summary .whb-order-review-table tbody tr:last-child td {
    border-bottom: none;
}

.whb-checkout-cart-summary .whb-order-review-table tfoot td {
    padding: 12px 10px;
    border-top: 2px solid #dee2e6;
    font-weight: 500;
}

.whb-checkout-cart-summary .whb-order-review-table tfoot tr.total td {
    font-size: 16px;
    font-weight: 700;
    color: #212529;
    padding-top: 15px;
}

.whb-cart-summary-actions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
}

.whb-cart-summary-actions .whb-btn {
    width: 100%;
    text-align: center;
}

/* Billing Fields Styling */
.whb-billing-fields {
    margin-bottom: 30px;
}

.whb-billing-fields h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    color: #212529;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 12px;
}

.whb-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.whb-form-field {
    margin-bottom: 20px;
}

.whb-form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #495057;
}

.whb-form-field input[type="text"],
.whb-form-field input[type="email"],
.whb-form-field input[type="tel"] {
    width: -webkit-fill-available;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
    max-width: 100%;
}

.whb-form-field input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.whb-form-field input[readonly] {
    background: #e9ecef;
    cursor: not-allowed;
}

/* Payment Methods */
.whb-payment-methods {
    margin-bottom: 30px;
}

.whb-payment-methods h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    color: #212529;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 12px;
}

.whb-payment-method {
    background: #f8f9fa;
    /* padding: 15px 20px; */
    margin-bottom: 12px;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.2s;
}

.whb-payment-method:hover {
    border-color: #0066cc;
    background: #fff;
}

.whb-payment-method input[type="radio"] {
    margin-right: 10px;
}

.whb-payment-method label {
    font-weight: 600;
    cursor: pointer;
    color: #212529;
}

.whb-payment-form {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #dee2e6;
    display: none;
}

.whb-payment-method input[type="radio"]:checked ~ .whb-payment-form {
    display: block;
}

/* Place Order Button */
.whb-place-order {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    background: #28a745;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.whb-place-order:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.whb-place-order:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .whb-checkout-layout {
        grid-template-columns: 1fr;
    }
    
    .whb-checkout-cart-summary {
        position: static;
        order: -1; /* Show cart summary on top on mobile */
    }
}

@media (max-width: 576px) {
    .whb-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .whb-checkout-cart-summary {
        padding: 15px;
    }
    
    .whb-checkout-cart-summary .whb-order-review-table {
        font-size: 12px;
    }
    
    .whb-checkout-cart-summary .whb-order-review-table thead {
        display: none;
    }
    
    .whb-checkout-cart-summary .whb-order-review-table tbody td {
        display: block;
        padding: 8px 0;
        border: none;
    }
    
    .whb-checkout-cart-summary .whb-order-review-table tbody tr {
        border-bottom: 1px solid #e9ecef;
        padding: 10px 0;
    }
}

/* ============================================================
   CART TABLE - ENHANCED PRODUCT DISPLAY
   ============================================================ */

/* Cart Product Info Container */
.whb-cart-product-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.whb-cart-product-info strong {
    font-size: 16px;
    color: #212529;
    font-weight: 600;
}

/* Domain Display in Cart */
.whb-cart-domain-name {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #e8f4fd;
    border-radius: 6px;
    border-left: 3px solid #0066cc;
    margin-top: 8px;
}

.whb-domain-icon {
    font-size: 18px;
}

.whb-cart-domain-name {
    color: #0066cc;
    font-weight: 500;
    font-size: 14px;
}

/* Hosting with Domain Display */
.whb-cart-hosting-domain {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: #f8f9fa;
    border-radius: 4px;
    margin-top: 6px;
    font-size: 13px;
}

.whb-domain-label {
    color: #6c757d;
    font-weight: 500;
}

.whb-domain-value {
    color: #212529;
    font-weight: 600;
}

/* Add Domain Link */
.whb-cart-domain-actions {
    margin-top: 8px;
}

.whb-add-domain-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0066cc;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 12px;
    border: 1px solid #0066cc;
    border-radius: 4px;
    transition: all 0.2s;
}

.whb-add-domain-link:hover {
    background: #0066cc;
    color: white;
    text-decoration: none;
}

.whb-add-domain-link .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

/* Billing Cycle Display */
.whb-billing-cycle {
    display: inline-block;
    padding: 6px 12px;
    background: #f8f9fa;
    border-radius: 4px;
    color: #495057;
    font-weight: 500;
    font-size: 14px;
}

/* Price Display */
.whb-price {
    font-size: 16px;
    font-weight: 600;
    color: #28a745;
}

/* Cart Actions Cell */
.whb-cart-actions-cell {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* ============================================================================
   CART STYLES - MODERN UI
   ========================================================================== */

/* Alert Messages */
.whb-alert {
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 32px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.4s ease;
    position: relative;
    overflow: hidden;
}

.whb-alert::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.whb-alert-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whb-alert-icon svg {
    width: 24px;
    height: 24px;
}

.whb-alert-content {
    flex: 1;
}

.whb-alert-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.whb-alert-message {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
    opacity: 0.95;
}

.whb-alert-action {
    margin-top: 12px;
}

.whb-alert-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.whb-alert-error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border: 2px solid #fca5a5;
    color: #991b1b;
}

.whb-alert-error::before {
    background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
}

.whb-alert-error .whb-alert-icon {
    color: #dc2626;
}

.whb-alert-error .whb-alert-title {
    color: #991b1b;
}

.whb-alert-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #fcd34d;
    color: #92400e;
}

.whb-alert-warning::before {
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
}

.whb-alert-warning .whb-alert-icon {
    color: #d97706;
}

.whb-alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border: 2px solid #6ee7b7;
    color: #065f46;
}

.whb-alert-success::before {
    background: linear-gradient(180deg, #10b981 0%, #059669 100%);
}

.whb-alert-success .whb-alert-icon {
    color: #059669;
}

.whb-alert-info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 2px solid #93c5fd;
    color: #1e40af;
}

.whb-alert-info::before {
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
}

.whb-alert-info .whb-alert-icon {
    color: #2563eb;
}

/* Checkout Error Specific */
.whb-checkout-error {
    border-width: 3px;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.2);
}

.whb-checkout-error .whb-alert-title {
    font-size: 18px;
}

.whb-checkout-error .whb-alert-message {
    font-size: 15px;
}

/* Cart Container */
.whb-cart-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 24px;
}

.whb-cart-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 32px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.whb-cart-title::before {
    content: "🛒";
    font-size: 36px;
}
.whb-cart-title {
    display: none;
}
/* Cart Layout Grid */
.whb-cart-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    align-items: start;
}

/* Cart Items Section */
.whb-cart-items-section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Item Count Badge */
.whb-cart-item-count {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

/* Cart Table */
.whb-cart-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.whb-cart-table thead th {
    background: linear-gradient(to bottom, #f8fafc, #f1f5f9);
    padding: 16px 24px;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    border-bottom: 2px solid #e2e8f0;
}

.whb-cart-table tbody td {
    padding: 24px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
}

.whb-cart-table tbody tr {
    transition: all 0.2s ease;
}

.whb-cart-table tbody tr:hover {
    background: #f8fafc;
    transform: translateX(4px);
    box-shadow: -4px 0 0 0 #3b82f6;
}

.whb-cart-table tbody tr:last-child td {
    border-bottom: none;
}

/* Error Row Highlighting */
.whb-cart-table tbody tr.whb-row-error {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-left: 4px solid #ef4444;
}

.whb-cart-table tbody tr.whb-row-error:hover {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    box-shadow: -4px 0 0 0 #ef4444;
}

.whb-cart-table tbody tr.whb-pulse {
    animation: errorPulse 1s ease;
}

@keyframes errorPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0.3);
    }
}

.whb-domain-error {
    border-color: #ef4444 !important;
    background: #fef2f2 !important;
}

.whb-domain-error select {
    border-color: #ef4444 !important;
}

/* Product Info Cell */
.whb-cart-col-product {
    min-width: 300px;
}

.whb-product-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.whb-product-name {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.whb-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.whb-product-type-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.whb-summary-item-configs {
    font-size: 14px;
}

.whb-config-name {
    font-weight: 600;
}
.whb-badge-domain {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.whb-badge-hosting {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

/* Domain Selection Dropdown */
.whb-domain-hosting-select,
.whb-hosting-domain-select {
    margin-top: 12px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 3px solid #3b82f6;
}

.whb-select-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.whb-form-control,
.whb-hosting-dropdown,
.whb-domain-dropdown,
.whb-hosting-domain-dropdown {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #334155;
    background: white;
    transition: all 0.2s ease;
    outline: none;
}

.whb-form-control:focus,
.whb-hosting-dropdown:focus,
.whb-domain-dropdown:focus,
.whb-hosting-domain-dropdown:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Selected Display */
.whb-selected-hosting-display,
.whb-selected-domain-display {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 14px;
    background: white;
    border-radius: 8px;
    border: 2px solid #10b981;
    font-size: 13px;
}

.whb-status-icon,
.whb-domain-icon {
    color: #10b981;
    font-size: 16px;
}

.whb-hosting-text,
.whb-domain-text {
    color: #334155;
    flex: 1;
}

.whb-domain-badge {
    background: #dcfce7;
    color: #166534;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

/* Billing Cycle */
.whb-cart-col-billing {
    min-width: 120px;
}

.whb-billing-cycle {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #e0e7ff 0%, #dbeafe 100%);
    color: #3b82f6;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* Price */
.whb-cart-col-price {
    min-width: 100px;
    text-align: right;
}

.whb-item-price {
    font-size: 18px;
    font-weight: 700;
    color: #10b981;
}

/* Action Buttons */
.whb-cart-col-action {
    min-width: 120px;
    text-align: right;
}

.whb-remove-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #dc2626;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.1);
}

.whb-remove-item:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.35);
}

.whb-btn-icon {
    font-size: 16px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.whb-btn-text {
    line-height: 1;
}

/* Cart Actions Bottom */
.whb-cart-actions-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-top: 2px solid #e2e8f0;
    border-radius: 0 0 16px 16px;
}

.whb-clear-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    color: #dc2626;
    border: 2px solid #fecaca;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.whb-clear-cart:hover {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.whb-btn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    background: white;
    color: #475569;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.whb-btn-link:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: #3b82f6;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

/* Cart Summary Sidebar */
.whb-cart-summary-section {
    position: sticky;
    top: 24px;
}

.whb-cart-summary {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
.whb-summary-details {
    padding: 24px;
}

.whb-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.whb-summary-row:last-child {
    border-bottom: none;
}

.whb-summary-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.whb-summary-value {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

.whb-discount .whb-summary-value {
    color: #10b981;
}

.whb-tax .whb-summary-value {
    color: #f59e0b;
}

.whb-total {
    margin-top: 12px;
    padding-top: 16px !important;
    border-top: 2px solid #e2e8f0 !important;
}

.whb-total .whb-summary-label {
    font-size: 16px;
    color: #1e293b;
    font-weight: 700;
}

.whb-total .whb-summary-value {
    font-size: 24px;
    color: #3b82f6;
    font-weight: 800;
}

/* Coupon Section */
.whb-coupon-section {
    padding: 24px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.whb-coupon-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 12px 0;
}

.whb-coupon-form {
    display: flex;
    gap: 8px;
}

.whb-coupon-form .whb-form-control {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.whb-coupon-form .whb-form-control:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.whb-apply-coupon {
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.whb-apply-coupon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Checkout Button */
.whb-checkout-action {
    padding: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-top: 2px solid #e2e8f0;
}

.whb-proceed-to-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 32px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.whb-proceed-to-checkout::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.whb-proceed-to-checkout:hover::before {
    left: 100%;
}

.whb-proceed-to-checkout:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.whb-proceed-to-checkout:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(59, 130, 246, 0.3);
}

/* Empty Cart */
.whb-cart-empty {
    text-align: center;
    padding: 80px 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.whb-cart-empty-icon {
    font-size: 64px;
    margin-bottom: 24px;
    opacity: 0.5;
}

.whb-cart-empty h2 {
    margin: 0;
}

.whb-cart-empty-message {
    font-size: 20px;
    color: #64748b;
    margin-bottom: 16px;
}

.whb-cart-empty p {
    color: #94a3b8;
    margin-bottom: 32px;
}
.whb-summary-title {
    font-size: 22px;
    padding: 20px;
}
    
.whb-cart-empty .whb-btn-primary {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .whb-cart-layout {
        grid-template-columns: 1fr;
    }
    
    .whb-cart-summary-section {
        position: static;
    }
}

@media (max-width: 768px) {
    .whb-cart-container {
        padding: 0 16px;
        margin: 24px auto;
    }
    
    .whb-cart-title {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    .whb-cart-table {
        font-size: 13px;
    }
    
    .whb-cart-table thead {
        display: none;
    }
    
    .whb-cart-table tbody tr {
        display: block;
        margin-bottom: 16px;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 16px;
        background: white;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }
    
    .whb-cart-table tbody tr:hover {
        transform: none;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .whb-cart-table tbody td {
        display: block;
        padding: 8px 0;
        border: none;
        text-align: left;
    }
    
    .whb-cart-col-price {
        text-align: left;
    }
    
    .whb-cart-col-action {
        text-align: left;
        margin-top: 12px;
    }
    
    .whb-remove-item {
        width: 100%;
        justify-content: center;
    }
    
    .whb-cart-actions-bottom {
        flex-direction: column;
        gap: 12px;
    }
    
    .whb-clear-cart,
    .whb-btn-link {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .whb-summary-title {
        font-size: 18px;
        padding: 20px;
    }
    
    .whb-coupon-form {
        flex-direction: column;
    }
    
    .whb-apply-coupon {
        width: 100%;
    }
}

.whb-cart-remove {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.whb-cart-remove:hover {
    background: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.whb-cart-remove .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

/* Cart Table Updates */
.whb-cart-table thead th {
    background: #f8f9fa;
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
}

.whb-cart-table tbody td {
    padding: 16px;
    vertical-align: top;
    border-bottom: 1px solid #e9ecef;
}

.whb-cart-table tbody tr:hover {
    background: #f8f9fa;
}

/* Total Row */
.whb-cart-total-row td {
    padding: 20px 16px !important;
    background: #f8f9fa;
    border-top: 2px solid #dee2e6 !important;
    border-bottom: none !important;
    font-size: 18px;
}

.whb-total-price {
    color: #28a745;
    font-size: 22px;
}

/* Cart Actions Buttons */
.whb-cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px solid #e9ecef;
}

.whb-back-to-products {
    background: #6c757d;
    color: white;
}

.whb-back-to-products:hover {
    background: #5a6268;
}

.whb-continue-to-checkout {
    background: #0066cc;
    color: white;
    font-weight: 600;
}

.whb-continue-to-checkout:hover {
    background: #0052a3;
}

/* Remove old quantity input styles (no longer needed) */
.whb-cart-quantity {
    display: none;
}
.whb-setup-wizard-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

/* Responsive Cart Table */
@media (max-width: 768px) {
    .whb-cart-table {
        font-size: 13px;
    }
    
    .whb-cart-table thead {
        display: none;
    }
    
    .whb-cart-table tbody tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid #e9ecef;
        border-radius: 8px;
        padding: 16px;
        background: white;
    }
    
    .whb-cart-table tbody td {
        display: block;
        padding: 8px 0;
        border: none;
        text-align: left;
    }
    
    .whb-cart-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        display: block;
        margin-bottom: 4px;
        color: #6c757d;
        font-size: 12px;
        text-transform: uppercase;
    }
    
    .whb-cart-actions {
        flex-direction: column;
    }
    
    .whb-cart-actions .whb-btn {
        width: 100%;
    }
    
    .whb-cart-actions-cell {
        justify-content: flex-start;
        margin-top: 12px;
    }
}

/* ============================================================================
   THANK YOU PAGE STYLES - MODERN UI
   ========================================================================== */

/* Thank You Container */
.whb-thankyou-page-wrapper {
    min-height: 70vh;
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.whb-thankyou-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Order Received Success */
.whb-order-received {
    background: white;
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Status Icon */
.whb-thankyou-status-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    animation: scaleIn 0.5s ease 0.2s backwards;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.whb-thankyou-status-icon svg {
    width: 80px;
    height: 80px;
}

.whb-thankyou-status-icon.whb-status-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #059669;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.whb-thankyou-status-icon.whb-status-pending {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

.whb-thankyou-status-icon.whb-status-failed {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #dc2626;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.3);
}

.whb-thankyou-status-icon.whb-status-cancelled {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    color: #64748b;
    box-shadow: 0 8px 24px rgba(100, 116, 139, 0.3);
}

/* Title and Message */
.whb-thankyou-title {
    font-size: 36px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 16px 0;
    line-height: 1.2;
    animation: fadeIn 0.6s ease 0.3s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.whb-thankyou-message {
    font-size: 18px;
    color: #64748b;
    margin: 0 0 48px 0;
    line-height: 1.6;
    animation: fadeIn 0.6s ease 0.4s backwards;
}

/* Order Details Card */
.whb-order-details-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 40px;
    text-align: left;
    border: 2px solid #e2e8f0;
    animation: fadeIn 0.6s ease 0.5s backwards;
}

.whb-order-details-heading {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 24px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whb-order-details-heading svg {
    color: #3b82f6;
}

.whb-order-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.whb-order-detail-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.whb-detail-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.whb-detail-value {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

.whb-order-detail-item.whb-detail-total {
    grid-column: 1 / -1;
    padding-top: 20px;
    border-top: 2px solid #e2e8f0;
    margin-top: 12px;
}

.whb-detail-total .whb-detail-value {
    font-size: 32px;
    font-weight: 800;
    color: #3b82f6;
}

/* Status Badges */
.whb-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.whb-status-badge.whb-status-paid,
.whb-status-badge.whb-payment-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #059669;
}

.whb-status-badge.whb-status-pending,
.whb-status-badge.whb-payment-pending {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
}

.whb-status-badge.whb-status-failed,
.whb-status-badge.whb-payment-failed {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #dc2626;
}

.whb-status-badge.whb-status-cancelled,
.whb-status-badge.whb-payment-cancelled {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    color: #475569;
}

/* Thank You Actions */
.whb-thankyou-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 0.6s ease 0.6s backwards;
}

.whb-thankyou-actions .whb-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.whb-thankyou-actions .whb-btn svg {
    width: 20px;
    height: 20px;
}

.whb-thankyou-actions .whb-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.whb-thankyou-actions .whb-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.whb-thankyou-actions .whb-btn-secondary {
    background: white;
    color: #475569;
    border: 2px solid #e2e8f0;
}

.whb-thankyou-actions .whb-btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

/* Download Invoice Button */
.whb-thankyou-actions .whb-btn-download {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    position: relative;
    overflow: hidden;
}

.whb-thankyou-actions .whb-btn-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.whb-thankyou-actions .whb-btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.whb-thankyou-actions .whb-btn-download:hover::before {
    left: 100%;
}

.whb-thankyou-actions .whb-btn-download svg {
    animation: downloadBounce 2s infinite;
}

@keyframes downloadBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(3px);
    }
}

/* Order Error */
.whb-order-error {
    background: white;
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.whb-order-error-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

.whb-order-error-icon svg {
    width: 80px;
    height: 80px;
}

.whb-error-title {
    font-size: 32px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 16px 0;
}

.whb-error-message {
    font-size: 18px;
    color: #64748b;
    margin: 0 0 40px 0;
    line-height: 1.6;
}

.whb-error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

#wpfooter {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .whb-thankyou-page-wrapper {
        padding: 40px 0;
    }
    
    .whb-order-received {
        padding: 40px 24px;
        border-radius: 16px;
    }
    
    .whb-thankyou-status-icon {
        width: 100px;
        height: 100px;
    }
    
    .whb-thankyou-status-icon svg {
        width: 64px;
        height: 64px;
    }
    
    .whb-thankyou-title {
        font-size: 28px;
    }
    
    .whb-thankyou-message {
        font-size: 16px;
    }
    
    .whb-order-details-card {
        padding: 24px;
    }
    
    .whb-order-details-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .whb-detail-total .whb-detail-value {
        font-size: 24px;
    }
    
    .whb-thankyou-actions {
        flex-direction: column;
    }
    
    .whb-thankyou-actions .whb-btn {
        width: 100%;
        justify-content: center;
    }
}

