/* ==========================================================
   Gamevers System Requirements Section Styles
========================================================== */

.gv-system-requirements-container {
    width: 100%;
    margin: 1em 0;
    font-family: inherit;
    color: #ffffff;
}

/* Main Section Title */
.gv-system-req-main-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 0.5em;
    text-transform: capitalize;
}

/* Tabs Navigation */
.gv-sys-req-tabs-nav {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
    overflow-x: auto;
    /* Hide scrollbar for neatness */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gv-sys-req-tabs-nav::-webkit-scrollbar {
    display: none;
}

.gv-sys-req-tab-btn {
    background: transparent;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    outline: none;
}

.gv-sys-req-tab-btn img {
    width: 20px;
    height: 20px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.gv-sys-req-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.gv-sys-req-tab-btn:hover img {
    opacity: 0.8;
}

.gv-sys-req-tab-btn.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gv-sys-req-tab-btn.active img {
    opacity: 1;
}

/* Tabs Content Container */
.gv-sys-req-tabs-content {
    position: relative;
}

.gv-sys-req-tab-panel {
    display: none;
    /* hidden by default */
    animation: gvFadeInUp 0.4s ease forwards;
}

.gv-sys-req-tab-panel.active {
    display: block;
}

@keyframes gvFadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Layout Grid Table */
.gv-sys-req-table {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    /* For empty state overlay */
}

.gv-sys-req-t-body {
    position: relative;
    display: flex;
    flex-direction: column;
}

.gv-sys-req-t-header {
    display: grid;
    gap: 20px;
    margin-bottom: 12px;
}

.gv-s-col-header h4 {
    margin: 0;
    font-size: 1.1em !important;
    font-weight: 600 !important;
    color: #ffffff;
    text-align: center;
    /* Aligns with inner cell padding */
}

/* Row Styling */
.gv-sys-req-t-row {
    display: grid;
    column-gap: 20px;
    /* NO row gap, so cells touch vertically to form a single box */
}

@media screen and (min-width: 769px) {

    .cols-both .gv-sys-req-t-header,
    .cols-both .gv-sys-req-t-row {
        grid-template-columns: 180px 1fr 1fr;
    }

    .cols-min .gv-sys-req-t-header,
    .cols-min .gv-sys-req-t-row,
    .cols-rec .gv-sys-req-t-header,
    .cols-rec .gv-sys-req-t-row {
        grid-template-columns: 180px 1fr;
    }
}

/* Label Column (Left Sidebar) */
.gv-s-lbl {
    display: flex;
    align-items: center;
    /* Vertically center icon and text */
    gap: 12px;
    padding: 16px 0;
    color: #a9a9a9;
    font-size: 15px;
    font-weight: 500;
}

.gv-icon-wrap {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gv-icon-wrap img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    opacity: 0.8;
}

/* Value Columns */
.gv-s-min,
.gv-s-rec {
    display: flex;
    flex-direction: column;
}

.gv-sys-req-t-row .gv-s-min .cell-inner,
.gv-sys-req-t-row .gv-s-rec .cell-inner {
    background: rgba(26, 26, 26, 0.6);
    /* Grey box matching theme */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 20px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
    height: 100%;
    /* Stretch to match row height */
    box-sizing: border-box;
    position: relative;
}

.gv-sys-req-t-row:not(:last-child) .gv-s-min .cell-inner::after,
.gv-sys-req-t-row:not(:last-child) .gv-s-rec .cell-inner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.08);
}

/* Borders for unified grey box look */
.gv-sys-req-t-row .gv-s-min .cell-inner {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.gv-sys-req-t-row .gv-s-rec .cell-inner {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

/* Top corners */
.gv-sys-req-t-row:first-child .gv-s-min .cell-inner,
.gv-sys-req-t-row:first-child .gv-s-rec .cell-inner {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Bottom corners & remove last internal border */
.gv-sys-req-t-row:last-child .gv-s-min .cell-inner,
.gv-sys-req-t-row:last-child .gv-s-rec .cell-inner {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    /* Bottom border of the box */
}

/* Handle empty state text and animation */
.gv-s-empty-span {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: calc(100% - 200px);
    /* Fill space right of the 180px gap left column */
    z-index: 2;
}

.gv-sys-req-empty-anim {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 100%;
    height: 100%;
    /* Fill the spanned area */
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.gv-sys-req-empty {
    color: #7a7a7a;
    font-style: italic;
    margin: 0 0 3em 0;
    text-align: center;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .gv-sys-req-t-header {
        display: none;
        /* Hide header on mobile to stack logically */
    }

    .gv-sys-req-t-row {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 24px;
        background: rgba(26, 26, 26, 0.6);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        padding: 16px;
    }

    .gv-sys-req-t-row .gv-s-lbl {
        padding: 0 0 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        color: #ffffff;
    }

    .gv-sys-req-t-row .gv-s-min,
    .gv-sys-req-t-row .gv-s-rec {
        margin-top: 12px;
    }

    .gv-sys-req-t-row .gv-s-min::before {
        content: "Minimal:";
        font-size: 13px;
        color: #a9a9a9;
        margin-bottom: 4px;
    }

    .gv-sys-req-t-row .gv-s-rec::before {
        content: "Recommended:";
        font-size: 13px;
        color: #a9a9a9;
        margin-bottom: 4px;
    }

    .gv-sys-req-t-row .gv-s-min .cell-inner,
    .gv-sys-req-t-row .gv-s-rec .cell-inner {
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 0;
        border: none;
        border-radius: 0;
    }

    .gv-sys-req-t-row .gv-s-min .cell-inner::after,
    .gv-sys-req-t-row .gv-s-rec .cell-inner::after {
        display: none;
    }

    /* Adjust empty state overlay for mobile */
    .gv-s-empty-span {
        position: relative;
        width: 100%;
        height: 350px;
        margin-top: 16px;
    }
}

/* List Formatting */
.gv-sys-req-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gv-sys-req-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 14px;
}

.gv-sys-req-list li:last-child {
    margin-bottom: 0;
}

/* Icons */
.gv-sys-req-icon {
    width: 24px;
    height: 24px;
    /* prevent icon shrinking */
    flex-shrink: 0;
    /* The user provided white/light icons mostly, ensure they render nicely */
    object-fit: contain;
}

/* Text Content */
.gv-sys-req-text {
    font-size: 14px;
    line-height: 1.5;
    color: #ffffff;
}

/* Labels and Values */
.gv-sys-req-lbl {
    color: #a9a9a9;
    /* Muted Grey */
    font-weight: 600;
}

.gv-sys-req-val {
    color: #ffffff;
    /* White */
    font-weight: 400;
}