/**
 * Video Analysis Page Styles
 * AI-powered tennis stroke analysis with webcam recording support
 */

:root {
    --va-blue: #004C91;
    --va-navy: #1A1B3C;
    --va-green: #2E7D32;
    --va-gold: #FFD700;
    --va-red: #C8102E;
    --va-orange: #FF9800;
    --va-bg: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

/* ============================================
   CRITICAL: Override base template .main-content styles
   The base template applies padding-top and light background
   that conflicts with this dark-themed page
   ============================================ */
.main-content.video-analysis-page {
    background: var(--va-bg) !important;
    padding-top: 0 !important;
    min-height: 100vh !important;
}

/* Page Layout */
.video-analysis-page {
    background: var(--va-bg);
    min-height: 100vh;
    padding-bottom: 3rem;
}

/* Hero Section */
.va-hero {
    background: linear-gradient(135deg, var(--va-blue) 0%, var(--va-navy) 100%);
    padding: 3rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.va-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.va-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.va-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--va-gold), #FFA000);
    color: #5D4037;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.va-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.va-hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Main Container */
.va-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.va-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.va-back-btn:hover {
    background: rgba(255,255,255,0.2);
    color: white;
}

/* Grid Layout */
.va-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 1024px) {
    .va-grid {
        grid-template-columns: 1fr;
    }
}

/* Cards */
.va-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.va-card-header {
    background: linear-gradient(135deg, var(--va-blue), var(--va-navy));
    padding: 1.25rem 1.5rem;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.va-card-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.va-card-body {
    padding: 1.5rem;
}

/* Input Tabs */
.va-input-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.va-tab {
    flex: 1;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.va-tab:hover {
    border-color: var(--va-blue);
}

.va-tab.active {
    background: var(--va-blue);
    color: white;
    border-color: var(--va-blue);
}

.va-tab-content {
    display: none;
}

.va-tab-content.active {
    display: block;
}

/* Upload Zone */
.va-upload-zone {
    border: 3px dashed #ccc;
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.va-upload-zone:hover,
.va-upload-zone.dragover {
    border-color: var(--va-blue);
    background: rgba(0, 76, 145, 0.05);
}

.va-upload-icon {
    font-size: 3rem;
    color: var(--va-blue);
    margin-bottom: 1rem;
}

.va-upload-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.va-upload-subtext {
    color: #666;
    margin-bottom: 1rem;
}

.va-upload-info {
    font-size: 0.85rem;
    color: #888;
}

/* Video Preview */
.va-video-preview,
.va-webcam-preview {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.va-video-preview video,
.va-webcam-preview video {
    width: 100%;
    border-radius: 10px;
}

.va-remove-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(200, 16, 46, 0.9);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.va-remove-btn:hover {
    background: var(--va-red);
}

/* Webcam */
.va-webcam-container {
    position: relative;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.va-webcam-container video {
    width: 100%;
    display: block;
}

.va-webcam-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.va-webcam-overlay i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.va-webcam-overlay p {
    opacity: 0.7;
}

.va-recording-indicator {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(200, 16, 46, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.va-rec-dot {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
}

.va-webcam-controls {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.va-webcam-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--va-blue);
    color: white;
}

.va-webcam-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.va-webcam-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 76, 145, 0.4);
}

.va-record-btn {
    background: var(--va-red);
}

.va-record-btn:hover:not(:disabled) {
    box-shadow: 0 4px 15px rgba(200, 16, 46, 0.4);
}

.va-stop-btn {
    background: #333;
}

.va-webcam-tips {
    background: #fff8e1;
    border: 1px solid #ffecb3;
    border-radius: 10px;
    padding: 1rem;
    font-size: 0.9rem;
}

.va-webcam-tips ul {
    margin: 0.5rem 0 0 1.25rem;
    padding: 0;
}

.va-webcam-tips li {
    margin-bottom: 0.25rem;
    color: #5d4037;
}

/* Settings Form */
.va-settings {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.va-settings h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--va-navy);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.va-form-group {
    margin-bottom: 1rem;
}

.va-form-group:last-child {
    margin-bottom: 0;
}

.va-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.va-select,
.va-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

/* Submit Button */
.va-submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--va-green), #1b5e20);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.va-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.va-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.4);
}

/* Status Card */
.va-status-card .va-card-body {
    padding: 3rem 2rem;
}

.va-status-content {
    text-align: center;
}

.va-loader {
    margin-bottom: 1.5rem;
}

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

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

.va-status-content h3 {
    font-size: 1.25rem;
    color: var(--va-navy);
    margin-bottom: 0.5rem;
}

.va-status-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

.va-progress-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    max-width: 300px;
    margin: 0 auto;
}

.va-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--va-blue), var(--va-green));
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

/* Results */
.va-results-content {
    line-height: 1.8;
}

.va-results-content h2 {
    color: var(--va-navy);
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid var(--va-blue);
    padding-bottom: 0.5rem;
}

.va-results-content h2:first-child {
    margin-top: 0;
}

.va-results-content ul,
.va-results-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.va-results-content li {
    margin-bottom: 0.5rem;
}

.va-results-content strong {
    color: var(--va-navy);
}

.va-results-meta {
    font-size: 0.85rem;
    opacity: 0.8;
}

.va-results-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.va-action-btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--va-blue);
    color: white;
}

.va-action-btn.va-secondary {
    background: white;
    color: var(--va-blue);
    border: 2px solid var(--va-blue);
}

.va-action-btn:hover {
    transform: translateY(-2px);
}

/* History */
.va-history-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.va-history-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f5f5f5;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.va-history-item:hover {
    background: #e8e8e8;
    transform: translateX(5px);
}

.va-history-icon {
    width: 40px;
    height: 40px;
    background: var(--va-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.va-history-info {
    flex: 1;
}

.va-history-stroke {
    display: block;
    font-weight: 600;
    color: var(--va-navy);
}

.va-history-date {
    font-size: 0.85rem;
    color: #666;
}

.va-history-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 15px;
}

.va-status-completed {
    background: #e8f5e9;
    color: var(--va-green);
}

.va-status-processing,
.va-status-pending {
    background: #fff3e0;
    color: var(--va-orange);
}

.va-status-failed {
    background: #ffebee;
    color: var(--va-red);
}

/* Empty State */
.va-empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #888;
}

.va-empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* How It Works */
.va-how-it-works {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.va-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.va-step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--va-blue), var(--va-navy));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.va-step-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--va-navy);
    margin-bottom: 0.25rem;
}

.va-step-content p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive */
/* View All Link */
.va-view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--va-blue);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.va-view-all-link:hover {
    color: var(--va-navy);
    gap: 0.75rem;
}

.va-view-all-link i {
    transition: transform 0.2s ease;
}

.va-view-all-link:hover i {
    transform: translateX(3px);
}

/* History Item Thumbnail */
.va-history-item {
    transition: background 0.2s ease;
}

.va-history-item:hover {
    background: #f0f7ff;
}

/* Video Library Section */
.va-library-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    padding-top: 0;
}

.va-library-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.va-library-header h2 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.va-library-filters {
    display: flex;
    gap: 0.75rem;
}

.va-filter-select {
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
}

.va-filter-select option {
    background: #1a1a2e;
    color: white;
}

.va-library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
}

.va-library-card {
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.va-library-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.va-library-thumbnail {
    position: relative;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    cursor: pointer;
    overflow: hidden;
}

.va-library-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.va-library-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: 2rem;
}

.va-library-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.va-library-thumbnail:hover .va-library-overlay {
    opacity: 1;
}

.va-library-overlay i {
    font-size: 2.5rem;
    color: white;
}

.va-library-duration {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.va-library-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: white;
}

.va-badge-completed {
    background: #2E7D32;
}

.va-badge-pending, .va-badge-processing {
    background: #FF9800;
}

.va-badge-failed {
    background: #C8102E;
}

.va-library-info {
    padding: 0.75rem;
}

.va-library-stroke {
    font-weight: 700;
    color: #1A1B3C;
    font-size: 0.9rem;
}

.va-library-date {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.va-library-actions {
    display: flex;
    border-top: 1px solid #e5e7eb;
}

.va-lib-btn {
    flex: 1;
    padding: 0.5rem;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 0.85rem;
}

.va-lib-view {
    color: var(--va-blue);
}

.va-lib-view:hover {
    background: #e3f2fd;
}

.va-lib-delete {
    color: #9ca3af;
}

.va-lib-delete:hover {
    background: #fee2e2;
    color: #dc2626;
}

.va-library-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.va-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 25px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.va-view-all-btn:hover {
    background: rgba(255,255,255,0.2);
    color: white;
}

.va-library-empty {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    border: 2px dashed rgba(255,255,255,0.2);
}

.va-library-empty i {
    font-size: 3rem;
    color: rgba(255,255,255,0.3);
    margin-bottom: 1rem;
}

.va-library-empty h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.va-library-empty p {
    color: rgba(255,255,255,0.7);
}

/* Modal Styles */
.va-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.va-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.va-modal-content {
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.va-modal-overlay.active .va-modal-content {
    transform: scale(1);
}

.va-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--va-blue), #0066CC);
    color: white;
}

.va-modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.va-modal-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.va-modal-close:hover {
    background: rgba(255,255,255,0.3);
}

.va-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-height: calc(90vh - 60px);
    overflow: hidden;
}

.va-modal-video-container {
    background: #000;
}

.va-modal-video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 400px;
}

.va-modal-insights {
    padding: 1.5rem;
    overflow-y: auto;
    max-height: 400px;
    background: #f8f9fa;
}

.va-modal-insights h2 {
    color: var(--va-blue);
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.va-modal-insights h2:first-child {
    margin-top: 0;
}

.va-modal-insights h3 {
    color: #1A1B3C;
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.va-modal-insights ul {
    margin: 0.5rem 0;
    padding-left: 1.25rem;
}

.va-modal-insights li {
    margin-bottom: 0.25rem;
    color: #4a5568;
}

.va-modal-loading {
    text-align: center;
    color: #6b7280;
    padding: 2rem;
}

.va-modal-error {
    color: #dc2626;
    padding: 1rem;
    background: #fee2e2;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .va-hero-title {
        font-size: 1.75rem;
    }

    .va-container {
        padding: 1rem;
    }

    .va-input-tabs {
        flex-direction: column;
    }

    .va-webcam-controls {
        flex-direction: column;
    }

    .va-results-actions {
        flex-direction: column;
    }

    .va-library-section {
        padding: 1rem;
    }

    .va-library-header {
        flex-direction: column;
        align-items: stretch;
    }

    .va-library-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .va-modal-body {
        grid-template-columns: 1fr;
    }

    .va-modal-video-container video {
        max-height: 250px;
    }

    .va-modal-insights {
        max-height: 300px;
    }
}

/* ============================================
   Analysis Type Selector
   ============================================ */
.va-analysis-type-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}

.va-analysis-option {
    cursor: pointer;
}

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

.va-option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem 1rem;
    background: #e8ecf0;
    border: 2px solid #d0d5db;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.va-option-card:hover {
    background: #dce3e9;
    border-color: var(--va-blue);
}

.va-analysis-option input[type="radio"]:checked + .va-option-card {
    background: rgba(0, 76, 145, 0.15);
    border-color: var(--va-blue);
    box-shadow: 0 0 20px rgba(0, 76, 145, 0.2);
}

.va-option-card i {
    font-size: 2rem;
    color: var(--va-gold);
    margin-bottom: 0.75rem;
}

.va-option-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1A1B3C !important;
    margin-bottom: 0.5rem;
}

.va-option-desc {
    font-size: 0.75rem;
    color: #4a5568 !important;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .va-analysis-type-selector {
        grid-template-columns: 1fr;
    }

    .va-option-card {
        padding: 1rem;
    }

    .va-option-card i {
        font-size: 1.5rem;
    }
}
