/* ===================================
   TM Xplora Plus+ Travel Insurance
   Main Stylesheet
   =================================== */

/* CSS Variables - Tokio Marine Professional Branding */
:root {
    /* Tokio Marine Brand Colors */
    --primary-blue: #0A8AD2;
    --primary-blue-dark: #0876B4;
    --tm-gold: #B88A20;
    --tm-gold-light: #D4A84A;

    /* Status Colors (muted, professional) */
    --success-green: #38A169;
    --success-green-bg: #F0FFF4;
    --warning-orange: #DD6B20;
    --warning-orange-bg: #FFFAF0;
    --error-red: #C53030;
    --error-red-bg: #FFF5F5;
    --emergency-red: #C53030;
    --purple: #6B46C1;

    /* Text Colors */
    --text-primary: #2D3748;
    --text-secondary: #718096;
    --text-light: #A0AEC0;

    /* Background Colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-tertiary: #EDF2F7;
    --bg-accent: #E6F4FB;

    /* Borders */
    --border-color: #E2E8F0;
    --border-light: #EDF2F7;

    /* Shadows (enhanced for premium feel) */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.10);
    --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.08);

    /* Border Radius (premium rounded corners) */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-card: 16px;

    /* Spacing */
    --spacing-card: 24px;
    --spacing-section: 28px;

    /* Typography */
    --font-size-body: 15px;
    --font-size-title: 18px;
    --font-size-small: 13px;

    /* Layout */
    --header-height: 60px;
    --bottom-nav-height: 65px;
    --max-width: 600px;

    /* Transitions */
    --transition: all 0.2s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: var(--font-size-body);
    font-weight: 400;
    color: var(--text-primary);
    background: var(--bg-secondary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* App Container */
#app {
    max-width: var(--max-width);
    margin: 0 auto;
    background: var(--bg-primary);
    min-height: 100vh;
    position: relative;
    box-shadow: var(--shadow-lg);
}

/* Header */
#app-header {
    position: sticky;
    top: 0;
    height: var(--header-height);
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    color: var(--primary-blue);
}

.logo i {
    font-size: 24px;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition);
}

.icon-btn:hover {
    background: var(--border-color);
    transform: scale(1.05);
}

.icon-btn .badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--error-red);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
}

/* Emergency Header Button */
.emergency-header-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--emergency-red);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition);
    font-size: 18px;
}

.emergency-header-btn:hover {
    background: #B91C1C;
    transform: scale(1.05);
}

.emergency-header-btn:active {
    transform: scale(0.95);
}

.emergency-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 8px;
    height: 8px;
    background: #FCD34D;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

/* Main Content */
#main-content {
    padding-bottom: calc(var(--bottom-nav-height) + 20px);
    min-height: calc(100vh - var(--header-height));
}

/* Screen Management */
.screen {
    display: none;
    opacity: 0;
}

.screen.active {
    display: block;
    animation: screenFadeIn 0.25s ease-out forwards;
}

.screen.fade-out {
    display: block;
    animation: screenFadeOut 0.15s ease-in forwards;
}

@keyframes screenFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes screenFadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-8px);
    }
}

.flow-screen {
    display: none;
    opacity: 0;
}

.flow-screen.active {
    display: block;
    animation: flowFadeIn 0.2s ease-out forwards;
}

@keyframes flowFadeIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Content Wrapper */
.content-wrapper {
    padding: 20px;
}

/* Screen Header */
.screen-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: var(--header-height);
    z-index: 50;
}

.screen-header.emergency-header {
    background: var(--error-red-bg);
}

.screen-header h2 {
    flex: 1;
    font-size: 20px;
    font-weight: 600;
}

.back-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.back-btn:hover {
    background: var(--border-color);
    transform: translateX(-2px);
}

/* Emergency Section */
.emergency-section {
    padding: 20px;
}

.emergency-btn {
    width: 100%;
    height: 70px;
    border-radius: var(--radius-lg);
    border: none;
    background: var(--emergency-red);
    color: white;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.3);
    transition: var(--transition);
}

.emergency-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(220, 38, 38, 0.4);
}

.emergency-btn i {
    font-size: 24px;
}

/* Pulse Animation - Disabled for professional look */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
}

.pulse {
    /* Animation disabled for professional appearance */
}

/* Flight Monitoring Badge */
.monitoring-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--success-green-bg);
    border: 1px solid var(--success-green);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    color: var(--success-green);
}

.monitoring-badge .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success-green);
}

.monitoring-badge.inactive {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-secondary);
}

.monitoring-badge.inactive .status-dot {
    background: var(--text-light);
}

/* AI Analysis Badge */
.ai-analysis-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    border: 1px solid #E2E8F0;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 500;
    color: #64748B;
    letter-spacing: 0.02em;
}

.ai-analysis-badge i {
    font-size: 9px;
    color: #94A3B8;
}

/* Flight Hero Card */
.flight-hero-card {
    margin: 20px;
    padding: var(--spacing-card);
    background: linear-gradient(135deg, #0A8AD2 0%, #0670A8 100%);
    border-radius: var(--radius-card);
    color: white;
    box-shadow: var(--shadow-lg);
}

.flight-hero-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.flight-hero-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: var(--font-size-body);
}

.flight-hero-title i {
    font-size: 18px;
}

.flight-hero-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.flight-hero-badge i {
    font-size: 8px;
}

.flight-hero-route {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.flight-hero-city {
    text-align: center;
}

.flight-hero-code {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.flight-hero-name {
    font-size: 13px;
    opacity: 0.8;
    margin-top: 4px;
}

.flight-hero-line {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.flight-hero-line .flight-line {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.flight-hero-line i {
    margin: 0 10px;
    font-size: 16px;
}

.flight-hero-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.flight-hero-detail {
    text-align: left;
}

.flight-detail-label {
    font-size: 11px;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.flight-detail-value {
    font-weight: 600;
    font-size: var(--font-size-body);
    margin-top: 2px;
}

.flight-refresh-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.flight-refresh-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.flight-refresh-btn:active {
    transform: scale(0.95);
}

/* Policy Card */
.policy-card {
    margin: 20px;
    padding: var(--spacing-card);
    background: var(--bg-primary);
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}

.policy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success-green);
    /* pulse animation disabled */
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.status-text {
    color: var(--success-green);
    font-size: 14px;
}

.text-btn {
    background: none;
    border: none;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.text-btn:hover {
    text-decoration: underline;
}

.policy-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.policy-number {
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-blue);
}

.policy-dates {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.plan-badge {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Trust Indicators */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #ECFDF5;
    color: #059669;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 12px;
}

.trust-badge i {
    font-size: 14px;
}

.security-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 20px;
    background: #F8FAFC;
    color: var(--text-secondary);
    font-size: 12px;
    margin-top: 20px;
    border-top: 1px solid var(--border-color);
}

.security-footer i {
    color: #10B981;
    font-size: 14px;
}

/* Section Title */
.section-title {
    padding: var(--spacing-section) 20px 12px;
    font-size: var(--font-size-title);
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    letter-spacing: 0.02em;
}

.section-title.collapsed i {
    transition: var(--transition);
}

.section-title i {
    color: var(--text-secondary);
}

/* Claim Grid */
.claim-grid {
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.claim-grid-primary {
    margin-bottom: 16px;
}

.claim-grid-secondary {
    margin-top: 12px;
}

/* Compact claim tiles for secondary grid */
.claim-tile-compact {
    padding: 16px;
}

.claim-tile-compact .tile-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
}

.claim-tile-compact .tile-content h3 {
    font-size: var(--font-size-body);
}

.claim-tile-compact .tile-content p {
    font-size: var(--font-size-small);
}

/* More Claims Toggle */
.more-claims-section {
    padding: 0 20px;
    margin-bottom: 8px;
}

.more-claims-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: var(--bg-tertiary);
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: var(--font-size-body);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.more-claims-toggle:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

.more-claims-toggle i {
    transition: transform 0.3s ease;
}

.more-claims-toggle.expanded i {
    transform: rotate(180deg);
}

.claim-tile {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: var(--spacing-card);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow-sm);
}

.claim-tile:hover {
    border-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.claim-tile:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: var(--shadow-sm);
}

.tile-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* Professional tile icon colors - Single brand color for premium cohesion */
.tile-icon.blue,
.tile-icon.orange,
.tile-icon.red,
.tile-icon.purple,
.tile-icon.teal,
.tile-icon.pink,
.tile-icon.cyan,
.tile-icon.indigo,
.tile-icon.brown,
.tile-icon.gold,
.tile-icon.gray {
    background: #EFF6FF;
    color: var(--primary-blue);
}

/* AI Assistant Card - Subtle styling to not compete with claims */
.ai-assistant-card {
    margin: 12px 20px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    border-radius: var(--radius-md);
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.ai-assistant-card:hover {
    border-color: var(--primary-blue);
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
}

.ai-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.ai-content {
    flex: 1;
}

.ai-content h3 {
    font-size: var(--font-size-body);
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.ai-content p {
    font-size: var(--font-size-small);
    color: var(--text-secondary);
    line-height: 1.4;
}

.ai-assistant-card > i {
    color: var(--text-light);
    font-size: 16px;
}

.tile-content h3 {
    font-size: var(--font-size-title);
    font-weight: 600;
    margin-bottom: 4px;
}

.tile-content p {
    font-size: var(--font-size-body);
    color: var(--text-secondary);
    line-height: 1.5;
}

.auto-badge {
    display: inline-block;
    background: var(--success-green);
    color: white;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.tile-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--text-light);
    font-size: 12px;
}

/* Quick Access */
.quick-access {
    padding: 0 20px 20px;
    display: flex;
    gap: 10px;
}

.quick-btn {
    flex: 1;
    background: var(--bg-tertiary);
    border: none;
    border-radius: var(--radius-md);
    padding: 16px 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.quick-btn:hover {
    background: var(--border-color);
    transform: translateY(-2px);
}

.quick-btn:active {
    transform: translateY(0) scale(0.97);
}

.quick-btn i {
    font-size: 20px;
    color: var(--primary-blue);
}

.quick-btn span {
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    color: var(--text-primary);
}

/* Info Card */
.info-card {
    background: var(--bg-accent);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: var(--spacing-card);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow-sm);
}

.info-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.info-card h3 {
    font-size: var(--font-size-title);
    font-weight: 600;
}

.info-card p {
    font-size: var(--font-size-body);
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Toggle Section */
.toggle-section {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 20px;
}

.toggle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toggle-header h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.small-text {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Toggle Switch */
.toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: var(--transition);
    border-radius: 28px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: var(--transition);
    border-radius: 50%;
}

.toggle input:checked + .toggle-slider {
    background-color: var(--success-green);
}

.toggle input:checked + .toggle-slider:before {
    transform: translateX(22px);
}

/* Form Section */
.form-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.input-with-prefix {
    position: relative;
}

.input-with-prefix .prefix {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-weight: 600;
}

.input-with-prefix input {
    padding-left: 60px;
}

/* Buttons */
.btn-primary {
    width: 100%;
    padding: 16px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    margin-top: 10px;
}

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

.btn-primary:active {
    transform: translateY(0) scale(0.98);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    width: 100%;
    padding: 16px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.btn-secondary:hover {
    background: var(--border-color);
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: translateY(0) scale(0.98);
}

.btn-outline {
    width: 100%;
    padding: 14px;
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    margin-top: 10px;
}

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

.btn-text {
    width: 100%;
    padding: 14px;
    background: transparent;
    color: var(--text-secondary);
    border: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.btn-text:hover {
    color: var(--text-primary);
}

.btn-emergency {
    width: 100%;
    padding: 18px;
    background: var(--emergency-red);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.btn-emergency:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(220, 38, 38, 0.4);
}

/* Alert Card */
.alert-card {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.alert-card.warning {
    background: #fef3c7;
    border-color: var(--warning-orange);
}

.alert-card i {
    font-size: 24px;
    color: var(--warning-orange);
    flex-shrink: 0;
}

.alert-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.alert-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Flight Info Card */
.flight-info-card {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
}

.flight-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.flight-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--bg-accent);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.flight-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.flight-header p {
    font-size: 14px;
    color: var(--text-secondary);
}

.delay-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.delay-time {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.time-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.time-item .label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.time-item .time {
    font-size: 20px;
    font-weight: 700;
}

.time-item .time.delayed {
    color: var(--error-red);
}

.delay-time > i {
    color: var(--text-light);
}

.delay-duration {
    text-align: center;
}

.duration-badge {
    display: inline-block;
    background: var(--error-red);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Progress Section */
.progress-section {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
}

.progress-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}

.step.completed .step-icon {
    background: var(--success-green);
    color: white;
}

.step.active .step-icon {
    background: var(--primary-blue);
    color: white;
}

.step span {
    font-size: 12px;
    text-align: center;
    color: var(--text-secondary);
}

.step.completed span,
.step.active span {
    color: var(--text-primary);
    font-weight: 600;
}

.step-line {
    height: 2px;
    background: var(--border-color);
    flex: 1;
    margin: 0 -10px;
}

.step-line.completed {
    background: var(--success-green);
}

/* Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.spinner-small {
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-color);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Skeleton Loading States */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 16px;
    width: 100%;
    margin-bottom: 8px;
}

.skeleton-text:last-child {
    width: 60%;
}

.skeleton-title {
    height: 24px;
    width: 70%;
    margin-bottom: 12px;
}

.skeleton-circle {
    border-radius: 50%;
}

.skeleton-card {
    padding: var(--spacing-card);
    background: var(--bg-primary);
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
}

/* Flight Hero Skeleton */
.flight-hero-skeleton {
    margin: 20px;
    padding: var(--spacing-card);
    background: linear-gradient(135deg, #0A8AD2 0%, #0670A8 100%);
    border-radius: var(--radius-card);
    min-height: 180px;
}

.flight-hero-skeleton .skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.1) 75%);
    background-size: 200% 100%;
}

/* Info Box */
.info-box {
    background: #eff6ff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.info-box.success {
    background: #d1fae5;
    border-color: #6ee7b7;
}

.info-box i {
    color: var(--primary-blue);
    font-size: 20px;
    flex-shrink: 0;
}

.info-box.success i {
    color: var(--success-green);
}

.info-box p {
    font-size: 14px;
    line-height: 1.5;
}

/* Success Animation */
.success-animation {
    text-align: center;
    padding: 30px 0;
}

.checkmark-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--success-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-animation h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.success-animation p {
    color: var(--text-secondary);
}

/* Amount Card */
.amount-card {
    background: var(--bg-accent);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    margin: 20px 0;
    border: 1px solid var(--border-color);
}

.amount-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.amount {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-blue);
}

.approval-rate {
    font-size: 13px;
    color: var(--success-green);
    margin-top: 8px;
    font-weight: 600;
}

/* Details List */
.details-list {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 16px;
    margin: 20px 0;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.detail-item .label {
    font-size: 14px;
    color: var(--text-secondary);
}

.detail-item .value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.detail-item .value.success {
    color: var(--success-green);
}

.detail-item .value.mono {
    font-family: 'Courier New', monospace;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 12px;
    margin: 20px 0;
}

.action-buttons .btn-primary,
.action-buttons .btn-outline {
    flex: 1;
}

/* Badge Highlight */
.badge-highlight {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--success-green);
    color: white;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Upload Section */
.upload-section {
    margin-bottom: 25px;
}

.upload-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.photo-upload-area {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-tertiary);
}

.photo-upload-area:hover {
    border-color: var(--primary-blue);
    background: #eff6ff;
}

.photo-upload-area i {
    font-size: 48px;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.photo-upload-area p {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.photo-preview {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: var(--bg-tertiary);
    cursor: pointer;
}

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

.photo-preview .remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.photo-preview:hover .remove-btn {
    opacity: 1;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--bg-tertiary);
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.checkbox-label:hover {
    background: var(--border-color);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-blue);
}

.checkbox-label input[type="checkbox"]:checked + span {
    font-weight: 600;
}

/* Progress Indicator */
.progress-indicator {
    margin-bottom: 25px;
}

.progress-bar {
    height: 4px;
    background: #F1F5F9;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.04);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue) 0%, #60A5FA 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-fill.success {
    background: linear-gradient(90deg, #059669 0%, #10B981 100%);
}

.progress-text {
    font-size: var(--font-size-small);
    color: var(--text-secondary);
    text-align: center;
    display: block;
}

/* Document Categories */
.document-categories {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.category-item {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 16px;
}

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

.category-header i {
    color: var(--primary-blue);
    font-size: 20px;
}

.category-header span:first-of-type {
    flex: 1;
    font-weight: 600;
}

.count-badge {
    background: var(--success-green);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 600;
}

/* Upload Zone */
.upload-zone {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 20px;
}

.upload-zone:hover {
    border-color: var(--primary-blue);
    background: #eff6ff;
}

.upload-zone i {
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.upload-zone h4 {
    font-size: 16px;
    margin-bottom: 6px;
}

.upload-zone p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Status Hero */
.status-hero {
    text-align: center;
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.status-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 36px;
}

.status-icon.processing {
    background: #fef3c7;
    color: var(--warning-orange);
}

.status-hero h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.status-hero p {
    font-size: 14px;
    color: var(--text-secondary);
    font-family: 'Courier New', monospace;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 40px;
    margin: 30px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 30px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -40px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--border-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    border: 3px solid var(--bg-primary);
}

.timeline-item.completed .timeline-marker {
    background: var(--success-green);
    color: white;
}

.timeline-item.active .timeline-marker {
    background: var(--primary-blue);
    color: white;
}

.timeline-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Breakdown Card */
.breakdown-card {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 20px 0;
}

.breakdown-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.breakdown-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.breakdown-item span:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breakdown-item i {
    font-size: 16px;
}

.breakdown-item i.success {
    color: var(--success-green);
}

.breakdown-item i.warning {
    color: var(--warning-orange);
}

.breakdown-item span:last-child {
    font-weight: 600;
}

.breakdown-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: #eff6ff;
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.breakdown-note i {
    color: var(--primary-blue);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Emergency Call Section */
.emergency-call-section {
    text-align: center;
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.emergency-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--error-red-bg);
    color: var(--emergency-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
}

.emergency-call-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.emergency-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    margin: 15px 0;
    letter-spacing: 1px;
}

.response-time {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 10px;
}

/* Emergency Checklist */
.emergency-checklist {
    margin: 30px 0;
}

.emergency-checklist h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: var(--bg-tertiary);
    border-radius: 8px;
}

.checklist li i {
    color: var(--success-green);
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Info Cards */
.info-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-card-small {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
}

.info-card-small i {
    font-size: 24px;
    color: var(--primary-blue);
}

.info-card-small h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.info-card-small p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Success Banner */
.success-banner {
    background: var(--success-green-bg);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    margin-bottom: 25px;
}

.success-banner i {
    font-size: 48px;
    color: var(--success-green);
    margin-bottom: 12px;
}

.success-banner h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.success-banner p {
    color: var(--text-secondary);
}

/* GL Card */
.gl-card {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 20px;
}

.gl-header {
    background: var(--bg-accent);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gl-header h4 {
    font-size: 16px;
    font-weight: 600;
}

.gl-status {
    background: var(--success-green);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.gl-details {
    padding: 16px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.detail-row .label {
    font-size: 14px;
    color: var(--text-secondary);
}

.detail-row .value {
    font-size: 14px;
    font-weight: 600;
}

.qr-section {
    padding: 20px;
    background: var(--bg-tertiary);
    text-align: center;
}

.qr-placeholder {
    width: 150px;
    height: 150px;
    background: var(--bg-primary);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    margin: 0 auto 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.qr-placeholder i {
    font-size: 60px;
    color: var(--text-secondary);
}

.qr-placeholder p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Coordinator Card */
.coordinator-card {
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin: 20px 0;
}

.coordinator-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 16px;
}

.coordinator-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.coordinator-header h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.coordinator-header p {
    font-size: 14px;
    color: var(--text-secondary);
}

.status-online {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--success-green);
    font-weight: 600;
}

.status-online .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success-green);
    /* pulse animation disabled */
}

/* Patient Card */
.patient-card {
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 25px;
}

.patient-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.patient-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.patient-info h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.patient-info p {
    font-size: 14px;
    color: var(--text-secondary);
}

.patient-status {
    text-align: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    gap: 6px;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.status-badge.success {
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
    color: #047857;
    border: 1px solid #A7F3D0;
}

.status-badge.processing {
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
    color: #B45309;
    border: 1px solid #FCD34D;
}

.status-badge.pending {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    color: var(--primary-blue);
    border: 1px solid #93C5FD;
}

/* Bill Card */
.bill-card {
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin: 25px 0;
}

.bill-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.bill-summary {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bill-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.bill-row.total {
    padding-top: 0;
    border-bottom: 1px solid var(--border-color);
}

.bill-row.covered {
    border-bottom: 1px solid var(--border-color);
}

.bill-row.patient {
    padding-bottom: 0;
    padding-top: 12px;
    border-top: 2px solid var(--text-primary);
}

.bill-row.patient .highlight {
    font-size: 24px;
    font-weight: 700;
    color: var(--success-green);
}

/* Coordinator Updates */
.coordinator-updates {
    margin: 25px 0;
}

.coordinator-updates h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.update-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    margin-bottom: 10px;
}

.update-item i {
    color: var(--primary-blue);
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.update-item p {
    font-size: 14px;
    flex: 1;
}

.update-item .time {
    font-size: 12px;
    color: var(--text-secondary);
    display: block;
    margin-top: 4px;
}

/* Cost Breakdown Section */
.cost-breakdown-section {
    margin: 25px 0;
}

.cost-breakdown-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.cost-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: var(--bg-tertiary);
    border-radius: 8px;
}

.cost-item span:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.cost-item i {
    color: var(--primary-blue);
    font-size: 18px;
}

.cost-input {
    width: 120px;
    padding: 8px 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: right;
}

.cost-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--bg-accent);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.cost-total span:first-child {
    font-size: 16px;
    font-weight: 600;
}

.total-amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
}

/* Upload List */
.upload-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.upload-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    background: var(--bg-tertiary);
    border-radius: 8px;
}

.upload-item i {
    color: var(--primary-blue);
    font-size: 20px;
    margin-right: 12px;
}

.upload-item span {
    flex: 1;
    font-size: 14px;
}

.btn-upload {
    padding: 8px 16px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-upload:hover {
    background: var(--primary-blue-dark);
}

/* Claim Reference Card */
.claim-reference-card {
    background: var(--bg-accent);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    margin-bottom: 30px;
}

.claim-reference-card h4 {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.reference-number {
    font-size: 28px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.claim-reference-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Multi-Day Timeline */
.multi-day-timeline {
    position: relative;
    padding-left: 50px;
    margin: 30px 0;
}

.multi-day-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 16px;
    bottom: 16px;
    width: 3px;
    background: var(--border-color);
}

.day-item {
    position: relative;
    padding-bottom: 35px;
}

.day-item:last-child {
    padding-bottom: 0;
}

.day-marker {
    position: absolute;
    left: -50px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    border: 4px solid var(--bg-primary);
}

.day-item.completed .day-marker {
    background: var(--success-green);
    color: white;
}

.day-item.active .day-marker {
    background: var(--primary-blue);
    color: white;
}

.day-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.day-content p {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.day-content .timestamp {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Activity Feed */
.activity-feed {
    margin: 30px 0;
}

.activity-feed h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    margin-bottom: 10px;
}

.activity-item i {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.activity-item i.success {
    color: var(--success-green);
}

.activity-item i.warning {
    color: var(--warning-orange);
}

.activity-item p {
    font-size: 14px;
    flex: 1;
}

.activity-item .time {
    font-size: 12px;
    color: var(--text-secondary);
    display: block;
    margin-top: 4px;
}

/* Compassion Message */
.compassion-message {
    background: var(--error-red-bg);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin: 20px 0;
}

.compassion-message i {
    color: var(--error-red);
    font-size: 24px;
    flex-shrink: 0;
}

.compassion-message p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
}

/* Special Offer Card */
.special-offer-card {
    background: #F5F3FF;
    border: 2px solid #d8b4fe;
    border-radius: var(--radius-lg);
    padding: 20px;
    margin: 20px 0;
    position: relative;
}

.offer-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--purple);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.special-offer-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 10px 0 10px;
}

.special-offer-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

/* Rating Section */
.rating-section {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 25px;
}

.rating-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.stars i {
    font-size: 28px;
    color: #fbbf24;
    cursor: pointer;
    transition: var(--transition);
}

.stars i:hover {
    transform: scale(1.2);
}

/* Claims Tracking */
.claim-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-blue);
    border-radius: var(--radius-card);
    padding: var(--spacing-card);
    margin-bottom: 16px;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.claim-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--primary-blue), transparent 50%);
}

.claim-card:hover {
    border-color: var(--border-color);
    border-left-color: var(--primary-blue);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04);
    transform: translateY(-1px);
}

.claim-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
}

.claim-header h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 3px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.claim-id {
    font-size: 11px;
    color: #94A3B8;
    font-family: 'Inter', monospace;
    letter-spacing: 0.02em;
}

.claim-progress {
    margin-bottom: 16px;
}

.progress-label {
    font-size: var(--font-size-small);
    color: var(--text-secondary);
    display: block;
    margin-top: 8px;
}

.claim-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 14px 16px;
    background: #FAFBFC;
    border-radius: 8px;
    margin-bottom: 16px;
}

.claim-details .detail-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.claim-details .label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94A3B8;
    font-weight: 500;
}

.claim-details .value {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.btn-outline-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.btn-outline-small:hover {
    background: #0A6EB5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(10, 138, 210, 0.25);
}

.btn-outline-small:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Completed Claims */
.collapsed-section {
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.claim-card-compact {
    background: #FAFBFC;
    border: 1px solid #E2E8F0;
    border-left: 3px solid #10B981;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.claim-card-compact:hover {
    border-color: #CBD5E1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.claim-header-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.claim-header-compact h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.claim-id-small {
    font-size: 11px;
    color: #94A3B8;
    font-family: 'Inter', monospace;
    letter-spacing: 0.02em;
}

.amount-small {
    font-size: 16px;
    font-weight: 700;
}

.amount-small.success {
    color: #059669;
}

.settled-date {
    font-size: 12px;
    color: #64748B;
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 20px 0;
}

.stat-card {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.stat-card i {
    font-size: 24px;
    color: var(--primary-blue);
}

.stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Policy Details */
.policy-status-card {
    background: var(--bg-accent);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
}

.status-badge-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--success-green);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
    /* pulse animation disabled */
}

.policy-status-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.policy-status-card .policy-number {
    font-size: 18px;
    margin-bottom: 15px;
}

.policy-status-card .coverage-period {
    margin-bottom: 20px;
}

.policy-meta {
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.policy-meta div {
    font-size: 14px;
}

/* Coverage Sections */
.coverage-sections {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.coverage-section {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.coverage-section:hover {
    border-color: var(--primary-blue);
}

.coverage-section .section-header {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-tertiary);
}

.coverage-section .section-header > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.coverage-section .section-header i:first-child {
    color: var(--primary-blue);
    font-size: 20px;
}

.coverage-section .section-header span {
    font-weight: 600;
    font-size: 15px;
}

.coverage-section .section-header > i {
    color: var(--text-light);
    transition: var(--transition);
}

.coverage-section.expanded .section-header > i {
    transform: rotate(180deg);
}

.section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.coverage-section.expanded .section-content {
    max-height: 500px;
}

.coverage-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-top: 1px solid var(--border-color);
}

.coverage-item span:first-child {
    font-size: 14px;
}

.coverage-item span:last-child {
    font-weight: 600;
    font-size: 14px;
}

.feature-badge {
    background: #d1fae5;
    color: var(--success-green);
    padding: 10px 16px;
    margin: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Quick Actions Section */
.quick-actions-section {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.action-btn {
    flex: 1;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.action-btn:hover {
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

.action-btn i {
    font-size: 24px;
    color: var(--primary-blue);
}

.action-btn span {
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

/* Support Banner */
.support-banner {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.support-banner i {
    font-size: 36px;
    color: var(--primary-blue);
}

.support-banner h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.support-banner p {
    font-size: 14px;
    color: var(--text-secondary);
}

.support-banner > div {
    flex: 1;
}

/* Profile */
.profile-header {
    text-align: center;
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 25px;
}

.profile-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 36px;
}

.profile-header h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 6px;
}

.profile-header p {
    color: var(--text-secondary);
}

/* Menu Section */
.menu-section {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 25px;
}

.menu-item {
    background: var(--bg-primary);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

.menu-item:hover {
    background: var(--bg-tertiary);
}

.menu-item i:first-child {
    font-size: 20px;
    color: var(--primary-blue);
    width: 24px;
    text-align: center;
}

.menu-item span {
    flex: 1;
    font-size: 15px;
}

.menu-item i:last-child {
    color: var(--text-light);
    font-size: 14px;
}

.logout-btn {
    width: 100%;
    margin-top: 20px;
}

/* Bottom Navigation */
#bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--max-width);
    height: var(--bottom-nav-height);
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    padding: 8px 0 12px;
    z-index: 100;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}

.nav-btn {
    flex: 1;
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
    position: relative;
}

.nav-btn:active {
    transform: scale(0.92);
}

.nav-btn.active {
    color: var(--primary-blue);
}

/* Active indicator line */
.nav-btn.active::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 0 0 3px 3px;
}

.nav-btn i {
    font-size: 22px;
}

.nav-btn span {
    font-size: 11px;
    font-weight: 600;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--bg-primary);
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    overflow: auto;
    z-index: 1000;
    display: none;
    animation: modalSlideIn 0.3s ease forwards;
}

.modal.active {
    display: block;
}

@keyframes modalSlideIn {
    to {
        transform: translate(-50%, -50%) scale(1);
    }
}

.modal-content {
    padding: 30px 25px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--border-color);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 25px;
}

.modal-header i {
    font-size: 48px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.modal-header h3 {
    font-size: 22px;
    font-weight: 700;
}

.modal-body {
    text-align: center;
}

.hotline-number-large {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    margin: 20px 0;
    letter-spacing: 1px;
}

.hotline-info {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 16px;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.info-item i {
    color: var(--primary-blue);
    font-size: 16px;
}

/* Chat Modal */
.modal-large {
    max-width: 500px;
    max-height: 600px;
    padding: 0;
}

.chat-header {
    background: var(--bg-accent);
    padding: 20px;
    border-radius: 20px 20px 0 0;
    position: relative;
}

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

.coordinator-avatar-small {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.chat-coordinator h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.chat-messages {
    height: 350px;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: var(--radius-lg);
    position: relative;
}

.message.received {
    background: var(--bg-tertiary);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.message.sent {
    background: var(--primary-blue);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.message p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 6px;
}

.message .time {
    font-size: 11px;
    opacity: 0.7;
}

.chat-input {
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-primary);
    border-radius: 0 0 20px 20px;
}

.chat-input input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-size: 14px;
    outline: none;
}

.chat-input input:focus {
    border-color: var(--primary-blue);
}

.send-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.send-btn:hover {
    background: var(--primary-blue-dark);
    transform: scale(1.05);
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
}

.toast {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: slideInRight 0.3s ease;
    border-left: 4px solid var(--primary-blue);
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.success {
    border-left-color: var(--success-green);
}

.toast.error {
    border-left-color: var(--error-red);
}

.toast.warning {
    border-left-color: var(--warning-orange);
}

.toast i {
    font-size: 24px;
    flex-shrink: 0;
}

.toast.success i {
    color: var(--success-green);
}

.toast.error i {
    color: var(--error-red);
}

.toast.warning i {
    color: var(--warning-orange);
}

.toast-content h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.toast-content p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 480px) {
    .claim-grid {
        grid-template-columns: 1fr;
    }
    
    .claim-details {
        grid-template-columns: 1fr;
    }
    
    .stats-section {
        grid-template-columns: 1fr;
    }
    
    .quick-access {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .quick-actions-section {
        flex-direction: column;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

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

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* Baggage Inventory */
.inventory-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 20px 0;
}

.inventory-item {
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.inventory-item.selected {
    border-color: var(--primary-blue);
    background: #eff6ff;
}

.inventory-item input[type="checkbox"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
    accent-color: var(--primary-blue);
}

.inventory-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.inventory-info {
    flex: 1;
}

.inventory-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.inventory-info p {
    font-size: 13px;
    color: var(--text-secondary);
}

.ai-detected-badge {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-md);
    font-size: 11px;
    font-weight: 700;
}

/* Damage Location Selector */
.damage-location-card {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
}

.luggage-diagram {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 20px auto;
}

.luggage-svg {
    width: 100%;
    height: auto;
}

.damage-point {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.8);
    border: 3px solid white;
    cursor: pointer;
    animation: pulse-damage 2s ease-in-out infinite;
}

@keyframes pulse-damage {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

.damage-selector-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.damage-option {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.damage-option.selected {
    border-color: var(--error-red);
    background: #fee2e2;
}

.damage-option i {
    font-size: 24px;
    color: var(--error-red);
    margin-bottom: 8px;
}

.damage-option span {
    display: block;
    font-size: 13px;
    font-weight: 600;
}

/* AI Valuation Screen */
.ai-valuation-card {
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin: 20px 0;
    border: 1px solid var(--border-color);
}

.ai-working {
    text-align: center;
    padding: 20px 0;
}

.ai-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #e0f2fe;
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.valuation-results {
    margin-top: 20px;
}

.valuation-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.valuation-item:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 18px;
    padding-top: 16px;
    border-top: 2px solid var(--primary-blue);
}

.ai-confidence {
    display: inline-block;
    background: #d1fae5;
    color: var(--success-green);
    padding: 4px 10px;
    border-radius: var(--radius-md);
    font-size: 11px;
    font-weight: 700;
    margin-left: 8px;
}

/* Voice Input Button */
.voice-input-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.voice-input-btn:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-50%) scale(1.1);
}

.voice-input-btn.listening {
    /* pulse disabled */
    background: var(--error-red);
}

/* AI Message Styling */
.ai-message {
    background: #f0f9ff !important;
    border-left: 4px solid var(--primary-blue);
}

.ai-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

/* Smart Suggestions */
.smart-suggestions {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 16px;
    margin: 20px 0;
}

.smart-suggestions h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.smart-suggestions h4 i {
    color: var(--primary-blue);
}

.suggestion-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.suggestion-chip {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
}

.suggestion-chip:hover {
    border-color: var(--primary-blue);
    background: #eff6ff;
}

/* Malaysia Currency Format */
.currency-rm::before {
    content: 'RM ';
    font-weight: 600;
}

/* AI Damage Analysis Enhancements */
.photo-analysis-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.photo-analysis-badge.analyzed {
    background: var(--success-green);
}

.ai-analysis-header {
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.ai-analysis-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.confidence-badge {
    display: inline-block;
    background: var(--success-green);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}

.damage-summary-card {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
}

.damage-summary-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.severity-breakdown {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.severity-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.severity-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.damage-detail-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 16px;
    transition: var(--transition);
}

.damage-detail-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.damage-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-tertiary);
    border-bottom: 2px solid var(--border-color);
}

.damage-icon {
    font-size: 28px;
}

.damage-title {
    flex: 1;
}

.damage-title h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.location-badge {
    display: inline-block;
    background: white;
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: var(--radius-md);
    font-size: 11px;
    font-weight: 600;
}

.severity-badge {
    padding: 6px 14px;
    border-radius: 20px;
    color: white;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.damage-body {
    padding: 16px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.detail-row .label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
}

.detail-row .value {
    font-size: 13px;
    color: var(--text-primary);
    text-align: right;
    max-width: 60%;
}

.severity-meter {
    height: 8px;
    background: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    margin: 16px 16px 0 16px;
}

.meter-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease;
}

/* Cost Assessment Enhancements */
.cost-comparison-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin: 20px 0;
}

.cost-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
}

.cost-row:last-child {
    border-bottom: none;
    padding-top: 20px;
    border-top: 3px solid var(--primary-blue);
}

.cost-label {
    font-size: 15px;
    font-weight: 600;
}

.cost-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-blue);
}

.cost-amount.highlight {
    font-size: 24px;
    color: var(--success-green);
}

.recommendation-card {
    background: var(--success-green-bg);
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 20px 0;
}

.recommendation-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--success-green);
}

.recommendation-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
}

.repair-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 15px;
}

.repair-detail-item {
    background: white;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
}

.repair-detail-item .label {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.repair-detail-item .value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Comprehensive Flow Progress */
.flow-progress-tracker {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 16px;
    margin: 20px 0;
}

.progress-steps-horizontal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.progress-steps-horizontal::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}

.progress-step-item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 3px solid var(--bg-tertiary);
}

.progress-step-item.completed .step-circle {
    background: var(--success-green);
    color: white;
}

.progress-step-item.active .step-circle {
    background: var(--primary-blue);
    color: white;
    /* pulse disabled */
}

.step-label {
    font-size: 11px;
    text-align: center;
    color: var(--text-secondary);
    max-width: 80px;
}

.progress-step-item.completed .step-label,
.progress-step-item.active .step-label {
    color: var(--text-primary);
    font-weight: 600;
}

/* Hospital Search Results */
.hospital-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.hospital-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.hospital-card.selected {
    border-color: var(--success-green);
    background: #f0fdf4;
}

.hospital-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.hospital-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.hospital-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #fbbf24;
}

.cashless-badge {
    background: var(--success-green);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-md);
    font-size: 11px;
    font-weight: 700;
}

.hospital-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.hospital-detail-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hospital-detail-row i {
    width: 16px;
    color: var(--primary-blue);
}

/* Booking Verification */
.booking-item {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 12px;
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.booking-type {
    font-size: 16px;
    font-weight: 700;
}

.verified-badge {
    background: var(--success-green);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-md);
    font-size: 11px;
    font-weight: 700;
}

.booking-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.booking-detail {
    font-size: 13px;
}

.booking-detail .label {
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.booking-detail .value {
    font-weight: 600;
    color: var(--text-primary);
}

/* Real-time Treatment Tracker */
.treatment-timeline {
    background: white;
    border-radius: var(--radius-md);
    padding: 20px;
}

.timeline-live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 12px;
    background: #fef3c7;
    border-radius: 8px;
}

.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--error-red);
    /* pulse animation disabled */
}

.timeline-live-indicator span {
    font-size: 14px;
    font-weight: 700;
    color: var(--error-red);
}