.tsc-wrapper {
    margin: 24px 0;
}

.tsc-buscador-wrap {
    margin-bottom: 16px;
}

.tsc-buscador {
    width: 100%;
    max-width: 420px;
    padding: 10px 14px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

.tsc-buscador:disabled {
    background: #f5f5f5;
    color: #999;
}

.tsc-status {
    font-style: italic;
    color: #666;
}

.tsc-tabla {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.tsc-tabla th,
.tsc-tabla td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid #e0e0e0;
}

.tsc-tabla th {
    background: #f5f5f5;
    font-weight: 600;
}

.tsc-tabla tbody tr:hover {
    background: #fafafa;
}

.tsc-ver-ficha {
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 6px 14px;
    font-size: 13px;
    cursor: pointer;
}

.tsc-ver-ficha:hover {
    background: #333;
}

/* Modal */
.tsc-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.tsc-modal {
    background: #fff;
    border-radius: 8px;
    max-width: 640px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 28px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.tsc-modal-cerrar {
    position: absolute;
    top: 14px;
    right: 14px;
    background: transparent;
    border: none;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #666;
}

.tsc-modal-cerrar:hover {
    color: #000;
}

.tsc-modal-titulo {
    margin: 0 32px 20px 0;
    font-size: 19px;
}

.tsc-modal-seccion {
    margin: 20px 0 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #444;
}

.tsc-modal-tabla {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.tsc-modal-tabla th,
.tsc-modal-tabla td {
    text-align: left;
    padding: 7px 10px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.tsc-modal-tabla th {
    width: 42%;
    font-weight: 600;
    color: #333;
}

.tsc-modal-informe {
    margin-top: 18px;
    font-size: 14px;
}
