:root {
    --primarioO: #00329e;
    --primarioC: #63befa;
}
html, body {height: 100%; overflow: hidden;background: rgb(231, 236, 239);color: black;}
.fotoChica {
    max-height: 100px; 
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}


.cardPrin, .cardSec {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #f0f0f0;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.cardSec-body {
    min-height: 10%;
    max-height: 75vh;
    overflow-y: auto;
    padding: 5px;
}
.cardPrin-header,
.cardPrin-footer,
.cardSec-header,
.cardSec-footer{
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0.7rem;
    align-items: center;
    gap:0.5rem;
}
.cardPrin-header {
    color: white;
    background: linear-gradient(to right, var(--primarioO), #4a5568);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.2);
    font-weight: bold;
    font-size: 16px;
}
.cardPrin-footer {
    background: linear-gradient(135deg, var(--primarioC), #1a202c);
    border-top: 1px solid rgba(0,0,0,0.2);
    font-size: 0.9rem;
}
.cardSec-header{
    color: white;
    background:linear-gradient( 135deg, black,var(--primarioC));
    border-bottom:1px solid rgba(0,0,0,0.2);
    box-shadow:inset 0 1px 0 rgba(255,255,255,0.2);
    font-weight:600;
    font-size:12px;    
}
.cardSec-footer{
    background:linear-gradient(0deg, var(--primarioC),#fff);
    border-top:1px solid #e5e7eb;
    font-size:0.9rem;
}
/* formularios */
.inpSolo,.etiBase,.inpBase,.etiLectura,.etiChico,.inpChico {
    border-width: 1px 1px 0 1px;
    border: 1px solid black;
    width: 100%;
    font-size: 16px;
    padding: 2px; 
}
.etiBase, .etiLectura, .etiChico {border-top-left-radius: 6px;border-top-right-radius: 6px;}
.inpBase, .inpChico {
    border: 1px solid var(--primarioC);
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    overflow: hidden;
}
.etiBase {background: linear-gradient(to right, var(--primarioC), white);color: black;}
.inpBase {background-color: white;color: black;}
.inpSolo {border-radius: 5px;}
.etiChico {background: linear-gradient(to right,  black, var(--primarioC));color: white;}
.etiLectura {background: linear-gradient(to right,  black, var(--primarioO));color: white;}
.inpChico { background-color: black; color: white }

.bot {
    position: relative;
    display: inline-block;
    margin: 0 2px;
    padding: 2px 8px;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    border-radius: .375rem;
    cursor: pointer;
    user-select: none;
    text-decoration: none;
    outline: none;
    border: none;
    background-color: transparent;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: 0 2px 4px rgba(0,0,0,.1), inset 0 1px 2px rgba(255,255,255,0.25);
    line-height: normal;
}
.bot::before,
.bot::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: inherit;
    pointer-events: none;
}
.bot::before {
    bottom: 0;
    height: 35%;
    background: linear-gradient(0deg, rgba(0,0,0,0.5), transparent);
}
.bot::after {
    top: 0;
    height: 50%;
    background: linear-gradient(180deg, rgb(255, 255, 255), rgba(255, 255, 255, 0.485) 40%, transparent);
}
.botChico{
    padding:1px 6px;
    font-size:0.8rem;
}
.bot:hover, .bot:focus-visible  { background: steelblue;}
.botNegro   { background: black; }
.botVerde   { background: green; }
.botNaranja { background: orange; }
.botMorado { background: purple; }
.botRojo    { background: red; }
.botAzul    { background: blue; }
.botVerdeC  { background: lightgreen; color: black}
.botGris { background: lightgray; color: black; }
.botAzulC   { background: lightskyblue; color: black}
.botBlanco {background: white; color: black}
.botAmarillo {background: yellow; color: black}

.tabBase {width: 100%;border-collapse: collapse;font-size: 16px;}
.tablaCont{max-height:70vh;overflow-y:auto;overflow-x:hidden;}
.tabBase th,
.tabBase td {
    padding: 4px;
    line-height: 1;
    border: 1px solid lightgray;
    text-align: left;
    font-size: 16px;
}
.tabBase th {
    background: linear-gradient(to bottom right, white, var(--primarioC));
    color: var(--Negro);
}
.tabBase thead th {position: sticky;top: 0;z-index: 10;}
.tabBase td {background: white;}
.tabBase tr:nth-child(even) td {background:lightcyan;}
.tabBase tr:hover td {background: yellow;cursor: pointer;}
@media (max-width: 767.98px) {
    .tabBase.ch td,
    .tabBase.ch th {font-size: 11px !important;padding: 2px 1px;}
    .d-none-mobile {display: none !important;}
}
@media (min-width: 768px) {
    .tabBase.ch td,
    .tabBase.ch th {font-size: 13px !important;padding: 6px 4px;}
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 49, 87, 0.4);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    overflow-y: auto; 
}
.modal-dialog {
    position: relative;
    width: 90%;
    max-width: 800px;
    margin-top: 40px; 
    z-index: 10000;
}
.modal-content{
    overflow-x:hidden;
}
.modal-content .row{
    margin-left:0;
    margin-right:0;
}


