/* ══ SATÉLITES DEL TERCERO · domicilios y contactos (Pieza 7, Parte B) ══════════════════════
   Hoja GLOBAL, acotada bajo .tsat: la usan los componentes de Components/Terceros, que pintan la
   MISMA tarjeta en la ficha de proveedores y en la de clientes. El aislamiento de Blazor no deja
   que el .razor.css de una página alcance a un componente hijo, por eso vive aquí. Las reglas son
   las de Suppliers.razor.css (de donde se extrajeron sin cambios); las variables --pnl-* las
   hereda del .sup-skin de la página. */

.tsat .sup-iconbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d7dee8;
    background: #fff;
    border-radius: 6px;
    width: 26px;
    height: 26px;
    cursor: pointer;
    color: #0b4a91;
    padding: 0;
}
.tsat .sup-iconbtn:hover {
    background: #eef4ff;
    border-color: var(--sup-blue);
}
.tsat .sup-iconbtn--off:hover {
    background: #fff1f2;
    border-color: #ef4444;
    color: #ef4444;
}
.tsat .sup-iconbtn--on:hover {
    background: #ecfdf5;
    border-color: #16a34a;
    color: #16a34a;
}
.tsat .sup-combo-add {
    display: flex;
    gap: 5px;
    align-items: center;
}
.tsat .sup-combo-add select {
    flex: 1;
}
.tsat .sup-plusbtn {
    border: 1px solid var(--sup-blue);
    color: var(--sup-blue);
    background: #fff;
    border-radius: 6px;
    width: 28px;
    height: 30px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    flex: 0 0 auto;
}
.tsat .sup-plusbtn:hover {
    background: var(--sup-blue);
    color: #fff;
}
.tsat .sup-quickadd {
    margin-top: 6px;
    display: grid;
    grid-template-columns: 90px 1fr auto auto;
    gap: 6px;
    align-items: center;
    background: #eef4ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 8px;
}
.tsat .sup-card {
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 24px;
}
.tsat .sup-card__head {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 4px 8px;
    background: none;
    border: none;
    border-radius: 0;
}
.tsat .sup-card__icon {
    font-size: 13px;
    line-height: 1;
    opacity: .75;
}
.tsat .sup-card__title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .01em;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    color: #636366;
    text-shadow: none;
}
.tsat .sup-card__body {
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 0 0 .5px rgba(0, 0, 0, .04), 0 1px 2px rgba(0, 0, 0, .04);
}
.tsat .sup-card--address {
    --pnl-accent: #34c759;
    --pnl-accent-dark: #248a3d;
}
.tsat .sup-card--bank {
    --pnl-accent: #ff9500;
    --pnl-accent-dark: #b26200;
}
.tsat .sup-card--contact {
    --pnl-accent: #af52de;
    --pnl-accent-dark: #7a3aa0;
}
.tsat .sup-addbtn {
    margin-left: auto;
    border: none;
    background: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    padding: 2px 6px;
    cursor: pointer;
    color: #0071e3;
    transition: opacity .12s ease;
}
.tsat .sup-addbtn:hover {
    background: none;
    color: #0071e3;
    opacity: .65;
}
.tsat .sup-grid3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px 12px;
}
.tsat .sup-field {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.tsat .sup-field--wide {
    grid-column: span 2;
}
.tsat .sup-field--check {
    justify-content: flex-end;
}
.tsat .sup-field label {
    font-size: 11px;
    font-weight: 600;
    color: #475569;
}
.tsat .sup-subform {
    background: #f2f2f7;
    border: none;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
}
.tsat .sup-subform__actions {
    margin-top: 8px;
    display: flex;
    gap: 6px;
}
.tsat .sup-subtable {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
}
.tsat .sup-subtable thead th {
    text-align: left;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #6e6e73;
    font-weight: 600;
    border-bottom: .5px solid #e5e5ea;
    padding: 6px;
}
.tsat .sup-subtable tbody td {
    padding: 7px 6px;
    border-bottom: .5px solid #f2f2f7;
    vertical-align: middle;
}
.tsat .sup-subtable tbody tr:hover {
    background: #f8fbff;
}
.tsat .sup-empty {
    color: #94a3b8;
    font-style: italic;
    text-align: center;
    padding: 10px !important;
}

/* Combos de DevExpress dentro de la tarjeta (ciudad, estado): mismo alto que los inputs. */
.tsat .sup-dx { width: 100%; }
.tsat .sup-tipos-domicilio { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.tsat .sup-tipo-chk { margin: 0; font-size: 12.5px; }
.tsat .tsat-aviso { margin: 0 0 8px; font-size: 12.5px; }
.tsat .tsat-aviso--error { color: #b42318; }
.tsat .tsat-aviso--ok { color: #0f766e; }
.tsat .tsat-tipo { display: inline-block; font-size: 11.5px; padding: 1px 6px; margin: 1px 3px 1px 0;
    border-radius: 999px; background: #eef4fd; color: #0a4a91; white-space: nowrap; }
.tsat .tsat-tipo--fiscal { background: #fff7ed; color: #9a3412; }

@media (max-width: 640px) {
    .tsat .sup-grid3 { grid-template-columns: 1fr; }
    .tsat .sup-subtable { display: block; overflow-x: auto; }
}

/* Ayuda «?» y etiqueta con hueco para ella (de Suppliers.razor.css, sin cambios). */
.tsat .sup-flabel,
.tsat .sup-plabel {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: var(--pnl-label);
    font-weight: 600;
    color: #475569;
}
.tsat .sup-help {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    color: #0b4a91;
    background: #e3eefc;
    border: 1px solid #bcd6f7;
    cursor: help;
    user-select: none;
    transition: background .12s ease, color .12s ease, border-color .12s ease;
}
.tsat .sup-help:hover,
.tsat .sup-help:focus {
    background: var(--sup-blue);
    color: #fff;
    border-color: var(--sup-blue);
    outline: none;
}
.tsat .sup-help[data-tip]::after {
    content: attr(data-tip);
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-16px) translateY(-3px);
    width: max-content;
    max-width: 250px;
    text-align: left;
    text-transform: none;
    letter-spacing: normal;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.38;
    color: #fff;
    background: #0f2744;
    padding: 7px 10px;
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(8, 20, 40, .30);
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    transition: opacity .12s ease, transform .12s ease;
    z-index: 1075;
    pointer-events: none;
}
.tsat .sup-help[data-tip]::before {
    content: "";
    position: absolute;
    top: calc(100% + 2px);
    left: 5px;
    border: 6px solid transparent;
    border-bottom-color: #0f2744;
    opacity: 0;
    visibility: hidden;
    transition: opacity .12s ease;
    z-index: 1076;
    pointer-events: none;
}
.tsat .sup-help:hover::after,
.tsat .sup-help:focus::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-16px) translateY(0);
}
.tsat .sup-help:hover::before,
.tsat .sup-help:focus::before {
    opacity: 1;
    visibility: visible;
}
.tsat .sup-mov { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tsat .sup-mov__it {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 7px 2px; border-bottom: .5px solid #e2e8f0;
}
.tsat .sup-mov__it:last-child { border-bottom: 0; }
.tsat .sup-mov__lbl { font-size: 13px; color: #0f172a; }
.tsat .sup-mov__n   { font-size: 13px; font-weight: 700; color: #0f172a; font-variant-numeric: tabular-nums; }
.tsat .sup-mov__tot { margin-left: auto; font-size: 12px; font-weight: 700; color: #64748b; }
.tsat .sup-mov__vacio { font-size: 13px; color: #64748b; padding: 6px 2px; }
.tsat .sup-mov__pie   { font-size: 12px; color: #64748b; margin: 8px 0 0; }
.tsat .sup-mov__aviso { font-size: 12px; color: #b45309; margin: 8px 0 0; font-weight: 600; }
