/* style-btts.css */
.cp78-container {
    font-family: 'Calibri', 'Arial', sans-serif;
    max-width: 1600px;
    margin: 20px auto;
    background: #fff;
    border: 1px solid #aaa;
    padding: 10px;
}
.cp78-container h3 {
    font-size: 18px;
    margin: 0 0 15px 0;
    font-weight: 600;
    color: #333;
    text-align: center;
}
.cp78-section {
    margin-bottom: 30px;
}
.cp78-section-title {
    font-size: 16px;
    margin: 0 0 10px 0;
    font-weight: 600;
    color: #333;
    background: #f0f0f0;
    padding: 5px 10px;
    border: 1px solid #aaa;
    border-bottom: none;
}
.cp78-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    border: 1px solid #aaa;
}
.cp78-table th {
    background: #e0e0e0;
    border: 1px solid #aaa;
    padding: 4px 6px;
    text-align: center;
    font-weight: 600;
    white-space: nowrap;
}
.cp78-table td {
    border: 1px solid #aaa;
    padding: 4px 6px;
    text-align: center;
    vertical-align: middle;
}
.cp78-table tbody tr:nth-child(even) {
    background-color: #f5f5f5;
}
/* Ειδικό background για patterns που συνεχίζονται στο επόμενο μήκος */
.cp78-table tbody tr.has-continuation {
    background-color: #fff3cd !important;
}
.cp78-table tbody tr.has-continuation:nth-child(even) {
    background-color: #ffeb9c !important;
}
/* Στυλ για τα γράμματα του pattern - πιο συγκεκριμένο */
.cp78-table td .pat-char {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    font-weight: 700;
    border: 1px solid #888;
    margin: 0 1px;
    background: #fff;
}
/* YES - πράσινο */
.cp78-table td .pat-char.rY {
    background: #c6efce !important;
    color: #006100 !important;
    border-color: #006100 !important;
}
/* NO - κόκκινο */
.cp78-table td .pat-char.rN {
    background: #f8d7da !important;
    color: #a80000 !important;
    border-color: #a80000 !important;
}
/* Στυλ για τα code badges */
.code-badge {
    display: inline-block;
    background: #f0f0f0;
    border: 1px solid #888;
    padding: 2px 6px;
    margin: 2px;
    font-size: 11px;
    border-radius: 0;
    white-space: nowrap;
}
.result-badge {
    display: inline-block;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    font-weight: 700;
    border-radius: 0;
    margin-left: 4px;
    background: #fff;
}
.result-badge.rY {
    background: #c6efce !important;
    color: #006100 !important;
    border: 1px solid #006100 !important;
}
.result-badge.rN {
    background: #f8d7da !important;
    color: #a80000 !important;
    border: 1px solid #a80000 !important;
}
.codes-cell {
    max-width: 300px;
    white-space: normal;
    word-break: break-word;
}
.per-high { font-weight: 700; color: #1e7e34; }
.per-medium { font-weight: 600; color: #b45f06; }
.per-low { font-weight: 400; color: #a80000; }
.cp78-error {
    border: 1px solid #aaa;
    padding: 15px;
    background: #f9f9f9;
    color: #333;
}