.requirements-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px 16px;
}

h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.gpu-check-section {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.gpu-check-section h2 {
    font-size: 1.1rem;
    margin: 0 0 8px;
    color: #333;
}

.gpu-check-section p {
    margin: 0 0 8px;
    color: #666;
    font-size: 0.9rem;
}

.search-group {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.gpu-search {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.requirements-grid {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow-x: auto; /* Enable horizontal scrolling */
}

.table-container {
    min-width: 640px; /* Minimum width to ensure table doesn't shrink too much */
}

.header-row, .requirements-row, .basic-row {
    display: grid;
    grid-template-columns: 180px 1fr 1fr;
    min-height: 0;
}

.header-row {
    background: #f8f9fa;
    padding: 12px;
    border-bottom: 2px solid #e9ecef;
}

.basic-row, .requirements-row {
    padding: 12px;
    border-bottom: 2px solid #f8f9fa;
}

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

.col-category h3 {
    color: #495057;
    font-size: 0.95rem;
    margin: 0;
    font-weight: 500;
}

.col-windows h3, .col-mac h3 {
    color: #333;
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

.os-version {
    color: #666;
    font-size: 0.85rem;
    margin: 2px 0 0;
}

.spec-group {
    margin-bottom: 8px;
}

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

.spec-group h4 {
    color: #495057;
    font-size: 0.85rem;
    margin: 0 0 2px;
    font-weight: 500;
}

.spec-group p {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

.col-windows, .col-mac {
    padding: 0 12px;
    border-left: 1px solid #f1f3f5;
}

.col-category {
    padding: 0 12px;
}

.requirements-row:nth-child(even) {
    background-color: #fcfcfd;
}

.help-text {
    margin: 0 0 8px;
    color: #666;
    font-size: 0.9rem;
}

.gpu-suggestions {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    max-height: 250px;
    overflow-y: auto;
    margin-top: 1px;
}

.gpu-suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    border-bottom: 1px solid #efefef;
    transition: background-color 0.2s ease;
}

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

.gpu-suggestion-item:hover, .gpu-suggestion-item.active {
    background-color: #f0f7ff;
    color: #0066cc;
}

.gpu-status {
    margin-top: 12px;
}

.status-badge {
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: 500;
}

.status-badge.positive {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.status-badge.warning {
    background-color: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

.status-badge.negative {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.status-badge.neutral {
    background-color: #e6f2ff;
    color: #0d47a1;
    border-left: 4px solid #1976d2;
}

.loading {
    color: #6c757d;
    font-style: italic;
    padding: 10px 0;
}

.error {
    color: #721c24;
    padding: 10px 15px;
    background-color: #f8d7da;
    border-radius: 4px;
}

/* Requirements details section styles */
.requirements-details {
    background: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin: 32px 0 0 0;
    font-size: 16px;
    line-height: 1.7;
    color: #222;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}
.requirements-details h2 {
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 18px;
    color: #1976d2;
    font-weight: 600;
}
.requirements-details h3 {
    margin-top: 0;
    margin-bottom: 8px;
    color: #1976d2;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 1.15em;
}

.requirements-details .os-section {
    background: linear-gradient(90deg, #e3f2fd 80%, transparent 100%);
    border-left: 6px solid #1976d2;
    border-radius: 7px 0 0 7px;
    padding: 14px 18px 10px 18px;
    margin: 32px 0 18px 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.requirements-details .os-icon {
    font-size: 2.1em;
    margin-right: 0;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px #b3c6e6);
    display: flex;
    align-items: center;
    height: 1.2em;
}

.requirements-details .os-section h3 {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    font-size: 1.15em;
}

.requirements-details ul {
    margin: 0 0 16px 24px;
    padding: 0;
    list-style: disc inside;
}
.requirements-details strong {
    color: inherit; /* Remove blue color from GPU/AMD/CPU labels */
    font-weight: 600;
}
.requirements-details .important {
    color: #d32f2f;
    font-weight: 600;
    display: block;
    margin: 18px 0 8px 0;
}
.requirements-details .note {
    color: #666;
    font-size: 0.98em;
    margin: 10px 0 0 0;
}
.requirements-details .mac-link {
    color: #1976d2;
    text-decoration: underline;
    word-break: break-all;
}
.requirements-details .emoji {
    font-size: 1.1em;
    margin-right: 4px;
}
.requirements-details .info-box {
    background: #f5f7fa; /* lighter, subtle background */
    border: 1px solid #b3c6e6; /* softer border */
    border-radius: 8px;
    padding: 14px 16px 10px 16px;
    margin: 16px 0 12px 0;
    color: #3a4a5d; /* less intense text color */
    font-size: 1em;
    font-weight: 400; /* normal font weight */
    box-shadow: none; /* remove shadow */
}
.requirements-details .info-box ul {
    margin-left: 18px;
    margin-bottom: 0;
}

/* Media queries for responsiveness */
@media screen and (min-height: 800px) {
    .requirements-container {
        padding: 32px 20px;
    }

    h1 {
        font-size: 2.5rem;
        margin-bottom: 24px;
    }

    .gpu-check-section {
        padding: 20px;
        margin-bottom: 32px;
    }

    .gpu-check-section h2 {
        font-size: 1.25rem;
        margin: 0 0 12px;
    }

    .gpu-check-section p {
        font-size: 1rem;
        margin: 0 0 12px;
    }

    .header-row, .requirements-row, .basic-row {
        padding: 16px;
    }

    .spec-group {
        margin-bottom: 12px;
    }

    .spec-group p, .spec-group h4 {
        font-size: 0.9rem;
    }

    .help-text {
        font-size: 1rem;
        margin: 0 0 12px;
    }
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    .requirements-container {
        padding: 8px 2px 8px 2px; /* less left/right margin for tablet too */
    }
    .requirements-details {
        font-size: 15px;
        padding: 0 2px;
    }
    .requirements-details .os-section {
        flex-direction: row; /* keep icon and name on one line for tablet */
        align-items: center;
        padding: 10px 10px 8px 10px;
        margin: 24px 0 12px 0;
        border-radius: 7px;
        font-size: 1em;
        gap: 8px;
    }
    .requirements-details .os-icon {
        font-size: 1.5em;
        margin-bottom: 0;
        margin-right: 6px;
        height: 1.5em;
    }
    .requirements-details .info-box {
        padding: 10px 10px 8px 10px;
        margin: 12px 0 8px 0;
        font-size: 0.98em;
    }
    .requirements-details ul {
        margin: 0 0 12px 18px;
        font-size: 0.98em;
    }
    .requirements-details h2 {
        font-size: 1.15em;
        margin-bottom: 12px;
    }
    .requirements-details h3 {
        font-size: 1em;
        margin-bottom: 6px;
    }

    /* Visual indicator for horizontal scrolling */
    .requirements-grid::after {
        content: '›';
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 24px;
        color: rgba(0,0,0,0.3);
        pointer-events: none;
        animation: pulse 1.5s infinite;
    }

    @keyframes pulse {
        0% { opacity: 0.3; }
        50% { opacity: 0.8; }
        100% { opacity: 0.3; }
    }
}

/* Small mobile devices */
@media screen and (max-width: 480px) {
    .requirements-container {
        padding: 8px 2px 8px 2px; /* less left/right margin */
    }
    .requirements-details {
        font-size: 14px;
        padding: 0 1px;
    }
    .requirements-details .os-section {
        flex-direction: row; /* keep icon and name on one line */
        align-items: center;
        padding: 8px 6px 6px 6px;
        margin: 16px 0 8px 0;
        font-size: 0.98em;
        gap: 6px;
    }
    .requirements-details .os-icon {
        font-size: 1.2em;
        height: 1.2em;
        margin-bottom: 0;
        margin-right: 4px;
    }
    .requirements-details .info-box {
        padding: 7px 6px 6px 6px;
        margin: 8px 0 6px 0;
        font-size: 0.96em;
    }
    .requirements-details ul {
        margin: 0 0 8px 8px;
        font-size: 0.96em;
    }
    .requirements-details h2 {
        font-size: 1em;
        margin-bottom: 8px;
    }
    .requirements-details h3 {
        font-size: 0.95em;
        margin-bottom: 4px;
    }
}

