/* Summary table - native table layout with large screen support */
.summary-section {
    max-width: 100% !important;
    overflow-x: auto !important;
    padding: 0 50px !important;
    box-sizing: border-box !important;
}
.summary-section .summary-table-wrap {
    overflow-x: auto !important;
    max-width: 2500px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}
.summary-section table {
    width: 100% !important;
    border-collapse: collapse !important;
    border: 1px solid #ccc !important;
    table-layout: auto !important;
    max-width: 2400px !important;
}
.summary-section table th:first-child,
.summary-section table td:first-child {
    width: 28% !important;
    min-width: 80px !important;
}
.summary-section table th {
    border: 1px solid #ccc !important;
    padding: 10px !important;
    background: #f5f5f5 !important;
    font-size: 18px !important;
    font-family: Arial, Helvetica, sans-serif !important;
    text-align: left !important;
}
.summary-section table td {
    border: 1px solid #ccc !important;
    padding: 10px !important;
    vertical-align: top !important;
    word-break: break-word !important;
    box-sizing: border-box !important;
    font-size: 18px !important;
    font-family: Arial, Helvetica, sans-serif !important;
}
.summary-section .summary-title {
    font-size: 20px !important;
    margin-bottom: 10px !important;
    font-family: Arial, Helvetica, sans-serif !important;
}

/* Large screen support - matching .pro-container breakpoints */
@media (min-width: 1920px) {
    .summary-section {
        padding: 0 80px !important;
    }
    .summary-section .summary-table-wrap {
        max-width: 1600px !important;
    }
    .summary-section table {
        max-width: 1600px !important;
    }
}

@media (min-width: 2500px) {
    .summary-section {
        padding: 0 110px !important;
    }
    .summary-section .summary-table-wrap {
        max-width: 2000px !important;
    }
    .summary-section table {
        max-width: 2000px !important;
    }
}

@media (min-width: 3000px) {
    .summary-section {
        padding: 0 140px !important;
    }
    .summary-section .summary-table-wrap {
        max-width: 2500px !important;
    }
    .summary-section table {
        max-width: 2500px !important;
    }
}

/* Summary table mobile */
@media (max-width: 768px) {
    .summary-section {
        padding: 0 6px !important;
    }
    .summary-section table,
    .summary-section table * {
        box-sizing: border-box !important;
    }
    .summary-section table {
        width: 100% !important;
        min-width: 100% !important;
        table-layout: auto !important;
        font-size: 12px !important;
        border-collapse: collapse !important;
        border: 1px solid #ccc !important;
        max-width: 100% !important;
    }
    .summary-section table th:first-child,
    .summary-section table td:first-child {
        width: 28% !important;
        min-width: 60px !important;
        max-width: 28% !important;
        white-space: normal !important;
        word-break: break-word !important;
        font-weight: bold !important;
    }
    .summary-section table th {
        font-size: 12px !important;
        padding: 5px 6px !important;
        border: 1px solid #ccc !important;
    }
    .summary-section table td {
        font-size: 12px !important;
        padding: 5px 6px !important;
        border: 1px solid #ccc !important;
    }
    .summary-section .summary-title {
        font-size: 15px !important;
    }

    /* Override quikvue.features flex rules for summary table */
    .quikvue.features .summary-section table tbody tr {
        display: table-row !important;
        flex-direction: unset !important;
    }
    .quikvue.features .summary-section table tbody tr td {
        display: table-cell !important;
        width: auto !important;
    }
    .quikvue.features .summary-section table tbody tr td:first-child {
        width: 28% !important;
        max-width: 28% !important;
    }
    .quikvue.features .summary-section table tbody tr td:nth-child(2) {
        width: 72% !important;
    }
}
