/* Professional TIPS App - Clean Modern Design */

/* IMMEDIATE BUILDER.IO POPUP BLOCKING */
*[class*="builder" i], *[id*="builder" i], *[data-builder], iframe[src*="builder.io"] {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -10000px !important;
  top: -10000px !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

/* Force Light Mode - Override System Dark Mode */
html {
  color-scheme: light only !important;
  background-color: white !important;
}

body {
  color-scheme: light only !important;
  background-color: white !important;
  color: #1F2937 !important;
}

/* Override any dark mode styles */
@media (prefers-color-scheme: dark) {
  html, body {
    color-scheme: light only !important;
    background-color: white !important;
    color: #1F2937 !important;
  }

  * {
    color-scheme: light only !important;
  }

  /* Force all major containers to be white */
  .app-container,
  .main-container,
  .page-container,
  .content-container,
  main,
  section,
  article {
    background-color: white !important;
    color: #1F2937 !important;
  }
}

/* Hide Builder.io visual editor popup and overlays - Enhanced */
[data-builder],
[class*="builder"],
[id*="builder"],
[class*="Builder"],
[id*="Builder"],
div[class*="editor"],
div[class*="visual"],
div[class*="popup"],
div[style*="z-index: 999"],
div[style*="z-index: 9999"],
.builder-component,
.builder-block,
.builder-overlay,
.builder-popup,
.builder-modal,
.builder-dialog,
.visual-editor,
.editable-element,
iframe[src*="builder.io"],
script[src*="builder.io"] + *,
[data-testid*="builder"],
[aria-label*="Builder"],
[title*="Builder"],
[class*="editable"]:not(.user-content) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Clean Professional Color Palette */
    --primary: #3B82F6;          /* Clean blue */
    --primary-dark: #1D4ED8;     /* Darker blue for hover */
    --primary-light: #DBEAFE;    /* Light blue background */
    --primary-ultra-light: #F0F9FF; /* Ultra light blue */
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* Success & Status Colors */
    --success: #10B981;
    --success-light: #D1FAE5;
    --warning: #F59E0B;
    --warning-light: #FEF3C7;
    --error: #EF4444;
    --error-light: #FEE2E2;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Base Typography */
body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.5;
    color: var(--gray-900) !important;
    background: #ffffff !important;
    background-color: white !important;
    color-scheme: light only !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--gray-900);
}

h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }

/* Layout Components */
.app-container {
    min-height: 100vh;
    background: var(--gray-50);
    padding-bottom: 80px;
}

.screen {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-6);
}

.screen-header {
    text-align: center;
    margin-bottom: var(--space-12);
    padding-top: var(--space-8);
}

.screen-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

/* Professional Card Design */
.card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    padding: var(--space-6);
    margin-bottom: var(--space-6);
    transition: all 0.2s ease;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

/* Modern Button Design */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-xl);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    min-height: 44px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--gray-300);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--primary-ultra-light);
    border-color: var(--primary);
    transform: translateY(-1px);
}

/* Hero Section - Clean QR Design */
.hero-section {
    background: var(--white);
    border-radius: var(--radius-3xl);
    padding: var(--space-12);
    margin-bottom: var(--space-12);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    text-align: center;
}

.hero-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    margin-bottom: var(--space-10);
}

.qr-container {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-10);
}

.qr-code {
    width: 300px;
    height: 300px;
    background: var(--white);
    border: 8px solid #FEFEFE;
    border-radius: var(--radius-2xl);
    position: relative;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.qr-pattern {
    width: 100%;
    height: 100%;
    background:
        /* QR pattern overlay */
        repeating-linear-gradient(
            0deg,
            rgba(30, 41, 59, 0.6) 0px,
            rgba(30, 41, 59, 0.6) 6px,
            transparent 6px,
            transparent 12px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(30, 41, 59, 0.6) 0px,
            rgba(30, 41, 59, 0.6) 6px,
            transparent 6px,
            transparent 12px
        ),
        /* Human silhouette background */
        radial-gradient(circle at 50% 35%, #8B5CF6 15px, transparent 16px),
        radial-gradient(ellipse 25px 35px at 50% 65%, #8B5CF6 40%, transparent 41%),
        radial-gradient(ellipse 12px 20px at 35% 45%, #8B5CF6 50%, transparent 51%),
        radial-gradient(ellipse 12px 20px at 65% 45%, #8B5CF6 50%, transparent 51%),
        /* Dot pattern background */
        radial-gradient(circle at 25% 25%, #E0E7FF 2px, transparent 3px),
        radial-gradient(circle at 75% 25%, #E0E7FF 2px, transparent 3px),
        radial-gradient(circle at 25% 75%, #E0E7FF 2px, transparent 3px),
        radial-gradient(circle at 75% 75%, #E0E7FF 2px, transparent 3px),
        linear-gradient(135deg, #FEFEFE 0%, #FBFCFD 100%);
    background-size:
        12px 12px,
        12px 12px,
        100% 100%,
        100% 100%,
        100% 100%,
        100% 100%,
        50px 50px,
        50px 50px,
        50px 50px,
        50px 50px,
        100% 100%;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.qr-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    font-weight: bold;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    border: 3px solid var(--white);
}

/* Professional Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-10);
}

.stat-card {
    background: var(--white);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.stat-value {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--space-1);
}

.stat-label {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card.primary .stat-value {
    color: var(--primary);
}

.stat-card.success .stat-value {
    color: var(--success);
}

.stat-card.warning .stat-value {
    color: var(--warning);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Headers */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--gray-200);
}

.section-title {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-900);
}

.section-icon {
    font-size: 24px;
}

.section-badge {
    background: var(--primary);
    color: var(--white);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

/* Clean List Design */
.list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.list-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    transition: all 0.2s ease;
}

.list-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.list-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
    flex-shrink: 0;
}

.list-icon.success {
    background: var(--success);
}

.list-icon.warning {
    background: var(--warning);
}

.list-content {
    flex: 1;
    min-width: 0;
}

.list-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-1);
}

.list-subtitle {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    font-weight: 500;
    margin-bottom: var(--space-2);
}

.list-message {
    background: var(--primary-ultra-light);
    border: 1px solid var(--primary-light);
    border-radius: var(--radius-lg);
    padding: var(--space-3);
    font-size: var(--font-size-sm);
    color: var(--gray-700);
    font-style: italic;
    line-height: 1.4;
}

.list-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--space-2);
}

.list-time {
    font-size: var(--font-size-xs);
    color: var(--gray-500);
    font-weight: 500;
}

.list-amount {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--success);
}

/* Modern Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid #E5E7EB;
    padding: 12px 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 12px;
    color: #9CA3AF;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    min-width: 64px;
    position: relative;
}

.nav-item.active {
    color: #3B82F6;
    background: rgba(59, 130, 246, 0.08);
    transform: translateY(-2px);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: #3B82F6;
    border-radius: 2px;
}

.nav-item:hover:not(.active) {
    color: #3B82F6;
    background: rgba(59, 130, 246, 0.05);
    transform: translateY(-1px);
}

.nav-icon {
    font-size: 26px;
    transition: transform 0.3s ease;
}

.nav-item.active .nav-icon {
    transform: scale(1.1);
}

/* Modal Design */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: var(--space-4);
}

.modal {
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: var(--space-8);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--gray-200);
}

.modal-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-900);
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
    border: none;
    background: var(--gray-100);
    color: var(--gray-600);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-icon:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}

/* Form Elements */
.form-group {
    margin-bottom: var(--space-6);
}

.form-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--space-2);
}

.form-input {
    width: 100%;
    padding: var(--space-4);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    background: var(--white);
    transition: all 0.2s ease;
    height: 48px;
    line-height: 1.2;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* Email Validation Styles */
.form-input.input-error {
    border-color: var(--error);
    box-shadow: 0 0 0 3px var(--error-light);
}

.form-input.input-success {
    border-color: var(--success);
    box-shadow: 0 0 0 3px var(--success-light);
}

.validation-message {
    font-size: 0.85rem;
    margin-top: 5px;
    padding: 6px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.validation-error {
    background-color: var(--error-light);
    color: var(--error);
    border: 1px solid var(--error);
}

.validation-success {
    background-color: var(--success-light);
    color: var(--success);
    border: 1px solid var(--success);
}

.validation-info {
    background-color: var(--primary-ultra-light);
    color: var(--primary);
    border: 1px solid var(--primary-light);
}

/* Spinner animation for email checking */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Phone Number Input Styles */
.phone-input-container {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.country-code-select {
    flex: 0 0 120px !important;
    width: 120px !important;
    max-width: 120px !important;
    padding: 12px 8px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    background: var(--white);
    transition: all 0.2s ease;
    cursor: pointer;
    height: 48px;
    line-height: 1.4;
    vertical-align: top;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.country-code-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.phone-help-text {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 4px;
    font-style: italic;
}

.phone-input-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
}

@media (max-width: 640px) {
    .phone-input-container {
        flex-direction: row !important;
        gap: 8px !important;
    }

    .country-code-select {
        flex: 0 0 100px !important;
        width: 100px !important;
        max-width: 100px !important;
    }
}

/* QR Code Information Styles */
.qr-info-section {
    margin: 20px 0;
    padding: 0 16px;
}

.qr-info-card {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    border: 1px solid #BAE6FD;
    border-radius: 12px;
    padding: 16px;
    margin: 0 auto;
    max-width: 400px;
}

.qr-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.qr-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #374151;
    padding: 4px 0;
}

.qr-feature .feature-icon {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

@media (max-width: 480px) {
    .qr-features {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .qr-info-section {
        padding: 0 8px;
    }
}

/* Empty State - Optimized Compact Design */
.empty-state {
    text-align: center;
    padding: var(--space-12) var(--space-6);
    color: var(--gray-500);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-100);
}

.empty-state-icon {
    font-size: 36px;
    margin-bottom: var(--space-3);
    opacity: 0.7;
}

.empty-state-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--space-2);
}

.empty-state-description {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
    max-width: 280px;
    margin: 0 auto;
    line-height: 1.4;
}

/* Loading State */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-16);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-200);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .screen {
        padding: var(--space-4);
    }
    
    .hero-section {
        padding: var(--space-8) var(--space-6);
        margin-bottom: var(--space-8);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .list-item {
        padding: var(--space-4);
    }
    
    .modal {
        margin: var(--space-4);
        padding: var(--space-6);
    }
}

@media (max-width: 480px) {
    .screen-title {
        font-size: var(--font-size-3xl);
    }

    .hero-title {
        font-size: var(--font-size-xl);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
        margin-bottom: var(--space-6);
    }

    .stat-card {
        padding: var(--space-4);
    }

    .stat-value {
        font-size: var(--font-size-xl);
        margin-bottom: var(--space-1);
    }

    .stat-label {
        font-size: var(--font-size-xs);
    }

    .qr-code {
        width: 240px;
        height: 240px;
    }

    .profile-stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3);
        margin-bottom: var(--space-4);
    }

    .profile-stat-card {
        padding: var(--space-3);
        text-align: center;
        min-height: 70px;
    }

    .profile-stat-value {
        font-size: var(--font-size-xl);
    }

    .profile-stat-label {
        font-size: var(--font-size-xs);
    }

    .profile-actions-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3);
        margin-bottom: var(--space-4);
    }

    .profile-action-btn {
        justify-content: center;
        text-align: center;
        min-height: 50px;
    }

    .profile-header-compact {
        padding: var(--space-3);
        margin-bottom: var(--space-4);
    }

    .profile-info-compact {
        gap: var(--space-3);
        margin-bottom: var(--space-2);
    }

    .profile-avatar-compact {
        width: 56px;
        height: 56px;
        font-size: 20px;
    }

    .profile-name-compact {
        font-size: var(--font-size-lg);
    }

    .profile-level-compact {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2);
    }

    .profile-xp-bar {
        width: 100%;
    }
}

/* Profile Layout Styles */
.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-6);
    align-items: stretch;
}

.profile-stat-card {
    background: var(--white);
    padding: var(--space-3);
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 80px;
}

.profile-stat-value {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-2);
    line-height: 1.1;
    display: block;
}

.profile-stat-label {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-3);
    margin-bottom: var(--space-6);
    align-items: stretch;
}

.profile-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-xl);
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    min-height: 60px;
}

.profile-action-btn:hover {
    background: var(--primary-ultra-light);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.profile-action-icon {
    font-size: 24px;
    width: 32px;
    text-align: center;
}

/* Compact Profile Header Optimization */
.profile-header-compact {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-4);
    margin-bottom: var(--space-6);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.profile-info-compact {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-3);
}

.profile-avatar-compact {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-md);
}

.profile-details-compact {
    flex: 1;
    min-width: 0;
}

.profile-name-compact {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 var(--space-1) 0;
    line-height: 1.2;
}

.profile-email-compact {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    margin: 0;
    line-height: 1.3;
}

.profile-level-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    margin-top: var(--space-2);
}

.profile-level-info {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--primary);
}

.profile-xp-bar {
    flex: 1;
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    overflow: hidden;
}

.profile-xp-progress {
    height: 100%;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Customer Activity Section Styles */
.activity-summary {
    display: flex;
    gap: var(--space-6);
    align-items: center;
    margin-left: auto;
}

.activity-stat {
    text-align: center;
    padding: var(--space-2) var(--space-3);
    background: var(--primary-ultra-light);
    border-radius: var(--radius-lg);
    min-width: 60px;
}

.activity-number {
    display: block;
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.activity-label {
    display: block;
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: var(--space-1);
}

.activity-feed {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.activity-item {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    transition: all 0.2s ease;
}

.activity-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.activity-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.tip-activity .activity-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.feedback-activity .activity-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.rating-activity .activity-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.activity-content {
    flex: 1;
    min-width: 0;
}

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-2);
    gap: var(--space-4);
}

.activity-title {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.4;
}

.activity-customer {
    color: var(--primary);
    font-weight: 700;
}

.activity-amount {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--success);
    white-space: nowrap;
}

.activity-badge {
    font-size: var(--font-size-xs);
    font-weight: 600;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-md);
    white-space: nowrap;
}

.activity-badge.positive {
    background: var(--success-light);
    color: var(--success);
}

.activity-rating {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    white-space: nowrap;
}

.star-filled {
    color: #f59e0b;
}

.star-empty {
    color: var(--gray-300);
}

.rating-number {
    font-weight: 600;
    color: var(--gray-700);
    margin-left: var(--space-1);
}

.activity-message {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-3);
    margin: var(--space-2) 0;
    font-size: var(--font-size-sm);
    color: var(--gray-700);
    font-style: italic;
    line-height: 1.4;
}

.activity-category {
    display: inline-block;
    background: var(--warning-light);
    color: var(--warning);
    font-size: var(--font-size-xs);
    font-weight: 600;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-md);
    margin: var(--space-1) 0;
}

.activity-time {
    font-size: var(--font-size-xs);
    color: var(--gray-500);
    font-weight: 500;
    margin-top: var(--space-2);
}

/* Customer Activity Section Styles */
.activity-summary {
    display: flex;
    gap: var(--space-6);
    align-items: center;
    margin-left: auto;
}

.activity-stat {
    text-align: center;
    padding: var(--space-2) var(--space-3);
    background: var(--primary-ultra-light);
    border-radius: var(--radius-lg);
    min-width: 60px;
}

.activity-number {
    display: block;
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.activity-label {
    display: block;
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: var(--space-1);
}

.activity-feed {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.activity-item {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    transition: all 0.2s ease;
}

.activity-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.activity-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.tip-activity .activity-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.feedback-activity .activity-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.rating-activity .activity-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.activity-content {
    flex: 1;
    min-width: 0;
}

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-2);
    gap: var(--space-4);
}

.activity-title {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.4;
}

.activity-customer {
    color: var(--primary);
    font-weight: 700;
}

.activity-amount {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--success);
    white-space: nowrap;
}

.activity-badge {
    font-size: var(--font-size-xs);
    font-weight: 600;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-md);
    white-space: nowrap;
}

.activity-badge.positive {
    background: var(--success-light);
    color: var(--success);
}

.activity-rating {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    white-space: nowrap;
}

.star-filled {
    color: #f59e0b;
}

.star-empty {
    color: var(--gray-300);
}

.rating-number {
    font-weight: 600;
    color: var(--gray-700);
    margin-left: var(--space-1);
}

.activity-message {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-3);
    margin: var(--space-2) 0;
    font-size: var(--font-size-sm);
    color: var(--gray-700);
    font-style: italic;
    line-height: 1.4;
}

.activity-category {
    display: inline-block;
    background: var(--warning-light);
    color: var(--warning);
    font-size: var(--font-size-xs);
    font-weight: 600;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-md);
    margin: var(--space-1) 0;
}

.activity-time {
    font-size: var(--font-size-xs);
    color: var(--gray-500);
    font-weight: 500;
    margin-top: var(--space-2);
}

/* Professional Feedback & Ratings Styling */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--gray-200);
}

.section-title {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-900);
}

.section-icon {
    font-size: 24px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.section-badge {
    background: var(--primary);
    color: var(--white);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-weight: 600;
    min-width: 32px;
    text-align: center;
}

.tip-entry {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-5);
    margin-bottom: var(--space-4);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    transition: all 0.2s ease;
}

.tip-entry:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.tip-entry:last-child {
    margin-bottom: 0;
}

.tip-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.feedback-entry .tip-icon {
    background: var(--success);
}

.rating-entry .tip-icon {
    background: var(--warning);
}

.tip-content {
    flex: 1;
    min-width: 0;
    width: 100%;
}

@media (max-width: 640px) {
    .tip-entry {
        flex-direction: column;
        align-items: flex-start;
    }

    .tip-content {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .feedback-message {
        width: 100%;
        align-self: stretch;
    }
}

.customer-info {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--gray-700);
}

.customer-avatar {
    font-size: 20px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.feedback-message {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-3);
    margin: var(--space-2) 0;
    font-size: var(--font-size-sm);
    color: var(--gray-700);
    font-style: italic;
    line-height: 1.5;
    width: 100%;
    box-sizing: border-box;
}

.rating-display {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

.rating-stars {
    font-size: 18px;
    color: var(--warning);
}

.rating-number {
    font-weight: 700;
    color: var(--gray-900);
    font-size: var(--font-size-sm);
}

.rating-category {
    display: inline-block;
    background: var(--warning-light);
    color: var(--warning-dark);
    font-size: var(--font-size-xs);
    font-weight: 600;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-md);
    margin: var(--space-1) 0;
}

.tip-time {
    font-size: var(--font-size-xs);
    color: var(--gray-500);
    font-weight: 500;
    margin-top: var(--space-2);
}

/* Professional Achievement Badges */
.achievement-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-6);
}

.achievement-badge {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    min-height: 70px;
}

.achievement-badge:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.achievement-badge.earned {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.achievement-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gray-200);
    transition: background 0.2s ease;
}

.achievement-badge.earned::before {
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
}

.achievement-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.achievement-badge:not(.earned) .achievement-icon {
    background: var(--gray-400);
    color: var(--gray-600);
}

.achievement-name {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--gray-900);
    flex: 1;
    line-height: 1.3;
    word-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: var(--space-8);
}

.achievement-badge:not(.earned) .achievement-name {
    color: var(--gray-500);
}

.achievement-rarity-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    z-index: 2;
}

/* Rarity Colors */
.achievement-badge[data-rarity="common"] .achievement-rarity-badge {
    background: var(--gray-500);
    color: var(--white);
}

.achievement-badge[data-rarity="rare"] .achievement-rarity-badge {
    background: #3b82f6;
    color: var(--white);
}

.achievement-badge[data-rarity="epic"] .achievement-rarity-badge {
    background: #8b5cf6;
    color: var(--white);
}

.achievement-badge[data-rarity="legendary"] .achievement-rarity-badge {
    background: #f59e0b;
    color: var(--white);
}

.achievement-badge[data-rarity="mythic"] .achievement-rarity-badge {
    background: #ec4899;
    color: var(--white);
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .modern-header {
        padding: 20px 16px 16px;
    }

    .logo-main {
        max-width: 120px;
    }

    .modern-quote-section {
        margin: 0 16px 24px;
        padding: 16px;
    }

    .modern-quote {
        font-size: 14px;
        padding: 0 20px;
    }

    .quote-mark-left,
    .quote-mark-right {
        font-size: 24px;
    }

    .modern-qr-section {
        margin: 0 16px 24px;
    }

    .qr-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .qr-frame {
        width: 240px;
        height: 240px;
        padding: 12px;
    }

    .modern-stats-section {
        margin: 0 16px 24px;
        gap: 12px;
    }

    .modern-stat-card {
        padding: 16px;
        max-width: none;
    }

    .stat-icon {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .stat-value {
        font-size: 16px;
    }

    .stat-label {
        font-size: 12px;
    }

    .achievement-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }

    .achievement-badge {
        padding: var(--space-3);
        min-height: 60px;
        gap: var(--space-2);
    }

    .achievement-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .achievement-name {
        font-size: 12px;
        line-height: 1.2;
    }

    .achievement-rarity-badge {
        top: 4px;
        right: 4px;
        font-size: 8px;
        padding: 2px 6px;
    }
}

/* Modern Header Design */
.modern-header {
    text-align: center;
    padding: 24px 20px 20px;
    background: #ffffff;
}

.logo-main {
    max-width: 140px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Modern Quote Section */
.modern-quote-section {
    margin: 0 20px 32px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, rgba(59, 130, 246, 0.06) 100%);
    border-radius: 16px;
    position: relative;
}

.quote-container {
    position: relative;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.modern-quote {
    font-size: 16px;
    font-style: italic;
    font-weight: 500;
    color: #3B82F6;
    line-height: 1.5;
    margin: 0;
    padding: 0 24px;
    position: relative;
}

.quote-mark-left,
.quote-mark-right {
    font-size: 28px;
    font-weight: 300;
    color: #3B82F6;
    opacity: 0.6;
    position: absolute;
    top: -8px;
    font-family: Georgia, serif;
}

.quote-mark-left {
    left: 0;
}

.quote-mark-right {
    right: 0;
}

/* Modern QR Code Section */
.modern-qr-section {
    text-align: center;
    margin: 0 20px 32px;
}

.qr-title {
    font-size: 20px;
    font-weight: 700;
    color: #222222;
    margin: 0 0 24px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.modern-qr-container {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.qr-frame {
    position: relative;
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    transition: all 0.3s ease;
}

.qr-frame::before {
    display: none;
    animation: qrGlow 3s ease-in-out infinite;
}

.qr-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

@keyframes qrGlow {
    0%, 100% { opacity: 0; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); }
}

/* Modern Stats Section */
.modern-stats-section {
    display: flex;
    gap: 16px;
    margin: 0 20px 32px;
    justify-content: center;
}

.modern-stat-card {
    flex: 1;
    max-width: 180px;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.08),
        0 2px 4px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modern-stat-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.12),
        0 4px 8px rgba(0, 0, 0, 0.06);
}

.stat-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #F3F4F6;
}

.earnings-card .stat-icon {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.rating-card .stat-icon {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #111827;
}

.stat-value.earnings {
    color: #10B981;
}

.stat-value.rating {
    color: #FFD700;
}

.stat-label {
    font-size: 13px;
    color: #6B7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.daily-quote::before {
    content: '💡';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    opacity: 0.7;
}

.daily-quote::after {
    content: '✨';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    opacity: 0.7;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    15% {
        opacity: 1;
        transform: translateY(0);
    }
    85% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(10px);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive for daily quotes */
@media (max-width: 640px) {
    .motivational-header {
        margin-bottom: var(--space-4);
        padding: var(--space-3);
    }

    .daily-quote {
        font-size: var(--font-size-base) !important;
        padding: 0 var(--space-2) !important;
    }

    .daily-quote::before,
    .daily-quote::after {
        display: none;
    }
}

/* Professional ChatGPT-like Interface */
.chat-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.chat-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1050;
    backdrop-filter: blur(10px);
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-header-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    font-weight: 600;
}

.chat-header-text h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    line-height: 1.2;
}

.chat-header-text p {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.2;
}

.chat-back-button {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    font-size: 20px;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.chat-back-button:hover {
    background: #f3f4f6;
    color: #111827;
}

.job-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    padding: 20px;
    justify-items: center;
    align-items: start;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Desktop specific adjustments */
@media (min-width: 768px) {
    .job-selection-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 24px;
        max-width: 700px;
    }
}

@media (min-width: 1024px) {
    .job-selection-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
        padding: 30px;
        max-width: 900px;
    }
}

.job-selection-card {
    transition: all 0.2s ease;
    padding: 20px;
    width: 100%;
    max-width: 180px;
    min-height: 130px;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    background: var(--white) !important;
    border: 1.5px solid var(--gray-200) !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    gap: 12px;
}

.job-selection-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    border-color: var(--primary) !important;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    padding-bottom: 160px;
    background: #ffffff;
    scroll-behavior: smooth;
}

.chat-message {
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.chat-message.user {
    flex-direction: row-reverse;
}

.chat-message.bot {
    flex-direction: row;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 4px;
}

.message-avatar.bot {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.message-avatar.user {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.message-content {
    flex: 1;
    max-width: calc(100% - 50px);
}

.message-bubble {
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 15px;
    line-height: 1.5;
    word-wrap: break-word;
    position: relative;
}

.message-bubble.bot {
    background: #f1f5f9;
    color: #1e293b;
    border-bottom-left-radius: 6px;
}

.message-bubble.user {
    background: #3b82f6;
    color: white;
    border-bottom-right-radius: 6px;
    margin-left: auto;
}

.message-options {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.message-option-button {
    padding: 10px 16px;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    color: #374151;
    cursor: pointer;
    font-size: 14px;
    text-align: left;
    transition: all 0.2s ease;
}

.message-option-button:hover {
    background: #f9fafb;
    border-color: #10b981;
    color: #10b981;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto 24px;
}

.typing-bubble {
    background: #f1f5f9;
    border-radius: 18px;
    border-bottom-left-radius: 6px;
    padding: 12px 16px;
    color: #6b7280;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: #9ca3af;
    border-radius: 50%;
    animation: typingDot 1.4s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDot {
    0%, 60%, 100% { opacity: 0.3; }
    30% { opacity: 1; }
}

.chat-input-container {
    position: fixed;
    bottom: 120px;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid #e5e7eb;
    z-index: 1100;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
}

.chat-input-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.chat-input-container input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #d1d5db;
    border-radius: 24px;
    outline: none;
    font-size: 15px;
    line-height: 1.5;
    resize: none;
    max-height: 120px;
    background: white;
    transition: all 0.2s ease;
}

.chat-input-container input:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.chat-input-container input::placeholder {
    color: #9ca3af;
}

.chat-send-button {
    width: 40px;
    height: 40px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.chat-send-button:hover {
    background: #059669;
    transform: scale(1.05);
}

.chat-send-button:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    transform: none;
}

/* Mobile responsive for chat interface */
@media (max-width: 640px) {
    .chat-container {
        height: 100vh;
    }

    .chat-header-bar {
        padding: 12px 16px;
    }

    .chat-header-avatar {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .job-selection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 12px 16px;
        justify-items: center;
        align-items: start;
        max-width: 100%;
        margin: 0 auto;
    }

    .job-selection-card {
        padding: 14px;
        min-height: 85px;
        font-size: 14px;
        max-width: 160px;
        border-radius: 10px !important;
    }

    .chat-messages {
        padding: 16px;
        padding-bottom: 140px;
    }

    .chat-message {
        margin-bottom: 20px;
        gap: 10px;
    }

    .message-avatar {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .message-bubble {
        padding: 10px 14px;
        font-size: 14px;
    }

    .chat-input-container {
        padding: 12px 16px;
        bottom: 100px;
    }

    .chat-input-wrapper {
        gap: 8px;
    }

    .chat-input-container input {
        padding: 10px 16px;
        font-size: 14px;
    }

    .chat-send-button {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .message-option-button {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-500 { color: var(--gray-500); }

.bg-primary { background: var(--primary); }
.bg-success { background: var(--success); }
.bg-warning { background: var(--warning); }

.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* Authentication Styles */
.auth-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    flex-direction: column;
    padding: 0;
}

.auth-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px 24px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.back-button {
    position: absolute;
    left: 20px;
    background: none;
    border: none;
    font-size: 18px;
    color: var(--primary);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-md);
    transition: background-color 0.2s ease;
}

.back-button:hover {
    background: var(--primary-ultra-light);
}

.auth-logo {
    max-width: 160px;
    height: auto;
}

.auth-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    margin: 20px;
    padding: 32px;
    border: 1px solid var(--gray-200);
    flex: 1;
    max-width: 500px;
    align-self: center;
    width: 100%;
    box-sizing: border-box;
}

.intro-card {
    text-align: center;
    max-width: 400px;
}

.auth-card-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.auth-subtitle {
    font-size: var(--font-size-base);
    color: var(--gray-600);
    margin: 0;
}

.intro-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.intro-subtitle {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.intro-description {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    margin-bottom: 32px;
}

.intro-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--primary-ultra-light);
    border-radius: var(--radius-xl);
    border: 1px solid var(--primary-light);
}

.feature-icon {
    font-size: 24px;
}

.intro-button {
    width: 100%;
    margin-bottom: 24px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-input {
    padding: 16px;
    font-size: var(--font-size-base);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-xl);
    transition: all 0.2s ease;
}

.auth-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.password-input-container {
    position: relative;
}

.password-input {
    padding-right: 50px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 8px;
    border-radius: var(--radius-md);
    transition: background-color 0.2s ease;
}

.password-toggle:hover {
    background: var(--gray-100);
}

.error-message {
    background: #fee2e2;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-weight: 500;
    border: 1px solid #fecaca;
}

.forgot-password {
    text-align: right;
}

.link-button {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.link-button:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.primary-link {
    color: var(--primary);
    font-weight: 700;
}

.auth-button {
    width: 100%;
    padding: 16px;
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-top: 8px;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-300);
}

.divider-text {
    margin: 0 16px;
    color: var(--gray-500);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    border: 2px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-700);
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-social:hover {
    border-color: var(--primary);
    background: var(--primary-ultra-light);
    color: var(--primary);
}

.social-icon {
    font-size: 20px;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    color: var(--gray-600);
    font-size: var(--font-size-sm);
}

/* Category Selection Styles */
.category-selection {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.category-header {
    text-align: center;
    margin-bottom: 32px;
}

.category-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.category-subtitle {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    max-height: calc(100vh - 300px);
    overflow-y: auto;
    padding: 8px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    min-height: 120px;
}

.category-card:hover {
    border-color: var(--category-color, var(--primary));
    background: var(--primary-ultra-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.category-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.category-card .category-title {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.4;
}

/* Photo Upload Styles */
.photo-upload-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.photo-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
}

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

.photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--gray-500);
}

.placeholder-icon {
    font-size: 24px;
}

.placeholder-text {
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.photo-upload-btn {
    padding: 10px 16px;
    font-size: var(--font-size-sm);
}

.required::after {
    content: ' *';
    color: #dc2626;
}

/* Success Page Styles */
.success-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    margin: 20px;
    padding: 40px 32px;
    text-align: center;
    max-width: 500px;
    align-self: center;
    width: 100%;
    box-sizing: border-box;
}

.success-header {
    margin-bottom: 32px;
}

.success-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.success-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.success-subtitle {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    line-height: 1.5;
}

.qr-display {
    margin: 32px 0;
    display: flex;
    justify-content: center;
}

.qr-code-image {
    width: 240px;
    height: 240px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

.qr-instructions {
    margin-bottom: 32px;
}

.instruction-text {
    font-size: var(--font-size-base);
    color: var(--gray-700);
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

.qr-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* Tip Interaction Styles */
.tip-interaction-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 0;
}

.tip-header {
    background: var(--white);
    padding: 32px 20px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.tip-logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 16px;
}

.tip-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.tip-subtitle {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
}

.service-professional-card {
    background: var(--white);
    margin: 20px;
    padding: 24px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 16px;
}

.professional-avatar {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
}

.professional-info h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.professional-info p {
    font-size: var(--font-size-base);
    color: var(--gray-600);
    margin-bottom: 8px;
}

.rating-display {
    display: flex;
    gap: 12px;
    font-size: var(--font-size-sm);
    color: var(--gray-500);
}

.tip-tabs {
    display: flex;
    background: var(--white);
    margin: 0 20px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.tip-tab {
    flex: 1;
    padding: 16px 12px;
    background: transparent;
    border: none;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
}

.tip-tab.active {
    background: var(--primary-ultra-light);
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tip-content {
    margin: 20px;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.tip-form h3,
.message-form h3,
.rating-form h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 24px;
    text-align: center;
}

.tip-amounts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.tip-amount-btn {
    padding: 16px;
    border: 2px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-700);
    font-size: var(--font-size-lg);
    font-weight: 700;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 0.2s ease;
}

.tip-amount-btn:hover {
    border-color: var(--primary);
    background: var(--primary-ultra-light);
}

.tip-amount-btn.selected {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.custom-amount {
    margin-bottom: 24px;
}

.custom-amount input {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-xl);
    font-size: var(--font-size-lg);
    text-align: center;
}

.message-form textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-xl);
    font-size: var(--font-size-base);
    margin-bottom: 16px;
    resize: vertical;
    min-height: 100px;
}

.message-form input {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-xl);
    font-size: var(--font-size-base);
    margin-bottom: 24px;
}

.star-rating {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.star {
    background: none;
    border: none;
    font-size: 40px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--gray-300);
}

.star.filled {
    color: #fbbf24;
    transform: scale(1.1);
}

.star:hover {
    transform: scale(1.2);
}

.rating-text {
    text-align: center;
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 24px;
}

.tip-submit-btn {
    width: 100%;
    padding: 16px;
    font-size: var(--font-size-lg);
    font-weight: 700;
}

.success-message {
    text-align: center;
    padding: 80px 40px;
    background: var(--white);
    margin: 20px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.success-message .success-icon {
    font-size: 80px;
    margin-bottom: 24px;
    color: var(--success);
}

.success-message h2 {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.success-message p {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
}

/* Mobile Responsive Authentication */
@media (max-width: 768px) {
    .auth-card {
        margin: 16px;
        padding: 24px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .category-card {
        min-height: 100px;
        padding: 20px;
    }

    .auth-title {
        font-size: var(--font-size-2xl);
    }

    .intro-title {
        font-size: var(--font-size-3xl);
    }

    .photo-upload-container {
        flex-direction: column;
        text-align: center;
    }

    .qr-code-image {
        width: 200px;
        height: 200px;
    }

    .tip-amounts {
        grid-template-columns: 1fr;
    }

    .service-professional-card {
        margin: 16px;
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

    .tip-content {
        margin: 16px;
        padding: 24px;
    }

    .tip-tabs {
        margin: 0 16px;
        flex-direction: column;
    }

    .tip-tab {
        border-bottom: 1px solid var(--gray-200);
        border-right: none;
    }

    .tip-tab:last-child {
        border-bottom: none;
    }
}

/* Enhanced Leaderboard Styles */
.enhanced-leaderboard {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding-bottom: 100px;
}

.leaderboard-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 2rem 1rem;
    text-align: center;
    border-radius: 0 0 2rem 2rem;
    margin-bottom: 1.5rem;
}

.trophy-animation {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.leaderboard-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.leaderboard-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    font-weight: 500;
}

/* Tab Navigation */
.tab-navigation {
    display: flex;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    padding: 0.5rem;
    margin: 0 1rem 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.tab-button {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6B778C;
}

.tab-button.active {
    background: #3B82F6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Job Search Styles */
.job-search-content {
    padding: 0 1rem;
}

.search-filters {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.search-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.search-input, .location-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #E5E7EB;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-input:focus, .location-input:focus {
    outline: none;
    border-color: #3B82F6;
}

.job-type-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #E5E7EB;
    border-radius: 0.75rem;
    font-size: 1rem;
    background: white;
}

.job-results {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.results-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1F2937;
}

.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.job-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 2px solid #F3F4F6;
    transition: all 0.3s ease;
}

.job-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #3B82F6;
}

.job-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 0.5rem;
}

.job-meta {
    display: flex;
    gap: 1rem;
    color: #6B7280;
    margin-bottom: 1rem;
}

.job-description {
    color: #4B5563;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.job-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.job-salary {
    background: #ECFDF5;
    color: #059669;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.job-actions {
    display: flex;
    gap: 1rem;
}

.apply-btn, .save-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.apply-btn.primary {
    background: #3B82F6;
    color: white;
    flex: 1;
}

.apply-btn:hover {
    background: #2563EB;
    transform: translateY(-1px);
}

.save-btn.secondary {
    background: #F3F4F6;
    color: #6B7280;
    padding: 0.75rem;
}

@media (max-width: 768px) {
    .search-row {
        flex-direction: column;
    }

    .job-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .job-actions {
        flex-direction: column;
    }
}
