.header {
            text-align: center;
            margin-bottom: 40px;
            color: white;
        }

        .header h1 {
            font-size: 2.5rem;
            font-weight: 300;
            margin-bottom: 10px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }

        .header p {
            font-size: 1.1rem;
            opacity: 0.9;
        }


        .main-card {
            background: white;
            border-radius: 16px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            padding: 40px;
            margin-bottom: 30px;
            backdrop-filter: blur(10px);
        }

        .upload-section {
            text-align: center;
            margin-bottom: 30px;
        }

        .upload-area {
            border: 2px dashed #e0e6ed;
            border-radius: 12px;
            padding: 40px;
            background: #f8fafc;
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .upload-area:hover {
            border-color: #667eea;
            background: #f1f5fe;
            transform: translateY(-2px);
        }

        .upload-area.dragover {
            border-color: #667eea;
            background: #e6f0ff;
            transform: scale(1.02);
        }

        .upload-icon {
            font-size: 3rem;
            color: #667eea;
            margin-bottom: 15px;
            transition: all 0.3s ease;
        }

        .upload-area:hover .upload-icon {
            transform: scale(1.1);
        }

        .upload-text {
            color: #64748b;
            font-size: 1.1rem;
            margin-bottom: 10px;
        }

        .upload-subtext {
            color: #94a3b8;
            font-size: 0.9rem;
        }

        .file-input {
            display: none;
        }

        .btn {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 8px;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
            text-decoration: none;
            display: inline-block;
            margin: 10px 5px;
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
        }

        .btn:active {
            transform: translateY(0);
        }

        .btn-secondary {
            background: #64748b;
        }

        .btn-secondary:hover {
            background: #475569;
            box-shadow: 0 8px 20px rgba(100, 116, 139, 0.4);
        }

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

        .btn-success:hover {
            box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
        }

        .alert {
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 20px;
            font-weight: 500;
        }

        .alert-error {
            background: #fef2f2;
            color: #dc2626;
            border-left: 4px solid #dc2626;
        }

        .alert-warning {
            background: #fffbeb;
            color: #d97706;
            border-left: 4px solid #d97706;
        }

        .alert-success {
            background: #f0fdf4;
            color: #16a34a;
            border-left: 4px solid #16a34a;
        }

        .loading {
            display: none;
            text-align: center;
            padding: 20px;
        }

        .spinner {
            width: 40px;
            height: 40px;
            border: 4px solid #e5e7eb;
            border-top: 4px solid #667eea;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 15px;
        }

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

        .results-section {
            margin-top: 30px;
        }

        .section-title {
            font-size: 1.5rem;
            color: #1e293b;
            margin-bottom: 20px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .table-container {
            background: #f8fafc;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 20px;
            border: 1px solid #e2e8f0;
        }

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

        .table-title {
            font-weight: 600;
            color: #475569;
        }

        .table-meta {
            font-size: 0.9rem;
            color: #64748b;
        }

        .table-wrapper {
            overflow-x: auto;
            max-width: 100%;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        }

        table {
            width: 100%;
            min-width: 600px;
            border-collapse: collapse;
            background: white;
            font-size: 0.85rem;
            line-height: 1.4;
        }

        th, td {
            padding: 8px 12px;
            text-align: left;
            border-bottom: 1px solid #e2e8f0;
            word-wrap: break-word;
            max-width: 200px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        th {
            background: #f1f5f9;
            font-weight: 600;
            color: #475569;
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            position: sticky;
            top: 0;
            z-index: 10;
        }

        td {
            font-size: 0.82rem;
            color: #374151;
        }

        tr:hover {
            background: #f8fafc;
        }

        tr:hover td {
            white-space: normal;
            overflow: visible;
            text-overflow: unset;
        }

        /* Responsive table adjustments */
        @media (max-width: 768px) {
            table {
                font-size: 0.75rem;
                min-width: 500px;
            }
            
            th, td {
                padding: 6px 8px;
                max-width: 120px;
            }
            
            th, td {
                padding: 6px 8px;
                max-width: 120px;
            }
            
            th {
                font-size: 0.7rem;
            }
            
            td {
                font-size: 0.72rem;
            }
        }

        @media (max-width: 480px) {
            table {
                font-size: 0.7rem;
                min-width: 400px;
            }
            
            th, td {
                padding: 4px 6px;
                max-width: 100px;
            }
            
            th {
                font-size: 0.65rem;
            }
            
            td {
                font-size: 0.68rem;
            }
        }

        .download-section {
            text-align: center;
            padding: 30px;
            background: #f8fafc;
            border-radius: 12px;
            border: 2px dashed #cbd5e1;
        }

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

        .stat-card {
            background: white;
            padding: 20px;
            border-radius: 12px;
            text-align: center;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
            border: 1px solid #e2e8f0;
        }

        .stat-number {
            font-size: 2rem;
            font-weight: 700;
            color: #667eea;
            margin-bottom: 5px;
        }

        .stat-label {
            color: #64748b;
            font-size: 0.9rem;
        }

        .progress {
            width: 100%;
            height: 6px;
            background: #e2e8f0;
            border-radius: 3px;
            margin: 15px 0;
            overflow: hidden;
        }

        .progress-bar {
            height: 100%;
            background: linear-gradient(90deg, #667eea, #764ba2);
            width: 0%;
            transition: width 0.3s ease;
        }

        @media (max-width: 768px) {
            .container {
                padding: 15px;
            }

            .main-card {
                padding: 25px;
            }

            .header h1 {
                font-size: 2rem;
            }

            .upload-area {
                padding: 30px 20px;
            }

            .stats {
                grid-template-columns: 1fr;
            }
        }

        .fade-in {
            animation: fadeIn 0.5s ease-in;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        /* Ensure the page content doesn't create extra space */
        .content-wrapper {
            padding-bottom: 0;
        }
        
        /* Remove any extra margins from the last element before footer */
        .download-section, .results-section, .main-card {
            margin-bottom: 0;
        }
        
        /* Ensure consistent spacing across pages */
        @media (max-width: 768px) {
            .footer {
                margin-top: 0;
                padding-top: 40px;
            }
        }
        /* SEO/Instruction Section Styles */
        .instructions-section, .video-section, .faq-section {
            background: #f8fafc;
            border-radius: 10px;
            padding: 32px 24px;
            margin: 32px 0;
            box-shadow: 0 2px 8px rgba(0,0,0,0.03);
        }
        .instructions-section h2,
        .video-section h2,
        .faq-section h2 {
            color: #334155;
            margin-bottom: 16px;
            font-size: 1.5rem;
        }
        .instructions-list {
            list-style: decimal inside;
            color: #475569;
            margin-bottom: 0;
        }
        .video-wrapper {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 16px;
        }
        .video-wrapper iframe, .video-wrapper video {
            max-width: 100%;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.07);
        }
        .faq-section details {
            margin-bottom: 12px;
            background: #fff;
            border-radius: 6px;
            padding: 12px 16px;
            border: 1px solid #e2e8f0;
        }
        .faq-section summary {
            font-weight: 600;
            color: #475569;
            cursor: pointer;
        }