/**
 * NexAuto Account Hub - Complete Modern CSS
 * Clean automotive interface without emojis
 * Version 2.0 - Fully modernized
 */

/* ===================================
   CSS VARIABLES & DESIGN TOKENS
   =================================== */
:root {
    /* Colors */
    --primary-blue: #6366f1;
    --primary-blue-hover: #5855eb;
    --primary-blue-light: #eef2ff;
    --secondary-gray: #6b7280;
    --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;
    --white: #ffffff;
    
    /* Status Colors */
    --success: #10b981;
    --success-light: #f0fdf4;
    --warning: #f59e0b;
    --warning-light: #fffbeb;
    --error: #ef4444;
    --error-light: #fef2f2;
    --info: #3b82f6;
    --info-light: #eff6ff;
    
    /* Spacing & Layout */
    --border-radius: 8px;
    --border-radius-sm: 6px;
    --border-radius-lg: 12px;
    --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);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s ease;
    
    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
}

/* ===================================
   GLOBAL RESETS & BASE STYLES
   =================================== */
* {
    box-sizing: border-box;
}

.nexauto-modern-dashboard,
.nexauto-view-claim-container,
.claim-page-container,
.nexauto-vehicle-details-page {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--gray-800);
}

/* ===================================
   CARD SYSTEM
   =================================== */
.nexauto-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    transition: var(--transition);
    overflow: hidden;
}

.nexauto-card:hover {
    border-color: var(--gray-300);
}

.nexauto-card-header {
    padding: 20px 24px 16px 24px;
    border-bottom: 1px solid var(--gray-100);
    background: var(--gray-50);
}

.nexauto-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0;
    letter-spacing: -0.01em;
}

.nexauto-card-subtitle {
    font-size: 14px;
    color: var(--gray-500);
    margin: 4px 0 0 0;
}

.nexauto-card-body {
    padding: 24px;
}

.nexauto-card-footer {
    padding: 16px 24px;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-100);
}

.nexauto-card-full {
    grid-column: 1 / -1;
}

/* ===================================
   BUTTON SYSTEM
   =================================== */
.nexauto-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    background: none;
    white-space: nowrap;
    min-height: 44px;
    font-family: var(--font-family);
    line-height: 1;
}

.nexauto-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.nexauto-btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.nexauto-btn-primary:hover:not(:disabled) {
    background: var(--primary-blue-hover);
    border-color: var(--primary-blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.nexauto-btn-secondary {
    background: var(--white);
    color: var(--gray-700);
    border-color: var(--gray-300);
}

.nexauto-btn-secondary:hover:not(:disabled) {
    background: var(--gray-50);
    border-color: var(--gray-400);
    color: var(--gray-800);
}

.nexauto-btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.nexauto-btn-outline:hover:not(:disabled) {
    background: var(--primary-blue-light);
    color: var(--primary-blue-hover);
    border-color: var(--primary-blue-hover);
}

.nexauto-btn-ghost {
    background: transparent;
    color: var(--gray-600);
    border: none;
    padding: 8px 16px;
}

.nexauto-btn-ghost:hover:not(:disabled) {
    background: #fff;
    color: var(--gray-800);
}

.nexauto-btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    min-height: 36px;
}

.nexauto-btn-lg {
    padding: 16px 32px;
    font-size: 16px;
    min-height: 52px;
}

/* ==================================================
   REFINED STYLING: Warranty Extension Modal v3
   ================================================== */

.nexauto-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

.nexauto-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.nexauto-modal-content {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.nexauto-modal-overlay.active .nexauto-modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Modal Header */
.nexauto-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px 28px 20px;
    border-bottom: 1px solid #f3f4f6;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.modal-title-section {
    flex: 1;
}

.nexauto-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px 0;
    letter-spacing: -0.025em;
}

.nexauto-modal-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

.nexauto-close-modal {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.nexauto-close-modal:hover {
    background: #f9fafb;
    color: #374151;
    border-color: #d1d5db;
    transform: scale(1.05);
}

.nexauto-close-modal:active {
    transform: scale(0.95);
}

/* Modal Body */
.nexauto-modal-body {
    padding: 28px;
    max-height: 60vh;
    overflow-y: auto;
}

.vehicle-info-section {
    margin-bottom: 28px;
}

.vehicle-info-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
    border: 1px solid #dbeafe;
    border-radius: 12px;
    font-size: 15px;
    color: #1e40af;
}

.vehicle-icon {
    color: #3b82f6;
    flex-shrink: 0;
}

.warranty-selection-section {
    margin-bottom: 24px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px 0;
    letter-spacing: -0.01em;
}

.section-description {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

/* Warranty Options */
.nexauto-warranty-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nexauto-warranty-option {
    display: block;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.nexauto-warranty-option:hover:not(:has(input[type="radio"]:checked)) {
    border-color: #c7d2fe;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.nexauto-warranty-option.popular:hover:not(:has(input[type="radio"]:checked)) {
    border-color: #3b82f6;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.15);
}

.nexauto-warranty-option.popular {
    border-color: #3b82f6;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.nexauto-warranty-option.popular::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%);
    z-index: 1;
}

.popular-badge {
    position: absolute;
    top: -1px;
    right: -1px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 0 11px 0 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 3;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.nexauto-warranty-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.nexauto-warranty-option input[type="radio"]:checked + .option-content {
    background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
}

.nexauto-warranty-option input[type="radio"]:checked ~ .option-check {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.nexauto-warranty-option input[type="radio"]:focus + .option-content {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.option-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px;
    gap: 20px;
    border-radius: 10px;
    transition: all 0.2s ease;
    position: relative;
    min-height: 80px;
}

.option-check {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transform: translateY(-4px) scale(0.8);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 4;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.nexauto-warranty-option.popular .option-check {
    top: 40px; /* Adjust for popular badge */
}

/* Option Details */
.option-details {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.option-title {
    font-weight: 600;
    font-size: 16px;
    color: #111827;
    line-height: 1.4;
    margin-bottom: 4px;
}

.option-description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.4;
}

.option-price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    text-align: right;
    flex-shrink: 0;
    min-width: 120px;
}

.option-price {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
    line-height: 1.2;
}

.option-price .woocommerce-Price-amount {
    color: inherit;
}

.option-savings {
    font-size: 12px;
    color: #059669;
    font-weight: 600;
    margin-top: 2px;
}

/* Selected State */
.nexauto-warranty-option:has(input[type="radio"]:checked) {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
    box-shadow: 0 8px 25px -5px rgba(59, 130, 246, 0.25);
    transform: translateY(-2px);
}

.nexauto-warranty-option:has(input[type="radio"]:checked) .option-content {
    background: transparent;
}

.nexauto-warranty-option:has(input[type="radio"]:checked) .option-title {
    color: #1e40af;
}

.nexauto-warranty-option:has(input[type="radio"]:checked) .option-price {
    color: #3b82f6;
}

/* Modal Footer */
.nexauto-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 28px 24px;
    background: #f9fafb;
    border-top: 1px solid #f3f4f6;
}

.warranty-submit-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.25);
}

.warranty-submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-1px);
    box-shadow: 0 8px 15px -3px rgba(59, 130, 246, 0.3);
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.2s ease;
}

.btn-loader svg {
    animation: spin 1s linear infinite;
}

.warranty-submit-btn.loading .btn-content {
    opacity: 0;
    transform: translateY(4px);
}

.warranty-submit-btn.loading .btn-loader {
    opacity: 1;
}

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

/* Form Feedback */
.nexauto-form-feedback {
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: 10px;
    display: none;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid transparent;
    position: relative;
}

.nexauto-form-feedback::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 16px;
    width: 4px;
    height: 20px;
    border-radius: 2px;
}

.nexauto-form-feedback.error {
    background: linear-gradient(135deg, #fef2f2 0%, #fef1f1 100%);
    color: #dc2626;
    border-color: #fecaca;
}

.nexauto-form-feedback.error::before {
    background: #dc2626;
}

.nexauto-form-feedback.success {
    background: linear-gradient(135deg, #f0fdf4 0%, #f0fdf5 100%);
    color: #059669;
    border-color: #bbf7d0;
}

.nexauto-form-feedback.success::before {
    background: #059669;
}

/* Responsive Design */
@media (max-width: 640px) {
    .nexauto-modal-overlay {
        padding: 16px;
    }
    
    .nexauto-modal-header {
        padding: 20px 20px 16px;
    }
    
    .nexauto-modal-body {
        padding: 20px;
    }
    
    .nexauto-modal-footer {
        padding: 16px 20px 20px;
        flex-direction: column;
    }
    
    .nexauto-modal-footer .nexauto-btn {
        width: 100%;
        justify-content: center;
    }
    
    .option-content {
        padding: 16px;
        gap: 16px;
    }
    
    .option-title {
        font-size: 15px;
    }
    
    .option-price {
        font-size: 18px;
    }
    
    .popular-badge {
        padding: 4px 8px;
        font-size: 10px;
        border-radius: 0 11px 0 6px;
    }
    
    .option-check {
        top: 12px;
        right: 12px;
        width: 20px;
        height: 20px;
    }
    
    .nexauto-warranty-option.popular .option-check {
        top: 32px; /* Adjust for smaller popular badge on mobile */
    }
    
    .option-check svg {
        width: 14px;
        height: 14px;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .nexauto-modal-content,
    .nexauto-warranty-option,
    .option-check,
    .btn-content,
    .btn-loader {
        transition: none;
    }
    
    .btn-loader svg {
        animation: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .nexauto-warranty-option {
        border-width: 3px;
    }
    
    .nexauto-warranty-option:has(input[type="radio"]:checked) {
        border-color: #000;
    }
}

/* ===================================
   STATUS INDICATORS
   =================================== */
.nexauto-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.nexauto-status-indicator {
    width: 6px;
    height: 6px;
    border-radius: 4px;
    flex-shrink: 0;
}

.nexauto-status.active {
    background: var(--success-light);
    color: #065f46;
    border: 1px solid #065f46;
}

.nexauto-status.active .nexauto-status-indicator {
    background: var(--success);
}

.nexauto-status.warning {
    background: var(--warning-light);
    color: #92400e;
    border: 1px solid #92400e;
}

.nexauto-status.warning .nexauto-status-indicator {
    background: var(--warning);
}

.nexauto-status.error {
    background: var(--error-light);
    color: #991b1b;
    border: 1px solid #991b1b;
}

.nexauto-status.error .nexauto-status-indicator {
    background: var(--error);
}

.nexauto-status.pending {
    background: var(--gray-100);
    color: var(--gray-600);
    border: 1px solid var(--gray-600);
}

.nexauto-status.pending .nexauto-status-indicator {
    background: var(--gray-400);
}

/* ===================================
   FORM ELEMENTS
   =================================== */
.nexauto-form-group {
    margin-bottom: 24px;
}

.nexauto-form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.nexauto-form-label.required::after {
    content: " *";
    color: var(--error);
}

.nexauto-form-input,
.nexauto-form-textarea,
.nexauto-form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius-sm);
    font-size: 16px;
    line-height: 1.5;
    color: var(--gray-800);
    background: var(--white);
    transition: var(--transition);
    font-family: var(--font-family);
}

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

.nexauto-form-input.invalid,
.nexauto-form-textarea.invalid,
.nexauto-form-select.invalid {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.nexauto-form-input.valid,
.nexauto-form-textarea.valid,
.nexauto-form-select.valid {
    border-color: var(--success);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.nexauto-form-textarea {
    resize: vertical;
    min-height: 120px;
}

.nexauto-form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

/* Character Counter */
.character-count {
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 6px;
    text-align: right;
}

.character-count.warning {
    color: var(--warning);
}

.character-count.error {
    color: var(--error);
}

/* ===================================
   PROGRESS INDICATORS
   =================================== */
.nexauto-progress-container {
    margin-bottom: 16px;
}

.nexauto-progress-container:last-child {
    margin-bottom: 0;
}

.nexauto-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.nexauto-progress-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
}

.nexauto-progress-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
}

.nexauto-progress-bar {
    width: 100%;
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
}

.nexauto-progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease-out;
    position: relative;
}

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

.nexauto-progress-fill.warning {
    background: linear-gradient(90deg, var(--warning) 0%, #d97706 100%);
}

.nexauto-progress-fill.error {
    background: linear-gradient(90deg, var(--error) 0%, #dc2626 100%);
}

.nexauto-progress-fill.primary {
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-blue-hover) 100%);
}

/* ===================================
   VEHICLE COMPONENTS
   =================================== */
.nexauto-vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 24px;
    max-width: 1200px;
}

.nexauto-vehicle-card-enhanced {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
}

.nexauto-vehicle-card-enhanced:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.nexauto-vehicle-card-enhanced.selected {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15);
}

.nexauto-vehicle-card-enhanced.archived {
    opacity: 0.6;
    filter: grayscale(30%);
}

.nexauto-vehicle-image-container {
    position: relative;
    height: 380px;
    background: var(--gray-100);
    overflow: hidden;
}

.nexauto-vehicle-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.nexauto-vehicle-card-enhanced:hover .nexauto-vehicle-image {
    transform: scale(1.05);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    background: var(--gray-100);
}

.nexauto-vehicle-selection-indicator {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    font-weight: bold;
    opacity: 0;
    transform: scale(0.5);
    transition: var(--transition);
    z-index: 2;
}

.nexauto-vehicle-card-enhanced.selected .nexauto-vehicle-selection-indicator {
    opacity: 1;
    transform: scale(1);
}

.nexauto-vehicle-details {
    padding: 20px;
    flex: 1;
}

.vehicle-header {
    margin-bottom: 16px;
}

.nexauto-vehicle-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0;
    line-height: 1.4;
}

.nexauto-vehicle-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.nexauto-vehicle-spec {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    padding: 4px 0;
}

.nexauto-vehicle-spec-label {
    color: var(--gray-500);
    font-weight: 500;
}

.nexauto-vehicle-spec-value {
    color: var(--gray-800);
    font-weight: 600;
}

/* Dutch License Plate Styling */
.nexauto-license-plate {
    display: inline-flex
;
    align-items: center;
    background: #FFD700;
    border: 0px solid #003399;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 900;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
    line-height: 1;
    padding-left: 11px;
    padding-right: 12px;
    max-height: 36px;
}

.nexauto-license-plate::before {
    content: 'NL';
    background: #003399;
    color: white;
    padding: 6px 12px;
    margin-right: 8px;
    margin-left: -12px;
    font-size: 11px;
    padding-left: 14px;
    padding-right: 7px;
    font-weight: bold;
}

/* ===================================
   COMPACT VEHICLE CARDS - ADD TO EXISTING CSS
   =================================== */

/* Add these styles to your existing paste-3.txt CSS file after the vehicle components section */

.nexauto-vehicle-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    gap: 16px;
    max-width: 1200px;
}

.nexauto-vehicle-card-compact {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    height: 140px;
    max-width: 540px;
    display: flex;
    flex-direction: column;
}

.nexauto-vehicle-card-compact:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.nexauto-vehicle-card-compact.archived {
    opacity: 0.6;
    filter: grayscale(30%);
}

.nexauto-vehicle-card-compact.has-urgent-alerts {
    border-color: var(--warning);
}

.nexauto-vehicle-card-compact.has-urgent-alerts:hover {
    border-color: var(--error);
}

/* Urgent Alerts Banner */
.urgent-alerts-banner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    display: flex;
    z-index: 3;
}

.urgent-alert {
    flex: 1;
    height: 100%;
}

.urgent-alert.warranty-urgent {
    background: var(--warning);
}

.urgent-alert.apk-urgent {
    background: var(--error);
}

.urgent-alert.recall-active {
    background: #9333ea;
}

/* Archived Badge */
.archived-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
}

/* Claim Banner */
.claim-status-banner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary-blue-light);
    border-bottom: 1px solid #c7d2fe;
    padding: 6px 12px;
    z-index: 2;
}

.claim-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.claim-text {
    color: #4338ca;
    font-size: 12px;
    font-weight: 500;
}

.claim-view-btn {
    background: #4338ca;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
}

.claim-view-btn:hover {
    background: #3730a3;
}

/* Card Content */
.vehicle-card-content {
    display: flex;
    align-items: center;
    padding: 16px;
    gap: 16px;
    height: 100%;
    margin-top: auto;
}

.nexauto-vehicle-card-compact.has-urgent-alerts .vehicle-card-content {
    margin-top: 4px;
}

.nexauto-vehicle-card-compact .claim-status-banner + .vehicle-card-content {
    margin-top: 28px;
}

/* Vehicle Image */
.vehicle-image-compact {
    width: 80px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    background: var(--gray-100);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.placeholder-image-compact {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    background: var(--gray-100);
}

/* Vehicle Info */
.vehicle-info-compact {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vehicle-header-compact {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.vehicle-name-compact {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.license-plate-compact {
    background: #FFD700;
    border: 1px solid #003399;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: #000;
    padding: 2px 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    flex-shrink: 0;
}

.license-plate-compact::before {
    content: 'NL';
    position: absolute;
    left: -1px;
    top: -1px;
    bottom: -1px;
    background: #003399;
    color: white;
    padding: 2px 4px;
    font-size: 8px;
    font-weight: bold;
    border-radius: 3px 0 0 3px;
    margin-right: 4px;
}

/* Vehicle Meta */
.vehicle-meta-compact {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 13px;
    color: var(--gray-600);
}

.vehicle-brand-model {
    font-weight: 500;
}

.vehicle-year {
    color: var(--gray-500);
}

.vehicle-year::before {
    content: "•";
    margin-right: 8px;
    color: var(--gray-400);
}

/* Status Indicators Row */
.status-indicators-row {
    display: flex;
    gap: 12px;
}

.status-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 44px;
    padding: 6px 4px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.status-indicator.success {
    background: var(--success-light);
    border-color: #bbf7d0;
}

.status-indicator.warning {
    background: var(--warning-light);
    border-color: #fde68a;
}

.status-indicator.error {
    background: var(--error-light);
    border-color: #fecaca;
}

.status-indicator.active {
    background: var(--success-light);
    border-color: #bbf7d0;
}

.status-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.status-value {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-800);
}

.status-indicator.success .status-value {
    color: #15803d;
}

.status-indicator.warning .status-value {
    color: #92400e;
}

.status-indicator.error .status-value {
    color: #b91c1c;
}

/* Vehicle Actions */
.vehicle-actions-compact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
    margin-left: auto;
}

.view-details-compact,
.claim-btn-compact {
    min-width: 70px;
    font-size: 12px;
    padding: 6px 12px;
    justify-content: center;
}

/* Archive Action */
.vehicle-archive-action-compact {
    position: absolute;
    bottom: 4px;
    right: 8px;
}

.nexauto-vehicle-card-compact .nexauto-remove-vehicle-btn {
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: 10px;
    cursor: pointer;
    text-decoration: underline;
    padding: 2px 4px;
    transition: var(--transition-fast);
}

.nexauto-vehicle-card-compact .nexauto-remove-vehicle-btn:hover {
    color: var(--error);
}

.nexauto-vehicle-card-compact .nexauto-remove-vehicle-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ===================================
   RESPONSIVE DESIGN - COMPACT CARDS
   =================================== */

@media (max-width: 1024px) {
    .nexauto-vehicle-grid-compact {
        grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    }
}

@media (max-width: 768px) {
    .nexauto-vehicle-grid-compact {
        grid-template-columns: 1fr;
    }
    
    .nexauto-vehicle-card-compact {
        height: 120px;
    }
    
    .vehicle-image-compact {
        width: 70px;
        height: 50px;
    }
    
    .vehicle-name-compact {
        font-size: 14px;
    }
    
    .license-plate-compact {
        font-size: 9px;
        padding: 1px 4px;
    }
    
    .license-plate-compact::before {
        font-size: 7px;
        padding: 1px 3px;
    }
    
    .vehicle-meta-compact {
        font-size: 12px;
    }
    
    .status-indicators-row {
        gap: 8px;
    }
    
    .status-indicator {
        min-width: 38px;
        padding: 4px 2px;
    }
    
    .status-label {
        font-size: 9px;
    }
    
    .status-value {
        font-size: 11px;
    }
    
    .vehicle-actions-compact {
        gap: 4px;
    }
    
    .view-details-compact,
    .claim-btn-compact {
        min-width: 60px;
        font-size: 11px;
        padding: 4px 8px;
    }
}

@media (max-width: 480px) {
    .nexauto-vehicle-card-compact {
        height: 100px;
    }
    
    .vehicle-card-content {
        padding: 12px;
        gap: 12px;
    }
    
    .vehicle-image-compact {
        width: 60px;
        height: 45px;
    }
    
    .vehicle-header-compact {
        gap: 8px;
    }
    
    .vehicle-name-compact {
        font-size: 13px;
    }
    
    .license-plate-compact {
        font-size: 8px;
        padding: 1px 3px;
    }
    
    .vehicle-meta-compact {
        font-size: 11px;
        gap: 6px;
    }
    
    .status-indicators-row {
        gap: 6px;
    }
    
    .status-indicator {
        min-width: 32px;
        padding: 3px 2px;
    }
    
    .status-label {
        font-size: 8px;
    }
    
    .status-value {
        font-size: 10px;
    }
    
    .vehicle-actions-compact {
        gap: 3px;
    }
    
    .view-details-compact,
    .claim-btn-compact {
        min-width: 50px;
        font-size: 10px;
        padding: 3px 6px;
    }
    
    .claim-text {
        font-size: 11px;
    }
    
    .claim-view-btn {
        font-size: 10px;
        padding: 1px 6px;
    }
}

/* ===================================
   ADJUSTMENTS TO EXISTING STYLES
   =================================== */

/* Update section spacing for compact design */
.nexauto-vehicles-section {
    margin-bottom: 24px;
}

.section-header {
    margin-bottom: 20px;
    padding-bottom: 12px;
}

/* Ensure claims section works well with compact design */
.nexauto-claims-notice {
    margin-bottom: 24px;
}

/* Dashboard stats adjustments */
.dashboard-stats-grid {
    gap: 16px;
}

.dashboard-stat-item {
    min-width: 100px;
    padding: 16px;
}

/* Make sure toggle button looks good */
#toggle-archived {
    font-size: 14px;
    padding: 8px 16px;
}

/* Ensure proper spacing in header */
.dashboard-header-content {
    gap: 24px;
}

@media (max-width: 768px) {
    .dashboard-header-content {
        gap: 20px;
    }
    
    .dashboard-stats-grid {
        gap: 12px;
    }
    
    .dashboard-stat-item {
        min-width: 80px;
        padding: 12px;
    }
    
    .stat-value {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 9px;
    }
}

/* ===================================
   LOADING STATES FOR COMPACT CARDS
   =================================== */

.nexauto-vehicle-card-compact.nexauto-loading {
    opacity: 0.7;
    pointer-events: none;
}

.nexauto-vehicle-card-compact.nexauto-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* Animation for card entry */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nexauto-vehicle-card-compact {
    animation: slideInUp 0.4s ease-out;
}

/* Ensure proper focus states */
.nexauto-vehicle-card-compact:focus-within {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .nexauto-vehicle-card-compact {
        border-width: 3px;
    }
    
    .status-indicator {
        border-width: 2px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .nexauto-vehicle-card-compact {
        animation: none;
    }
    
    .nexauto-vehicle-card-compact:hover {
        transform: none;
    }
}

/* ===================================
   ALERT SYSTEM
   =================================== */
.vehicle-alerts-banner {
    background: var(--error-light);
    border-bottom: 1px solid #fecaca;
    padding: 12px 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.alert-badge {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.alert-badge.warranty {
    background: var(--warning-light);
    color: #92400e;
}

.alert-badge.apk {
    background: var(--error-light);
    color: #991b1b;
}

.alert-badge.recall {
    background: #faf5ff;
    color: #7c2d12;
}

.archived-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}

.claim-status-banner {
    background: var(--primary-blue-light);
    border-bottom: 1px solid #c7d2fe;
    padding: 12px 16px;
    display: none;
}

.claim-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.claim-text {
    color: #4338ca;
    font-size: 14px;
    font-weight: 500;
}

/* ===================================
   VEHICLE DETAILS PAGE
   =================================== */
.nexauto-vehicle-details-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.nexauto-page-header {
    margin-bottom: 32px;
}

.nexauto-header-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nexauto-title-section {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.nexauto-page-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0;
    letter-spacing: -0.02em;
}

.nexauto-kenteken-display {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.nexauto-vehicle-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.nexauto-overview-card {
    grid-row: span 3;
}

/* Vehicle Main Image */
.nexauto-vehicle-main-image {
    margin-bottom: 24px;
    border-radius: 8px;
    overflow: hidden;
}

.nexauto-vehicle-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Status Badges */
.nexauto-vehicle-status-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.nexauto-status-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--gray-50);
    border-radius: 4px;
    padding: 16px;
    border: 1px solid var(--gray-200);
    flex: 1;
    min-width: 200px;
}

.nexauto-status-badge.active {
    background: var(--success-light);
    border-color: #bbf7d0;
}

.nexauto-status-badge.expired {
    background: var(--error-light);
    border-color: #fecaca;
}

.nexauto-status-badge.warning {
    background: var(--warning-light);
    border-color: #fde68a;
}

.nexauto-badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    border: 1px solid var(--gray-300);
    flex-shrink: 0;
}

.nexauto-status-badge.active .nexauto-badge-icon {
    color: var(--success);
    border-color: var(--success);
}

.nexauto-status-badge.expired .nexauto-badge-icon {
    color: var(--error);
    border-color: var(--error);
}

.nexauto-status-badge.warning .nexauto-badge-icon {
    color: var(--warning);
    border-color: var(--warning);
}

.nexauto-badge-content {
    flex: 1;
}

.nexauto-badge-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.nexauto-badge-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-800);
}

.nexauto-status-badge.active .nexauto-badge-value {
    color: #15803d;
}

.nexauto-status-badge.expired .nexauto-badge-value {
    color: #b91c1c;
}

.nexauto-status-badge.warning .nexauto-badge-value {
    color: #92400e;
}

/* Vehicle Specs */
.nexauto-vehicle-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.nexauto-spec-item {
    background: var(--gray-50);
    border-radius: 8px;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
}

.nexauto-spec-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.nexauto-spec-value {
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-800);
}

/* Vehicle Actions */
.nexauto-vehicle-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.nexauto-vehicle-actions .nexauto-btn {
    flex: 1;
    min-width: 180px;
    justify-content: center;
}

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

.nexauto-gallery-item {
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
}

.nexauto-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.nexauto-gallery-link:hover .nexauto-gallery-image {
    transform: scale(1.05);
}

/* Maintenance Timeline */
.nexauto-maintenance-timeline {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nexauto-maintenance-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: 8px;
    border: 1px solid var(--gray-200);
}

.nexauto-maintenance-date {
    min-width: 80px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    text-align: center;
    line-height: 1.2;
    flex-shrink: 0;
}

.nexauto-maintenance-content {
    flex: 1;
}

.nexauto-maintenance-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.nexauto-maintenance-details {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 4px;
}

.nexauto-maintenance-km {
    font-size: 12px;
    color: var(--gray-500);
}

.nexauto-maintenance-km .label {
    font-weight: 500;
}

/* RDW Info */
.nexauto-rdw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.nexauto-rdw-item {
    background: var(--gray-50);
    border-radius: 8px;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
}

.nexauto-rdw-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.nexauto-rdw-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-800);
}

/* Warranty Info */
.nexauto-warranty-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.nexauto-warranty-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-800);
}

.nexauto-warranty-status.active {
    color: var(--success);
}

.nexauto-warranty-status.expired {
    color: var(--error);
}

.nexauto-warranty-status svg {
    flex-shrink: 0;
}

.nexauto-warranty-details {
    margin-bottom: 24px;
}

.nexauto-warranty-terms {
    margin-bottom: 24px;
}

.nexauto-warranty-terms h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0 0 16px 0;
}

.nexauto-warranty-terms h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-700);
    margin: 20px 0 8px 0;
}

.nexauto-warranty-terms p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.nexauto-warranty-terms ul {
    padding-left: 20px;
    margin: 0 0 16px 0;
}

.nexauto-warranty-terms li {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 4px;
}

.nexauto-warranty-actions {
    display: none;
    justify-content: center;
    margin-top: 24px;
}

/* Action Footer */
.nexauto-vehicle-actions-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid var(--gray-200);
    margin-top: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.nexauto-action-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Empty State */
.nexauto-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    text-align: center;
}

.nexauto-empty-icon {
    color: var(--gray-400);
    margin-bottom: 16px;
}

.nexauto-empty-state h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-600);
    margin: 0 0 8px 0;
}

.nexauto-empty-state p {
    color: var(--gray-500);
    margin: 0 0 24px 0;
    line-height: 1.5;
}

.nexauto-empty-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   DASHBOARD SPECIFIC STYLES
   =================================== */
.nexauto-modern-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0px;
}

.nexauto-dashboard-header {
    margin-bottom: 32px;
}

.dashboard-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
}

.dashboard-welcome {
    flex: 1;
}

.dashboard-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

.dashboard-subtitle {
    font-size: 16px;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

.dashboard-stats-grid {
    display: flex;
    gap: 20px;
}

.dashboard-stat-item {
    text-align: center;
    background: var(--gray-50);
    padding: 20px;
    border-radius: var(--border-radius);
    min-width: 120px;
    border: 1px solid var(--gray-200);
}

.dashboard-stat-item.warning {
    background: var(--warning-light);
    border-color: #fde68a;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    display: block;
    font-size: 9px;
    color: var(--gray-600);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Claims Notice */
.nexauto-claims-notice {
    margin-bottom: 32px;
}

.claims-notice-text {
    color: var(--gray-700);
    margin-bottom: 16px;
}

.claims-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.claim-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: var(--gray-50);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--gray-200);
}

.claim-item-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.claim-id {
    font-weight: 600;
    color: var(--gray-800);
}

/* Vehicle Section */
.nexauto-vehicles-section {
    margin-bottom: 32px;
}

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

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0;
}

/* Vehicle Status Sections */
.vehicle-status-section {
    margin: 20px 0;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--gray-200);
}

.rdw-status-section {
    margin: 20px 0;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--gray-200);
    display: none;
}

.rdw-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin: 0 0 12px 0;
}

.rdw-status-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rdw-status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rdw-label {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 500;
}

.rdw-info-link {
    color: inherit;
    text-decoration: none;
    margin-left: 4px;
    opacity: 0.7;
}

.rdw-info-link:hover {
    opacity: 1;
}

/* Vehicle Actions */
.vehicle-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.archived-note {
    color: var(--gray-500);
    font-style: italic;
    text-align: center;
    margin: 0;
    font-size: 14px;
}

.vehicle-archive-action {
    text-align: center;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-100);
}

.nexauto-remove-vehicle-btn {
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: 12px;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    transition: var(--transition-fast);
}

.nexauto-remove-vehicle-btn:hover {
    color: var(--error);
}

.nexauto-remove-vehicle-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.progress-footer {
    text-align: right;
    margin-top: 4px;
}

.progress-footer small {
    font-size: 12px;
    color: var(--gray-500);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .nexauto-vehicle-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
    
    .dashboard-stats-grid {
        flex-wrap: wrap;
    }
    
    .nexauto-vehicle-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nexauto-vehicle-content-grid,
    .nexauto-vehicle-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    
    .dashboard-stats-grid {
        width: 100%;
        justify-content: space-between;
    }
    
    .dashboard-stat-item {
        flex: 1;
        min-width: 100px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .claim-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .claim-item-content {
        width: 100%;
        justify-content: space-between;
    }
    
    .nexauto-empty-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .nexauto-empty-actions .nexauto-btn {
        width: 200px;
    }
    
    .vehicle-actions .nexauto-btn {
        width: 100%;
        justify-content: center;
    }
    
    .nexauto-vehicle-actions-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .nexauto-action-group {
        justify-content: center;
    }
    
    .nexauto-warranty-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nexauto-vehicle-status-badges {
        flex-direction: column;
    }
    
    .nexauto-status-badge {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .dashboard-title {
        font-size: 24px;
    }
    
    .nexauto-page-title {
        font-size: 24px;
    }
    
    .vehicle-alerts-banner {
        padding: 8px 12px;
    }
    
    .nexauto-vehicle-details,
    .nexauto-card-body {
        padding: 16px;
    }
    
    .nexauto-vehicle-image-container {
        height: 160px;
    }
    
    .nexauto-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
    .nexauto-btn,
    .vehicle-actions,
    .nexauto-vehicle-actions-footer {
        display: none !important;
    }
    
    .nexauto-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .nexauto-vehicle-card-enhanced,
    .nexauto-card {
        break-inside: avoid;
    }
}

/* ===================================
   ACCESSIBILITY ENHANCEMENTS
   =================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for keyboard navigation */
.nexauto-vehicle-card-enhanced:focus,
.nexauto-btn:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .nexauto-card {
        border-width: 2px;
    }
    
    .nexauto-status-indicator {
        border: 1px solid currentColor;
    }
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

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

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.font-bold {
    font-weight: 600 !important;
}

.font-semibold {
    font-weight: 500 !important;
}

.text-sm {
    font-size: 14px !important;
}

.text-xs {
    font-size: 12px !important;
}

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 4px !important; }
.mt-2 { margin-top: 8px !important; }
.mt-3 { margin-top: 12px !important; }
.mt-4 { margin-top: 16px !important; }
.mt-5 { margin-top: 20px !important; }
.mt-6 { margin-top: 24px !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 4px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 12px !important; }
.mb-4 { margin-bottom: 16px !important; }
.mb-5 { margin-bottom: 20px !important; }
.mb-6 { margin-bottom: 24px !important; }

/* Link styling */
.nexauto-link {
    color: var(--primary-blue);
    text-decoration: none;
}

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

.nexauto-text-muted {
    color: var(--gray-500);
}

/* ===================================
   CLAIM FORM STYLES
   =================================== */

/* Claim Form Container */
.claim-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    font-family: var(--font-family);
    color: var(--gray-800);
    line-height: 1.6;
}

/* Header & Progress */
.claim-header {
    margin-bottom: 40px;
    padding: 24px 0;
    border-bottom: 1px solid var(--gray-200);
}

.header-content {
    margin-bottom: 24px;
}

.page-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 16px;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
    max-width: 600px;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.step {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.4;
    transition: var(--transition);
}

.step.active {
    opacity: 1;
}

.step-indicator {
    position: relative;
}

.step-number {
    width: 32px;
    height: 32px;
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
    background: var(--white);
    transition: var(--transition);
}

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

.step-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    white-space: nowrap;
}

.step.active .step-label {
    color: var(--gray-800);
}

/* Form Layout */
.claim-form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-section {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 24px;
    transition: var(--transition);
}

.form-section:hover {
    border-color: var(--gray-300);
}

.section-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0 0 8px 0;
    letter-spacing: -0.01em;
}

.section-description {
    font-size: 14px;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.5;
}

/* Vehicle Selection */
.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.vehicle-card {
    position: relative;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
}

.vehicle-card:hover {
    border-color: var(--gray-400);
    transform: translateY(-1px);
}

.vehicle-card.selected {
    border-color: var(--primary-blue);
}

.vehicle-checkmark {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
    opacity: 0;
    transform: scale(0.5);
    transition: var(--transition);
}

.vehicle-card.selected .vehicle-checkmark {
    opacity: 1;
    transform: scale(1);
}

.vehicle-image {
    height: 160px;
    background: var(--gray-100);
    position: relative;
    overflow: hidden;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.02);
}

.vehicle-info {
    padding: 16px;
}

.vehicle-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.vehicle-details {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.vehicle-kenteken {
    margin-bottom: 8px;
}

.warranty-progress {
    margin-top: 12px;
}

.warranty-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.warranty-label {
    font-size: 12px;
    color: var(--gray-600);
    font-weight: 500;
}

.warranty-days {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-800);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1s ease-out 0.3s;
    background: var(--success);
}

.progress-fill.warning {
    background: var(--warning);
}

.progress-fill.critical,
.progress-fill.error {
    background: var(--error);
}

.progress-fill.expired {
    background: var(--gray-400);
}

/* Selected Vehicle Display */
.selected-vehicle {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
}

.selected-vehicle-image {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.selected-vehicle-info {
    flex: 1;
}

.selected-vehicle-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0 0 4px 0;
}

.selected-vehicle-meta {
    font-size: 14px;
    color: var(--gray-600);
}

.change-vehicle-btn {
    background: none;
    border: 1px solid var(--gray-300);
    color: var(--gray-600);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.change-vehicle-btn:hover {
    border-color: var(--gray-400);
    color: var(--gray-800);
}

/* Form Elements Enhanced */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 16px;
    line-height: 1.5;
    color: var(--gray-800);
    background: var(--white);
    transition: var(--transition);
    font-family: var(--font-family);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

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

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

/* Textarea with counter */
.textarea-container {
    position: relative;
}

.character-count {
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-size: 12px;
    color: var(--gray-500);
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Radio Groups */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
}

.radio-item:hover {
    border-color: var(--gray-300);
    background: var(--gray-50);
}

.radio-item input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--primary-blue);
}

.radio-item:has(input[type="radio"]:checked) {
    border-color: var(--primary-blue);
    background: var(--primary-blue-light);
}

.radio-content {
    flex: 1;
}

.radio-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 2px;
}

.radio-description {
    font-size: 13px;
    color: var(--gray-600);
}

/* File Upload */
.file-upload {
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.upload-area {
    padding: 32px;
    text-align: center;
    border: 2px dashed var(--gray-300);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    background: var(--gray-50);
    position: relative;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: var(--primary-blue);
    background: var(--primary-blue-light);
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.upload-icon {
    color: var(--gray-400);
}

.upload-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.upload-text strong {
    font-size: 16px;
    color: var(--gray-800);
    font-weight: 600;
}

.upload-text span {
    font-size: 14px;
    color: var(--gray-600);
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* File List */
.file-list {
    border-top: 1px solid var(--gray-200);
    background: var(--white);
}

.file-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-200);
}

.file-list-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0;
}

.files {
    padding: 16px 20px;
}

.nexauto-file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    margin-bottom: 8px;
    background: var(--gray-50);
    transition: var(--transition);
}

.nexauto-file-item:hover {
    border-color: var(--gray-300);
    background: var(--white);
}

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

.file-preview {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

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

.file-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--gray-500);
}

.file-icon.video-icon {
    background: var(--primary-blue);
    color: var(--white);
}

.file-icon.pdf-icon {
    background: var(--error);
    color: var(--white);
}

.file-icon.doc-icon {
    background: var(--gray-600);
    color: var(--white);
}

.file-info {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-meta {
    display: flex;
    gap: 8px;
    font-size: 12px;
    color: var(--gray-500);
}

.file-size,
.file-type {
    font-weight: 500;
}

.file-remove {
    background: none;
    border: none;
    color: var(--error);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.file-remove:hover {
    background: var(--error-light);
}

/* Summary Card */
.summary-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-200);
}

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

.summary-label {
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 500;
}

.summary-value {
    font-size: 14px;
    color: var(--gray-800);
    font-weight: 600;
}

/* Form Actions */
.form-actions {
    margin-top: 24px;
}

.info-panel {
    background: var(--info-light);
    border: 1px solid #bfdbfe;
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
}

.info-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1e40af;
    margin: 0 0 12px 0;
}

.info-content ul {
    margin: 0;
    padding-left: 20px;
    color: #1e3a8a;
}

.info-content li {
    font-size: 14px;
    margin-bottom: 4px;
}

.action-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

/* Loading States */
.btn-loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Responsive for Claim Form */
@media (max-width: 768px) {
    .vehicle-grid {
        grid-template-columns: 1fr;
    }
    
    .progress-steps {
        gap: 16px;
        justify-content: center;
    }
    
    .selected-vehicle {
        flex-direction: column;
        text-align: center;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .form-section {
        padding: 20px 16px;
    }
    
    .upload-area {
        padding: 24px 16px;
    }
}

@media (max-width: 480px) {
    .claim-header {
        padding: 20px 0;
    }
    
    .step-label {
        display: none;
    }
    
    .page-title {
        font-size: 24px;
    }
}

/* ===================================
   COMPACT VEHICLE CARDS FOR CLAIM FORM
   =================================== */

css/* ===================================
   COMPACT VEHICLE CARDS FOR CLAIM FORM
   =================================== */

.vehicle-card {
    position: relative;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
    display: flex;
    flex-direction: row;
    height: 120px;
    margin-bottom: 16px;
}

.vehicle-card:hover {
    border-color: var(--gray-400);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.vehicle-card.selected {
    border-color: var(--primary-blue);
    background: var(--primary-blue-light);
}

.vehicle-image {
    width: 140px;
    height: 120px;
    background: var(--gray-100);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.05);
}

.vehicle-info {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vehicle-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0 0 8px 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vehicle-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vehicle-kenteken {
    margin-bottom: 6px;
}

.vehicle-kenteken .nexauto-license-plate {
    display: inline-flex;
    align-items: center;
    background: #FFD700;
    border: 2px solid #003399;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 2px 8px;
    line-height: 1;
}

.vehicle-kenteken .nexauto-license-plate::before {
    content: 'NL';
    background: #003399;
    color: white;
    padding: 6px 12px;
    margin-right: 8px;
    margin-left: -12px;
    font-size: 11px;
    padding-left: 14px;
    padding-right: 7px;
    font-weight: bold;
}

.warranty-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--success);
}

.warranty-days {
    color: var(--success);
    font-weight: 600;
}

.vehicle-checkmark {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
    opacity: 0;
    transform: scale(0.5);
    transition: var(--transition);
}

.vehicle-card.selected .vehicle-checkmark {
    opacity: 1;
    transform: scale(1);
}

.vehicle-checkmark::before {
    content: "✓";
}

/* Override any conflicting grid styles */
.vehicle-grid .vehicle-card {
    display: flex !important;
    height: 120px !important;
    flex-direction: row !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .vehicle-card {
        height: 100px;
    }
    
    .vehicle-image {
        width: 100px;
        height: 100px;
    }
    
    .vehicle-info {
        padding: 12px;
    }
    
    .vehicle-name {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .vehicle-kenteken .nexauto-license-plate {
        font-size: 10px;
        padding: 1px 6px;
    }
    
    .warranty-info {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .vehicle-grid {
        grid-template-columns: 1fr;
    }
    
    .vehicle-card {
        height: 80px;
    }
    
    .vehicle-image {
        width: 80px;
        height: 80px;
    }
    
    .vehicle-info {
        padding: 8px 12px;
    }
    
    .vehicle-name {
        font-size: 13px;
        margin-bottom: 4px;
    }
}
/* Compact Vehicle Cards */
.nexauto-vehicle-card-compact {
    display: flex;
    flex-direction: row;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    background: var(--white);
    height: 140px;
    max-height: 140px;
    margin-bottom: 12px;
}

.nexauto-vehicle-card-compact:hover {
    border-color: var(--gray-400);
    transform: translateY(-2px);
}

.nexauto-vehicle-card-compact.selected {
    border-color: var(--primary-blue);
    background: var(--primary-blue-light);
}

.nexauto-vehicle-card-compact .nexauto-vehicle-image-container {
    width: 120px;
    height: 100%;
    flex-shrink: 0;
    background: var(--gray-100);
}

.nexauto-vehicle-card-compact .nexauto-vehicle-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nexauto-vehicle-card-compact:hover .nexauto-vehicle-image {
    transform: scale(1.05);
}

.nexauto-vehicle-card-compact .nexauto-vehicle-info {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nexauto-vehicle-card-compact .nexauto-vehicle-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0 0 8px 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nexauto-vehicle-card-compact .nexauto-vehicle-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nexauto-vehicle-card-compact .nexauto-license-plate {
    display: inline-block;
    background: #FFD700;
    border: 0px solid #003399;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    color: #000;
    padding: 2px 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
    line-height: 1;
    padding-top: 5px;
    padding-bottom: 5px;
    width: fit-content;
}

.nexauto-vehicle-card-compact .nexauto-warranty-status {
    font-size: 12px;
    font-weight: 500;
}

.nexauto-vehicle-card-compact .nexauto-warranty-status.success {
    color: var(--success);
}

.nexauto-vehicle-card-compact .nexauto-warranty-status.warning {
    color: var(--warning);
}

.nexauto-vehicle-card-compact .nexauto-warranty-status.error {
    color: var(--error);
}

.nexauto-vehicle-card-compact .nexauto-vehicle-selection-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    font-weight: bold;
    opacity: 0;
    transform: scale(0.5);
    transition: var(--transition);
    z-index: 2;
}

.nexauto-vehicle-card-compact.selected .nexauto-vehicle-selection-indicator {
    opacity: 1;
    transform: scale(1);
}

/* Responsive Adjustments */
@media (max-width: 480px) {
    .nexauto-vehicle-card-compact {
        height: 80px;
    }
    
    .nexauto-vehicle-card-compact .nexauto-vehicle-image-container {
        width: 80px;
    }
    
    .nexauto-vehicle-card-compact .nexauto-vehicle-name {
        font-size: 14px;
        margin-bottom: 4px;
    }
    
    .nexauto-vehicle-card-compact .nexauto-license-plate {
        font-size: 10px;
    }
    
    .nexauto-vehicle-card-compact .nexauto-warranty-status {
        font-size: 10px;
    }
}

/* ===================================
   VIEW CLAIM PAGE STYLES
   =================================== */

.nexauto-view-claim-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.nexauto-claim-header-card {
    margin-bottom: 32px;
}

.claim-header-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.claim-title-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.claim-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0;
    letter-spacing: -0.02em;
}

.nexauto-claim-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

/* Claim Timeline */
.nexauto-claim-timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nexauto-timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--gray-300);
    transition: var(--transition);
}

.nexauto-timeline-item.active {
    background: var(--primary-blue-light);
    border-left-color: var(--primary-blue);
}

.nexauto-timeline-item.completed {
    background: var(--success-light);
    border-left-color: var(--success);
}

.nexauto-timeline-marker {
    width: 32px;
    height: 32px;
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
    background: var(--white);
    flex-shrink: 0;
    position: relative;
}

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

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

.nexauto-timeline-content {
    flex: 1;
    padding-top: 2px;
}

.nexauto-timeline-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.nexauto-timeline-description {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 8px;
    line-height: 1.5;
}

.nexauto-timeline-date {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 500;
}

/* Vehicle Display */
.nexauto-vehicle-display {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nexauto-vehicle-image-display {
    width: 100%;
    height: 200px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--gray-100);
}

.nexauto-vehicle-image-display img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nexauto-vehicle-info {
    text-align: left;
}

.nexauto-vehicle-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 16px;
}

.nexauto-vehicle-specs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 16px 0;
}

.nexauto-vehicle-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-200);
}

.nexauto-vehicle-spec-row:last-child {
    border-bottom: none;
}

.nexauto-vehicle-spec-label {
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 500;
}

.nexauto-vehicle-spec-value {
    font-size: 14px;
    color: var(--gray-800);
    font-weight: 600;
}

.nexauto-vehicle-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

/* Claim Description */
.nexauto-claim-description {
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--gray-50);
    padding: 20px;
    border-radius: var(--border-radius-sm);
    border-left: 4px solid var(--primary-blue);
    margin-bottom: 16px;
}

.nexauto-claim-meta {
    margin-top: 16px;
    text-align: right;
}

.nexauto-text-muted {
    color: var(--gray-500);
    font-size: 14px;
}

/* Communication Section */
.nexauto-communication-section {
    margin-bottom: 24px;
}

.nexauto-messages-container {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    background: var(--white);
}

.nexauto-message-thread {
    padding: 16px;
}

.nexauto-message-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    padding: 16px;
    border-radius: var(--border-radius);
    background: var(--gray-50);
}

.nexauto-message-item.from-customer {
    background: var(--primary-blue-light);
    margin-left: 20px;
}

.nexauto-message-item.from-admin {
    background: var(--gray-100);
    margin-right: 20px;
}

.nexauto-message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.nexauto-message-author {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
}

.nexauto-message-timestamp {
    font-size: 12px;
    color: var(--gray-500);
}

.nexauto-message-content {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-700);
}

.nexauto-message-form {
    border-top: 1px solid var(--gray-200);
    padding: 16px;
    background: var(--white);
}

.nexauto-message-form-group {
    margin-bottom: 16px;
}

.nexauto-message-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.nexauto-message-textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    font-family: var(--font-family);
}

.nexauto-message-textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.nexauto-no-messages {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray-500);
    font-style: italic;
}

/* Attachments */
.nexauto-attachments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.nexauto-attachment-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    transition: var(--transition);
    background: var(--white);
}

.nexauto-attachment-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nexauto-attachment-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.nexauto-attachment-preview {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
}

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

.nexauto-attachment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    color: var(--white);
}

.nexauto-attachment-icon.video {
    background: var(--primary-blue);
}

.nexauto-attachment-icon.document {
    background: var(--gray-600);
}

.nexauto-attachment-info {
    padding: 12px;
}

.nexauto-attachment-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: 4px;
    word-break: break-word;
}

.nexauto-attachment-size {
    font-size: 12px;
    color: var(--gray-500);
}

/* Contact Card */
.nexauto-contact-card .nexauto-card-header {
    background: linear-gradient(135deg, var(--primary-blue-light) 0%, var(--info-light) 100%);
}

.nexauto-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.nexauto-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.nexauto-contact-icon {
    color: var(--primary-blue);
    padding: 8px;
    background: var(--primary-blue-light);
    border-radius: 6px;
    flex-shrink: 0;
}

.nexauto-contact-content {
    flex: 1;
}

.nexauto-contact-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.nexauto-contact-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-800);
    text-decoration: none;
}

.nexauto-contact-value:hover {
    color: var(--primary-blue);
}

.nexauto-contact-note {
    text-align: center;
    color: var(--gray-600);
    background: var(--gray-50);
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
}

/* Action Footer */
.nexauto-claim-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid var(--gray-200);
    margin-top: 32px;
}

/* Alert Components */
.nexauto-alert {
    padding: 16px;
    border-radius: var(--border-radius-sm);
    margin-top: 20px;
}

.nexauto-alert-warning {
    background: var(--warning-light);
    border: 1px solid #fde68a;
}

.nexauto-alert-title {
    font-weight: 600;
    color: #92400e;
    margin-bottom: 8px;
}

.nexauto-alert-message {
    color: #92400e;
    font-size: 14px;
    line-height: 1.5;
}

/* Responsive Design for View Claim */
@media (max-width: 768px) {
    .nexauto-claim-content-grid {
        grid-template-columns: 1fr;
    }
    
    .claim-title-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nexauto-vehicle-display {
        text-align: center;
    }
    
    .nexauto-contact-grid {
        grid-template-columns: 1fr;
    }
    
    .nexauto-claim-actions {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .nexauto-attachments-grid {
        grid-template-columns: 1fr;
    }
    
    .nexauto-message-item.from-customer {
        margin-left: 10px;
    }
    
    .nexauto-message-item.from-admin {
        margin-right: 10px;
    }
    
    .nexauto-message-form-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .claim-title {
        font-size: 24px;
    }
    
    .nexauto-timeline-item {
        padding: 12px;
    }
    
    .nexauto-timeline-marker {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .nexauto-vehicle-actions {
        flex-direction: column;
    }
    
    .nexauto-vehicle-actions .nexauto-btn {
        width: 100%;
        justify-content: center;
    }
}
/* ===================================
   VIEW CLAIM PAGE - FORCE STYLING
   =================================== */

/* Force styling for any unstyled content in view-claim */
.woocommerce-account .woocommerce-MyAccount-content {
    font-family: var(--font-family);
}

/* Style the status card specifically */
.woocommerce-account .woocommerce-MyAccount-content h3:first-of-type {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-200);
}

/* Style the timeline items */
.woocommerce-account .woocommerce-MyAccount-content > div:not([class]) {
    margin-bottom: 20px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-blue);
}

/* Ensure proper spacing */
.woocommerce-account .woocommerce-MyAccount-content p {
    margin-bottom: 12px;
    line-height: 1.6;
    color: var(--gray-700);
}

.woocommerce-account .woocommerce-MyAccount-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 20px 0 12px 0;
}
