/* Add this to make table headers white */
.table thead th {
    background: var(--bg-dark-tertiary);
    border-bottom: 2px solid var(--border-light);
    padding: var(--spacing-12);
    color: var(--text-white);
}

/* Style the icons in the headers */
.table thead th i {
    color: var(--text-white);
    margin-right: var(--spacing-8);
}

/* Hide beta scanning features */
.hidden-beta-feature {
    display: none !important;
    visibility: hidden !important;
}

/* Header styling */
.container-serverstatus-version {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-md);
    background: var(--bg-dark-40);
    border-radius: var(--border-radius-md);
}

/* Info blocks styling */
.info-block {
    background: var(--bg-dark-40);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-25);
    border: 1px solid var(--border-light);
}

.info-block h3 {
    color: var(--text-white);
    font-size: 1.3em;
    margin-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: var(--spacing-sm);
}

.info-block h3 i {
    margin-right: var(--spacing-sm);
}

/* Table styling */
/* Table styling inherited from table-components.css */

.table thead th {
    background: var(--bg-dark-tertiary);
    border-bottom: 2px solid var(--border-light);
    padding: var(--spacing-12);
}

.table tbody tr:hover {
    background: var(--bg-transparent-5);
}

.table td {
    padding: var(--spacing-12);
    border-top: 1px solid var(--border-light);
}

/* System resources section */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: calc(-1 * var(--spacing-sm));
}

.col-md-4, .col-md-6 {
    flex: 1;
    padding: var(--spacing-sm);
    min-width: 250px;
}

/* Resource cards */
.col-md-4 h4, .col-md-6 h4 {
    color: #0096ff;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.col-md-4 p, .col-md-6 p {
    color: var(--text-white);
    background: var(--bg-dark-tertiary);
    padding: var(--spacing-sm);
    border-radius: 6px;
    margin: 0;
}

/* Icons */
.fas {
    margin-right: 8px;
}

/* Progress bar styling */
.progress {
    background-color: var(--bg-dark-tertiary);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    margin-top: var(--spacing-sm);
}

.progress-bar {
    transition: width 0.6s ease;
    text-align: center;
    line-height: 25px;
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 1px var(--shadow-dark);
}

/* Settings sections styling */
.settings-section {
    background: var(--bg-dark-40);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    border: 1px solid var(--border-light);
    height: fit-content;
}

.section-header {
    color: var(--text-white);
    font-size: 1.1em;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
}

.section-header i {
    margin-right: var(--spacing-sm);
    color: var(--accent-blue);
}

/* Compact form controls */
.form-control-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.form-check {
    margin-bottom: var(--spacing-sm);
}

.form-check-label {
    font-size: 0.9em;
    line-height: 1.4;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    font-size: 0.85em;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

/* Inline form elements */
.row.mb-2 .col-6 {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

.row.mb-2 .col-6:first-child {
    padding-left: 0;
}

.row.mb-2 .col-6:last-child {
    padding-right: 0;
}

/* Responsive design */
@media (max-width: 991px) {
    .col-lg-4 {
        margin-bottom: var(--spacing-lg);
    }

    .settings-section {
        padding: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .container-status-page {
        margin: var(--spacing-sm);
        padding: var(--spacing-md);
    }

    .info-block {
        padding: var(--spacing-md);
    }

    .col-md-4, .col-md-6, .col-lg-4 {
        flex: 100%;
        margin-bottom: var(--spacing-lg);
    }

    .table {
        display: block;
        overflow-x: auto;
    }

    .container-serverstatus-version {
        flex-direction: column;
        text-align: center;
    }

    .container-serverstatus-version > div {
        margin-bottom: var(--spacing-sm);
    }

    .d-flex.justify-content-between {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .d-flex.justify-content-between h3 {
        margin-bottom: var(--spacing-sm);
    }

    .settings-section {
        padding: var(--spacing-sm);
    }
}
