/* MPD Specific Styles - Enhanced for Mobile Responsiveness */

.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}
h1 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text);
    margin-bottom: 40px;
}
h2 {
    font-size: 1.8rem;
    color: var(--text);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
}
/* Table Styles */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}
.info-table th, .info-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    word-wrap: break-word;
}
.info-table th {
    background: var(--primary);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}
.info-table tr:nth-child(even) {
    background: #f8fafc;
}
.info-table tr:hover {
    background: #eff6ff;
}
/* Links inside table */
.info-table a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}
.info-table a:hover {
    text-decoration: underline;
}
/* Section Styling */
section {
    margin-bottom: 50px;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Mobile Responsive Fixes - Focus on Tables */
@media (max-width: 768px) {
    .container {
        margin: 20px auto;
        padding: 0 15px;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    section {
        padding: 20px;
        margin-bottom: 30px;
    }
    /* Table Responsive: Horizontal Scroll with Better UX */
    .info-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch; /* Smooth iOS scrolling */
        border-radius: 8px;
        margin-bottom: 20px;
    }
    .info-table thead, .info-table tbody, .info-table tr {
        display: table;
        width: 100%;
        table-layout: fixed; /* Even column distribution */
    }
    .info-table th, .info-table td {
        min-width: 100px; /* Minimum width to prevent squishing */
        padding: 10px 8px;
        font-size: 0.85rem;
        word-break: break-word;
        white-space: normal; /* Allow wrapping inside cells */
    }
    /* Add subtle scroll hint */
    .info-table::before {
        content: '↔ Scroll to view';
        display: block;
        text-align: center;
        padding: 8px;
        background: #f0f9ff;
        color: var(--primary);
        font-size: 0.8rem;
        font-weight: 500;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    .info-table th, .info-table td {
        min-width: 80px;
        padding: 8px 6px;
        font-size: 0.8rem;
    }
    section {
        padding: 15px;
    }
    /* Alternative: Stack Rows as Cards on Very Small Screens (Optional Enhancement) */
    /* Uncomment if horizontal scroll still feels clunky */
    /*
    .info-table {
        border: none;
    }
    .info-table tr {
        display: block;
        margin-bottom: 10px;
        border: 1px solid #e2e8f0;
        border-radius: 6px;
        padding: 10px;
    }
    .info-table th, .info-table td {
        display: block;
        text-align: right;
        padding: 5px;
        border: none;
        font-size: 0.9rem;
    }
    .info-table th {
        background: #eff6ff;
        font-weight: bold;
    }
    */
}