.section6 {
    width: 100%; /* Fixed typo: was "widows" */
    height: 100%;
}

.section6 h1 {
    text-align: center;
    margin-top: 8%;
    font-size: 3.2rem;
}

.section6 p {
    color: black;
    text-align: center;
    width: 80%;
    font-size: 25px;
    margin-top: 0%;
    margin-left: 10%;
    opacity: 0.5;
}

        .container {
            width: 100%;
            height: 100%;
            margin: 0;
            background: white;
            overflow: hidden;
        }

        .header {
            background: #ffffff;
            padding: 20px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .header h2 {
            text-align: center;
            font-size: 3.2rem;
            color: #333;
            font-weight: 600;
        }

        .refresh-btn {
            display: none;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            background: #4a90e2;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.2s;
        }

        .refresh-btn:hover:not(:disabled) {
            background: #357abd;
        }

        .refresh-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .loading-container, .error-container {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 300px;
            flex-direction: column;
        }

        .spinner {opacity: 0;
            width: 32px;
            height: 32px;
            border: 3px solid #e5e7eb;
            border-top: 3px solid #3b82f6;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .table-container {
            background-color: white;
            border-radius: 8px;
            overflow-x: auto;
            overflow-y: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            width: 90%;
            margin-top: 4%;
            margin-left: 5%;
            -webkit-overflow-scrolling: touch;
        }

        table {
            width: 100%;
            min-width: 600px;
            border-collapse: collapse;
            font-size: 14px;
        }

        thead {
            background: #4a90e2;
            color: white;
        }

        th {
            background-color: #4a90e2;
            color: white;
            padding: 16px 20px;
            text-align: left;
            font-weight: 600;
            border: none;
            white-space: nowrap;
        }

        tbody tr:nth-child(even) {
            background-color: #f8f9fa;
        }

        tbody tr:nth-child(odd) {
            background-color: white;
        }

        tbody tr:hover {
            background-color: #f0f7ff !important;
        }

        td {
            padding: 16px 20px;
            border-bottom: 1px solid #e5e5e5;
            color: #333;
            white-space: nowrap;
            font-size: 14px;
        }

        .symbol {
            font-weight: 600;
            color: #2c3e50;
        }

        .timeframe-badge {
            font-weight: 500;
            color: #4a90e2;
        }

        .sr-badge {
            color: #7f8c8d;
            font-weight: 500;
        }

        .price {
            font-weight: 600;
            color: #2c3e50;
        }

        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
            background-color: white;
            border-top: 1px solid #e5e5e5;
            gap: 10px;
            flex-wrap: wrap;
        }

        .page-info {
            display: none;
        }

        .pagination-controls {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .page-btn {
            background: none;
            border: none;
            padding: 8px 12px;
            cursor: pointer;
            color: #666;
            font-size: 14px;
            border-radius: 4px;
            transition: background-color 0.2s;
            min-width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .page-btn:hover:not(:disabled) {
            background-color: #f0f0f0;
        }

        .page-btn:disabled {
            color: #ccc;
            cursor: not-allowed;
        }

        .page-btn.active {
            background-color: #4a90e2;
            color: white;
        }

        .page-numbers {
            display: flex;
            gap: 2px;
            margin: 0 8px;
        }

        .nav-btn {
            font-size: 16px;
            padding: 8px 10px;
        }

        .error-text {
            color: #dc2626;
            margin-bottom: 16px;
        }

        .retry-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            background: #3b82f6;
            color: white;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-size: 14px;
        }

        /* Mobile-specific styles */
        @media (max-width: 768px) {
            .container {
                height: auto;
            }

            .header h2 {
                font-size: 2.5rem;
            }

            .table-container {
                width: 95%;
                margin-left: 2.5%;
                border-radius: 6px;
            }

            table {
                min-width: 700px;
                font-size: 13px;
            }

            th, td {
                padding: 12px 16px;
            }

            .pagination {
                padding: 15px;
                gap: 8px;
            }

            .page-btn {
                padding: 6px 10px;
                font-size: 13px;
            }
        }

        /* Extra small screens */
        @media (max-width: 480px) {
            .header h2 {
                font-size: 2rem;
            }

            .table-container {
                width: 98%;
                margin-left: 1%;
            }

            table {
                min-width: 650px;
                font-size: 12px;
            }

            th, td {
                padding: 10px 12px;
            }

            .pagination {
                padding: 12px;
                gap: 6px;
            }

            .page-btn {
                padding: 5px 8px;
                font-size: 12px;
            }
        }