:root {
    --table-border-color: #ddd !important;
    --table-header-bg-color: #64696e !important;
    --table-header-text-color: white !important;
    --text-color: #666666;
    --border-color: #666262;
}

.back-btn {
    margin: 1rem;
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 40px;
    background-color: #ffffff;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 32px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.model_name {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 30px;
}

.metrics {
    font-size: 24px;
    color: var(--text-color);
    font-weight: bold;
}

.table-wrapper {
    overflow-x: auto;
    margin-bottom: 2rem;
}

table {
    width: 100%;
    border-collapse: collapse !important;
    background-color: #fff;
    overflow: hidden;
}

th {
    background-color: var(--table-header-bg-color) !important;
    color: var(--table-header-text-color) !important;
    text-align: left !important;
    padding: 12px !important;
    font-weight: bold !important;
}

td,
th {
    padding: 12px !important;
    text-align: left !important;
    border: 1px solid var(--table-border-color) !important;
}

tr:nth-child(even) {
    background-color: var(--table-row-even-bg-color) !important;
}

tr:nth-child(odd) {
    background-color: var(--table-row-odd-bg-color) !important;
}

tr:hover {
    background-color: var(--table-row-hover-bg-color) !important;
}

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

    table {
        font-size: 14px;
    }

    th,
    td {
        padding: 12px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 20px;
    }
}

@media screen and (max-width: 480px) {
    table {
        font-size: 12px;
    }

    th,
    td {
        padding: 10px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 18px;
    }

    .table-wrapper {
        border-radius: 5px;
        box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
    }
}

.accordion-button {
    background-color: white;
    color: #333;
    border-color: #ccc;
}

.accordion-button:not(.collapsed) {
    background-color: #d9d9d9;
    color: #000;
}

.accordion-button:focus {
    box-shadow: none;
}

/* Container Styles */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: calc(100vh - 120px); /* Account for footer and margins */
}

/* Header Card Styles */
.header-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.structure-name {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.model-name {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.modality-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: #e9ecef;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #495057;
}

/* Metrics Dashboard Styles */
.metrics-dashboard {
    margin-top: 2rem;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.metric-card {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.metric-card:hover {
    transform: translateY(-2px);
}

.metric-card h3 {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.9rem;
    color: #6c757d;
}

.metric-secondary {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

/* Delineation Card Styles */
.delineation-card, .boundaries-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.info-section, .boundary-section {
    margin-bottom: 2rem;
}

.info-section:last-child, .boundary-section:last-child {
    margin-bottom: 0;
}

.info-section h3, .boundary-section h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.info-section p, .boundary-section p {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Back Button Styles */
.back-btn {
    margin: 1rem;
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .structure-name {
        font-size: 2rem;
    }

    .metric-card {
        padding: 1rem;
    }

    .metric-value {
        font-size: 1.5rem;
    }
    
    .dashboard-container {
        margin: 1rem auto;
    }
}

/* Remove all footer-related styles as they are handled in footer.css */

.category-info,
.description-info {
    margin: 10px 0;
    font-size: 1.1em;
}

.category-info .label,
.description-info .label {
    font-weight: 600;
    color: #666;
    margin-right: 8px;
}

.category-info .value,
.description-info .value {
    color: #333;
}

.model-info-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.model-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 10px;
}

.info-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    text-align: center;
}

.info-item h3 {
    font-size: 1rem;
    color: #666;
    margin-bottom: 8px;
}

.info-item .info-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}