/**
 * Paradigm - Elementor Tables
 * Frontend Table Styles
 */

/* Base table styling */
.pcTbl {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid #ccc;
    font-size: 14px;
    line-height: 1.5;
}

.pcTbl th,
.pcTbl td {
    border: 1px solid #ccc;
    padding: 10px 15px;
    text-align: left;
    vertical-align: middle;
}

.pcTbl th {
    font-weight: bold;
}

/* Row height variants */
.pcTblRw140 th,
.pcTblRw140 td {
    min-height: 140px;
    height: 140px;
}

.pcTblRw70 th,
.pcTblRw70 td {
    min-height: 70px;
    height: 70px;
}

/* Title row styling (dark header) */
.pcTbl .pcTtl01,
.pcTbl tr.pcTtl01 th,
.pcTbl tr.pcTtl01 td {
    background-color: #333;
    color: #fff;
    font-weight: bold;
}

.pcTbl .pcTtl01 a {
    color: #fff;
    text-decoration: underline;
}

.pcTbl .pcTtl01 a:hover {
    color: #ddd;
}

/* Alternating row background */
.pcTbl .tdBg,
.pcTbl tr.tdBg th,
.pcTbl tr.tdBg td {
    background-color: #f5f5f5;
}

/* No border variant */
.pcTbl .tdBrdNo,
.pcTbl td.tdBrdNo,
.pcTbl th.tdBrdNo {
    border: none;
}

/* Superscript styling for footnotes */
.pcTbl sup {
    font-size: 0.75em;
    vertical-align: super;
    line-height: 0;
}

.pcTbl sub {
    font-size: 0.75em;
    vertical-align: sub;
    line-height: 0;
}

/* Responsive table */
@media screen and (max-width: 768px) {
    .pcTbl {
        font-size: 12px;
    }

    .pcTbl th,
    .pcTbl td {
        padding: 8px 10px;
    }

    .pcTblRw140 th,
    .pcTblRw140 td {
        min-height: 100px;
        height: auto;
    }

    .pcTblRw70 th,
    .pcTblRw70 td {
        min-height: 50px;
        height: auto;
    }
}

/* Print styles */
@media print {
    .pcTbl {
        border: 1px solid #000;
    }

    .pcTbl th,
    .pcTbl td {
        border: 1px solid #000;
    }

    .pcTbl .pcTtl01,
    .pcTbl tr.pcTtl01 th,
    .pcTbl tr.pcTtl01 td {
        background-color: #333 !important;
        color: #fff !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .pcTbl .tdBg,
    .pcTbl tr.tdBg th,
    .pcTbl tr.tdBg td {
        background-color: #f5f5f5 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
