/**
 * 3DXplore Market - Professional User Dashboard CSS
 * Version: 4.1.0
 * Design: Colorful, Modern, Professional
 * Font: Verdana with fallbacks
 * Colors: Based on 3DXplore logo (#2E9BDA, #5CB3E8, #FF8C42)
 */

/* ============================================================================
   CSS VARIABLES - Logo-Based Color System
   ============================================================================ */

:root {
    /* Primary Colors from Logo */
    --xplore-primary-blue: #2E9BDA;
    --xplore-secondary-blue: #5CB3E8;
    --xplore-accent-orange: #FF8C42;
    --xplore-dark-blue: #1B5E7E;
    
    /* Extended Color Palette */
    --xplore-blue-light: #E3F4FC;
    --xplore-blue-lighter: #F0F9FD;
    --xplore-orange-light: #FFE5D6;
    --xplore-orange-dark: #FF6B35;
    
    /* Status Colors */
    --xplore-success: #27AE60;
    --xplore-success-light: #D5F5E3;
    --xplore-warning: #F39C12;
    --xplore-warning-light: #FEF5E7;
    --xplore-danger: #E74C3C;
    --xplore-danger-light: #FADBD8;
    --xplore-info: #3498DB;
    --xplore-info-light: #D6EAF8;
    
    /* Neutral Colors */
    --xplore-white: #FFFFFF;
    --xplore-gray-50: #F8F9FA;
    --xplore-gray-100: #F1F3F5;
    --xplore-gray-200: #E9ECEF;
    --xplore-gray-300: #DEE2E6;
    --xplore-gray-400: #CED4DA;
    --xplore-gray-500: #ADB5BD;
    --xplore-gray-600: #6C757D;
    --xplore-gray-700: #495057;
    --xplore-gray-800: #343A40;
    --xplore-gray-900: #212529;
    
    /* Typography */
    --xplore-font-family: Verdana, Geneva, Tahoma, sans-serif;
    --xplore-font-mono: 'Courier New', Courier, monospace;
    
    /* Spacing */
    --xplore-spacing-xs: 0.25rem;
    --xplore-spacing-sm: 0.5rem;
    --xplore-spacing-md: 1rem;
    --xplore-spacing-lg: 1.5rem;
    --xplore-spacing-xl: 2rem;
    --xplore-spacing-2xl: 3rem;
    
    /* Border Radius */
    --xplore-radius-sm: 4px;
    --xplore-radius-md: 8px;
    --xplore-radius-lg: 12px;
    --xplore-radius-xl: 16px;
    --xplore-radius-full: 50%;
    
    /* Shadows */
    --xplore-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --xplore-shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --xplore-shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --xplore-shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.18);
    
    /* Gradients */
    --xplore-gradient-primary: linear-gradient(135deg, var(--xplore-primary-blue) 0%, var(--xplore-secondary-blue) 100%);
    --xplore-gradient-accent: linear-gradient(135deg, var(--xplore-accent-orange) 0%, var(--xplore-orange-dark) 100%);
    --xplore-gradient-dark: linear-gradient(135deg, var(--xplore-dark-blue) 0%, var(--xplore-primary-blue) 100%);
}

/* ============================================================================
   BASE STYLES
   ============================================================================ */

body.threedx-user-dashboard {
    font-family: var(--xplore-font-family);
    background-color: var(--xplore-gray-100);
    color: var(--xplore-gray-900);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.threedx-dashboard {
    font-family: var(--xplore-font-family);
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--xplore-spacing-lg);
}

/* ============================================================================
   HEADER & WELCOME SECTION
   ============================================================================ */

.threedx-dashboard-header {
    background: var(--xplore-gradient-primary);
    color: var(--xplore-white);
    padding: var(--xplore-spacing-xl) var(--xplore-spacing-lg);
    border-radius: var(--xplore-radius-lg);
    margin-bottom: var(--xplore-spacing-xl);
    box-shadow: var(--xplore-shadow-md);
}

.threedx-welcome {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--xplore-spacing-md);
}

.threedx-welcome h1 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    color: var(--xplore-white);
    font-family: var(--xplore-font-family);
}

.threedx-welcome-subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: var(--xplore-spacing-xs);
}

.threedx-user-info {
    display: flex;
    gap: var(--xplore-spacing-lg);
    align-items: center;
}

.threedx-user-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--xplore-radius-full);
    background: var(--xplore-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--xplore-primary-blue);
    box-shadow: var(--xplore-shadow-sm);
}

.threedx-balance-display {
    text-align: right;
}

.threedx-balance-label {
    font-size: 0.85rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.threedx-balance-amount {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: var(--xplore-spacing-xs);
    font-family: var(--xplore-font-mono);
}

/* ============================================================================
   NAVIGATION TABS
   ============================================================================ */

.nav-tab-wrapper {
    background: var(--xplore-white);
    border-radius: var(--xplore-radius-lg);
    padding: var(--xplore-spacing-sm);
    margin-bottom: var(--xplore-spacing-xl);
    box-shadow: var(--xplore-shadow-sm);
    border: none !important;
    display: flex;
    flex-wrap: wrap;
    gap: var(--xplore-spacing-xs);
}

.nav-tab {
    border: none !important;
    background: transparent;
    color: var(--xplore-gray-700);
    padding: var(--xplore-spacing-md) var(--xplore-spacing-lg);
    border-radius: var(--xplore-radius-md);
    font-family: var(--xplore-font-family);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-tab:hover {
    background: var(--xplore-blue-lighter);
    color: var(--xplore-primary-blue);
}

.nav-tab-active,
.nav-tab-active:hover {
    background: var(--xplore-gradient-primary) !important;
    color: var(--xplore-white) !important;
    box-shadow: var(--xplore-shadow-sm);
}

/* ============================================================================
   STATISTICS CARDS
   ============================================================================ */

.threedx-cards,
.threedx-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--xplore-spacing-lg);
    margin-bottom: var(--xplore-spacing-xl);
}

.threedx-card,
.threedx-stat-card {
    background: var(--xplore-white);
    border-radius: var(--xplore-radius-lg);
    padding: var(--xplore-spacing-lg);
    box-shadow: var(--xplore-shadow-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.threedx-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--xplore-gradient-primary);
}

.threedx-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--xplore-shadow-lg);
    border-color: var(--xplore-secondary-blue);
}

.threedx-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--xplore-dark-blue);
    margin: 0 0 var(--xplore-spacing-md) 0;
    font-family: var(--xplore-font-family);
}

.threedx-card-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--xplore-radius-md);
    background: var(--xplore-gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--xplore-white);
    margin-bottom: var(--xplore-spacing-md);
}

.threedx-card-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--xplore-primary-blue);
    font-family: var(--xplore-font-mono);
    margin-bottom: var(--xplore-spacing-sm);
}

.threedx-card-label {
    font-size: 0.9rem;
    color: var(--xplore-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card Variants */
.threedx-card.primary-card::before {
    background: var(--xplore-gradient-primary);
}

.threedx-card.success-card::before {
    background: linear-gradient(135deg, var(--xplore-success) 0%, #2ECC71 100%);
}

.threedx-card.warning-card::before {
    background: linear-gradient(135deg, var(--xplore-warning) 0%, #F4D03F 100%);
}

.threedx-card.accent-card::before {
    background: var(--xplore-gradient-accent);
}

/* ============================================================================
   BUTTONS
   ============================================================================ */

.threedx-btn,
.btn-threedx {
    display: inline-block;
    padding: var(--xplore-spacing-md) var(--xplore-spacing-xl);
    border-radius: var(--xplore-radius-md);
    font-family: var(--xplore-font-family);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--xplore-shadow-sm);
}

.threedx-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--xplore-shadow-md);
}

.threedx-btn-primary {
    background: var(--xplore-gradient-primary);
    color: var(--xplore-white);
}

.threedx-btn-accent {
    background: var(--xplore-gradient-accent);
    color: var(--xplore-white);
}

.threedx-btn-success {
    background: var(--xplore-success);
    color: var(--xplore-white);
}

.threedx-btn-outline {
    background: transparent;
    border: 2px solid var(--xplore-primary-blue);
    color: var(--xplore-primary-blue);
}

.threedx-btn-outline:hover {
    background: var(--xplore-primary-blue);
    color: var(--xplore-white);
}

.threedx-btn-large {
    padding: var(--xplore-spacing-lg) var(--xplore-spacing-2xl);
    font-size: 1.1rem;
}

.threedx-btn-block {
    display: block;
    width: 100%;
}

/* ============================================================================
   STATUS BADGES
   ============================================================================ */

.threedx-badge,
.tdx-badge {
    display: inline-block;
    padding: var(--xplore-spacing-xs) var(--xplore-spacing-md);
    border-radius: var(--xplore-radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--xplore-font-family);
}

.threedx-badge-active,
.tdx-badge-active,
.threedx-badge-approved,
.tdx-badge-approved,
.threedx-badge-completed,
.tdx-badge-completed {
    background: var(--xplore-success-light);
    color: var(--xplore-success);
}

.threedx-badge-pending,
.tdx-badge-pending,
.threedx-badge-running,
.tdx-badge-running {
    background: var(--xplore-warning-light);
    color: var(--xplore-warning);
}

.threedx-badge-rejected,
.tdx-badge-rejected,
.threedx-badge-cancelled,
.tdx-badge-cancelled,
.threedx-badge-expired,
.tdx-badge-expired {
    background: var(--xplore-danger-light);
    color: var(--xplore-danger);
}

.threedx-badge-info,
.tdx-badge-info {
    background: var(--xplore-info-light);
    color: var(--xplore-info);
}

/* ============================================================================
   TABLES
   ============================================================================ */

.threedx-table-container {
    background: var(--xplore-white);
    border-radius: var(--xplore-radius-lg);
    padding: var(--xplore-spacing-lg);
    box-shadow: var(--xplore-shadow-md);
    overflow-x: auto;
}

.threedx-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--xplore-font-family);
}

.threedx-table thead {
    background: var(--xplore-gradient-dark);
    color: var(--xplore-white);
}

.threedx-table th {
    padding: var(--xplore-spacing-md);
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.threedx-table td {
    padding: var(--xplore-spacing-md);
    border-bottom: 1px solid var(--xplore-gray-200);
}

.threedx-table tbody tr {
    transition: background-color 0.2s ease;
}

.threedx-table tbody tr:hover {
    background-color: var(--xplore-blue-lighter);
}

.threedx-table tbody tr:last-child td {
    border-bottom: none;
}

/* ============================================================================
   COUNTDOWN TIMER
   ============================================================================ */

.threedx-countdown-container {
    background: var(--xplore-gradient-dark);
    color: var(--xplore-white);
    padding: var(--xplore-spacing-xl);
    border-radius: var(--xplore-radius-lg);
    text-align: center;
    box-shadow: var(--xplore-shadow-lg);
    margin: var(--xplore-spacing-lg) 0;
}

.threedx-countdown-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--xplore-spacing-lg);
    opacity: 0.9;
}

.threedx-countdown-display {
    display: flex;
    justify-content: center;
    gap: var(--xplore-spacing-lg);
    flex-wrap: wrap;
}

.threedx-countdown-unit {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--xplore-spacing-lg);
    border-radius: var(--xplore-radius-md);
    min-width: 100px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.threedx-countdown-number {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--xplore-font-mono);
    line-height: 1;
}

.threedx-countdown-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: var(--xplore-spacing-sm);
    opacity: 0.8;
}

/* ============================================================================
   PROGRESS BARS
   ============================================================================ */

.threedx-progress-container {
    background: var(--xplore-gray-200);
    height: 24px;
    border-radius: var(--xplore-radius-full);
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.threedx-progress-bar {
    height: 100%;
    background: var(--xplore-gradient-primary);
    border-radius: var(--xplore-radius-full);
    transition: width 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: var(--xplore-spacing-md);
}

.threedx-progress-text {
    color: var(--xplore-white);
    font-weight: 600;
    font-size: 0.85rem;
    font-family: var(--xplore-font-family);
}

/* ============================================================================
   FORMS
   ============================================================================ */

.threedx-form-group {
    margin-bottom: var(--xplore-spacing-lg);
}

.threedx-form-label {
    display: block;
    font-weight: 600;
    color: var(--xplore-gray-800);
    margin-bottom: var(--xplore-spacing-sm);
    font-family: var(--xplore-font-family);
    font-size: 0.95rem;
}

.threedx-form-control {
    width: 100%;
    padding: var(--xplore-spacing-md);
    border: 2px solid var(--xplore-gray-300);
    border-radius: var(--xplore-radius-md);
    font-family: var(--xplore-font-family);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: var(--xplore-white);
}

.threedx-form-control:focus {
    outline: none;
    border-color: var(--xplore-primary-blue);
    box-shadow: 0 0 0 3px rgba(46, 155, 218, 0.1);
}

.threedx-form-help {
    font-size: 0.85rem;
    color: var(--xplore-gray-600);
    margin-top: var(--xplore-spacing-xs);
}

/* ============================================================================
   ALERTS & NOTIFICATIONS
   ============================================================================ */

.threedx-alert {
    padding: var(--xplore-spacing-lg);
    border-radius: var(--xplore-radius-md);
    margin-bottom: var(--xplore-spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--xplore-spacing-md);
    font-family: var(--xplore-font-family);
    font-weight: 500;
    box-shadow: var(--xplore-shadow-sm);
}

.threedx-alert-success {
    background: var(--xplore-success-light);
    color: var(--xplore-success);
    border-left: 4px solid var(--xplore-success);
}

.threedx-alert-warning {
    background: var(--xplore-warning-light);
    color: var(--xplore-warning);
    border-left: 4px solid var(--xplore-warning);
}

.threedx-alert-danger {
    background: var(--xplore-danger-light);
    color: var(--xplore-danger);
    border-left: 4px solid var(--xplore-danger);
}

.threedx-alert-info {
    background: var(--xplore-info-light);
    color: var(--xplore-info);
    border-left: 4px solid var(--xplore-info);
}

/* ============================================================================
   LICENSE CARDS
   ============================================================================ */

.threedx-licenses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--xplore-spacing-xl);
    margin: var(--xplore-spacing-xl) 0;
}

.threedx-license-card {
    background: var(--xplore-white);
    border-radius: var(--xplore-radius-xl);
    padding: var(--xplore-spacing-xl);
    box-shadow: var(--xplore-shadow-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 3px solid transparent;
}

.threedx-license-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--xplore-gradient-primary);
}

.threedx-license-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--xplore-shadow-xl);
    border-color: var(--xplore-secondary-blue);
}

.threedx-license-card.current-license {
    border-color: var(--xplore-accent-orange);
    background: linear-gradient(to bottom, var(--xplore-orange-light) 0%, var(--xplore-white) 100%);
}

.threedx-license-level-badge {
    position: absolute;
    top: var(--xplore-spacing-lg);
    right: var(--xplore-spacing-lg);
    background: var(--xplore-gradient-accent);
    color: var(--xplore-white);
    padding: var(--xplore-spacing-sm) var(--xplore-spacing-lg);
    border-radius: var(--xplore-radius-full);
    font-weight: 700;
    font-size: 0.85rem;
}

.threedx-license-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--xplore-dark-blue);
    margin: var(--xplore-spacing-md) 0;
    font-family: var(--xplore-font-family);
}

.threedx-license-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--xplore-primary-blue);
    font-family: var(--xplore-font-mono);
    margin-bottom: var(--xplore-spacing-lg);
}

.threedx-license-features {
    list-style: none;
    padding: 0;
    margin: var(--xplore-spacing-lg) 0;
}

.threedx-license-feature {
    display: flex;
    align-items: center;
    padding: var(--xplore-spacing-sm) 0;
    color: var(--xplore-gray-700);
}

.threedx-license-feature::before {
    content: '✓';
    color: var(--xplore-success);
    font-weight: 700;
    margin-right: var(--xplore-spacing-md);
    font-size: 1.2rem;
}

/* ============================================================================
   REFERRAL SECTION
   ============================================================================ */

.threedx-referral-section {
    background: var(--xplore-gradient-primary);
    color: var(--xplore-white);
    padding: var(--xplore-spacing-xl);
    border-radius: var(--xplore-radius-lg);
    margin: var(--xplore-spacing-xl) 0;
    box-shadow: var(--xplore-shadow-lg);
}

.threedx-referral-code-display {
    display: flex;
    align-items: center;
    gap: var(--xplore-spacing-md);
    background: rgba(255, 255, 255, 0.2);
    padding: var(--xplore-spacing-lg);
    border-radius: var(--xplore-radius-md);
    margin-top: var(--xplore-spacing-md);
    backdrop-filter: blur(10px);
}

.threedx-referral-code {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--xplore-font-mono);
    flex-grow: 1;
}

.threedx-copy-btn {
    background: var(--xplore-white);
    color: var(--xplore-primary-blue);
    padding: var(--xplore-spacing-md) var(--xplore-spacing-lg);
    border: none;
    border-radius: var(--xplore-radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.threedx-copy-btn:hover {
    background: var(--xplore-accent-orange);
    color: var(--xplore-white);
}

/* ============================================================================
   MILESTONE CARDS
   ============================================================================ */

.threedx-milestones-container {
    display: grid;
    gap: var(--xplore-spacing-lg);
    margin: var(--xplore-spacing-xl) 0;
}

.threedx-milestone-card {
    background: var(--xplore-white);
    border-radius: var(--xplore-radius-lg);
    padding: var(--xplore-spacing-xl);
    box-shadow: var(--xplore-shadow-md);
    position: relative;
    overflow: hidden;
}

.threedx-milestone-card.reached {
    background: linear-gradient(to right, var(--xplore-success-light) 0%, var(--xplore-white) 100%);
    border: 2px solid var(--xplore-success);
}

.threedx-milestone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--xplore-spacing-lg);
}

.threedx-milestone-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--xplore-dark-blue);
    font-family: var(--xplore-font-family);
}

.threedx-milestone-target {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--xplore-primary-blue);
    font-family: var(--xplore-font-mono);
}

.threedx-milestone-rewards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--xplore-spacing-md);
    margin: var(--xplore-spacing-lg) 0;
}

.threedx-reward-option {
    background: var(--xplore-gray-50);
    padding: var(--xplore-spacing-lg);
    border-radius: var(--xplore-radius-md);
    text-align: center;
}

.threedx-reward-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--xplore-success);
    font-family: var(--xplore-font-mono);
}

/* ============================================================================
   EMPTY STATES
   ============================================================================ */

.threedx-empty-state {
    text-align: center;
    padding: var(--xplore-spacing-2xl);
    background: var(--xplore-gray-50);
    border-radius: var(--xplore-radius-lg);
    color: var(--xplore-gray-600);
}

.threedx-empty-state-icon {
    font-size: 4rem;
    margin-bottom: var(--xplore-spacing-lg);
    opacity: 0.5;
}

.threedx-empty-state-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--xplore-gray-800);
    margin-bottom: var(--xplore-spacing-md);
}

/* ============================================================================
   LOADING STATES
   ============================================================================ */

.threedx-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--xplore-spacing-2xl);
}

.threedx-spinner {
    border: 4px solid var(--xplore-gray-200);
    border-top-color: var(--xplore-primary-blue);
    border-radius: var(--xplore-radius-full);
    width: 50px;
    height: 50px;
    animation: threedx-spin 1s linear infinite;
}

@keyframes threedx-spin {
    to { transform: rotate(360deg); }
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

@media (max-width: 768px) {
    .threedx-dashboard {
        padding: var(--xplore-spacing-md);
    }
    
    .threedx-welcome h1 {
        font-size: 1.5rem;
    }
    
    .threedx-balance-amount {
        font-size: 2rem;
    }
    
    .nav-tab-wrapper {
        flex-direction: column;
    }
    
    .nav-tab {
        width: 100%;
        text-align: center;
    }
    
    .threedx-cards,
    .threedx-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .threedx-licenses-grid {
        grid-template-columns: 1fr;
    }
    
    .threedx-countdown-number {
        font-size: 2rem;
    }
    
    .threedx-table-container {
        overflow-x: scroll;
    }
}

/* ============================================================================
   UTILITY CLASSES
   ============================================================================ */

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mb-sm { margin-bottom: var(--xplore-spacing-sm); }
.mb-md { margin-bottom: var(--xplore-spacing-md); }
.mb-lg { margin-bottom: var(--xplore-spacing-lg); }
.mb-xl { margin-bottom: var(--xplore-spacing-xl); }

.mt-sm { margin-top: var(--xplore-spacing-sm); }
.mt-md { margin-top: var(--xplore-spacing-md); }
.mt-lg { margin-top: var(--xplore-spacing-lg); }
.mt-xl { margin-top: var(--xplore-spacing-xl); }

.p-sm { padding: var(--xplore-spacing-sm); }
.p-md { padding: var(--xplore-spacing-md); }
.p-lg { padding: var(--xplore-spacing-lg); }
.p-xl { padding: var(--xplore-spacing-xl); }

.fw-bold { font-weight: 700; }
.fw-semibold { font-weight: 600; }
.fw-normal { font-weight: 400; }

.text-primary { color: var(--xplore-primary-blue); }
.text-accent { color: var(--xplore-accent-orange); }
.text-success { color: var(--xplore-success); }
.text-warning { color: var(--xplore-warning); }
.text-danger { color: var(--xplore-danger); }

.bg-primary { background: var(--xplore-primary-blue); }
.bg-accent { background: var(--xplore-accent-orange); }
.bg-light { background: var(--xplore-gray-50); }

/* ============================================================================
   PRINT STYLES
   ============================================================================ */

@media print {
    .threedx-dashboard-header,
    .nav-tab-wrapper,
    .threedx-btn,
    .threedx-copy-btn {
        display: none;
    }
    
    .threedx-card {
        box-shadow: none;
        border: 1px solid var(--xplore-gray-300);
    }
}
