/* 
    Hicieron un cagadero haciendo estilos directos en el HTML. No me iba a quebrar
    la cabeza viendo qué estilo se usaba dónde. Si hay estilos repetidos ya me disculpo.
    Arriba las chivas siuuuu
*/

.btn-anam-primary {
    color: #ffffff;
    background: #235b4e;
    border-color: #235b4e;
}
.btn-anam-primary:hover{
    color: #ffffff;
    background: #10312b;
    border-color: #10312b;
}
.btn-anam-secondary {
    color: #ffffff;
    background: #235B4E;
    border-color: #235B4E;
}
.btn-anam-secondary:hover {
    color: #ffffff;
    background: #1c483e;
    border-color: #1c483e;
}
.anam-primary-color {
    color: #691C32
}
.anam-primary-light-color {
    color: #235B4E;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 18px;
}
.btn-gray{
    background: #98989A;
}
.btn-gray:hover{
    background: #626262
}
th.text-center{
    vertical-align: middle;
}
/* Estilo base */
.accion-btn {
    border: 2px solid #235b4e !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-color: transparent;
    cursor: pointer;
}

/* Estilo al pasar el ratón sobre el botón (hover) */
.accion-btn:hover {
    background-color: #235b4e;

}

/* Estilo cuando el botón está seleccionado (por graficas, si es un botón de selección) */
.accion-btn:active{
    background-color: #10312b !important;
}


/* Estilo cuando el botón está desactivado */
.accion-btn:disabled {
    border: 2px solid #dadada !important;
    background-color: #f3f4f6;
    opacity: 0.8; /* Puedes ajustar la opacidad según tus preferencias */
    cursor: not-allowed;
}

/* Estilo para el icono dentro del botón */
.accion-btn i {
    color: #235b4e; /* Color predeterminado del icono */
}

.accion-btn:hover .accion-icon:hover {
    color: #BC955C; /* Color dorado para el icono al hacer hover */
}

.accion-btn:disabled .accion-icon {
    color: #dadada; /* Color dorado para el icono al hacer hover */
}

/* Custom table */
.table-green-custom {
    border-collapse: collapse;
    border-spacing: 0 0.5rem;
}

.table-green-custom thead {
    background: #9F2241;
    font-size: 14px !important;
    font-weight: bold !important;
    text-align: center;
    color: white !important;
}

.table-green-custom thead tr {
    vertical-align: middle;
    text-align: center;
    text-transform: uppercase;
}

.table-green-custom thead tr th {
    padding: 1rem 0;
}

.table-green-custom thead tr th b {
    font-weight: bold;
}

.table-green-custom thead tr th:first-child {
    border-radius: 15px 0px 0px 0px;
}

.table-green-custom thead tr th:last-child {
    border-radius: 0px 15px 0px 0px;
}

.table-green-custom tbody tr {
    vertical-align: middle;
    text-align: center;
    text-transform: uppercase;
}

.table-green-custom tbody tr:last-child td:first-child {
    border-radius: 0 0 0 20px;
}

.table-green-custom tbody tr:last-child td:last-child {
    border-radius: 0 0 20px 0;
}
.was-validated .form-control.is-invalid {
    border-color: #e74a3b !important;
    background-image: none !important;
}
form.was-validated .formset-template .form-control, form.was-validated .formset-template .form-select {
    border-color: inherit;
    background-image: none !important;
}
label b {
    font-weight: normal;
    color: black; 
}
.titulo_encabezado{
    background-color: #235b4e; /* fondo gris claro */
    color: white;
    padding: 7px 20px;
    border-radius: 5px 5px 0px 0px;
}

.btn-anam-primary {
    color: #ffffff;
    background: #235b4e;
    border-color: #235b4e;
}
.btn-anam-primary:hover{
    color: #ffffff;
    background: #10312b;
    border-color: #10312b;
}
.btn-anam-secondary {
    color: #ffffff;
    background: #235B4E;
    border-color: #235B4E;
}
.btn-anam-secondary:hover {
    color: #ffffff;
    background: #1c483e;
    border-color: #1c483e;
}
.anam-primary-color {
    color: #691C32
}
.anam-primary-light-color {
    color: #235B4E;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 18px;
}
.btn-gray{
    background: #98989A;
}
.btn-gray:hover{
    background: #626262
}
.card {
    border-radius: 8px;
}
.nav-tabs{
    border-bottom: 3px solid white;
}
.nav-tabs .nav-link {
    color: black;
    border: none;

    border-radius: 0;
    background: white;
    padding-top: 5px;
    padding-bottom: 5px;
    display: flex;
    align-items: center;
    text-align: center;
}
.nav-tabs .nav-link:hover {
    color: black;
    border: none;
    border-bottom: 3px solid #9F2241;
    background: #F3F4F6;
    transition: all 0.3s ease-out;
}
.nav-tabs .nav-link.active {
    color: black;
    border: none;
    border-bottom: 3px solid #9F2241;
    background: #F3F4F6;
    transition: all 0.3s ease-out;
}
.h-3px {
    height: 2px !important;
}
.w-80 {
    width: 80% !important;
}
.color-verde {
    color:#235B4E;
}

/* Custom table */
.table-green-custom {
    border-collapse: collapse;
    border-spacing: 0 0.5rem;
}

.table-green-custom thead {
    background: #9F2241;
    font-size: 14px !important;
    font-weight: bold !important;
    text-align: center;
    color: white !important;
}

.table-green-custom thead tr {
    vertical-align: middle;
    text-align: center;
    text-transform: uppercase;
}

.table-green-custom thead tr th {
    padding: 1rem 0;
}

.table-green-custom thead tr th b {
    font-weight: bold;
}

.table-green-custom thead tr th:first-child {
    border-radius: 15px 0px 0px 0px;
}

.table-green-custom thead tr th:last-child {
    border-radius: 0px 15px 0px 0px;
}

.table-green-custom tbody tr {
    vertical-align: middle;
    text-align: center;
    text-transform: uppercase;
}

.table-green-custom tbody tr:last-child td:first-child {
    border-radius: 0 0 0 20px;
}

.table-green-custom tbody tr:last-child td:last-child {
    border-radius: 0 0 20px 0;
}
.was-validated .form-control.is-invalid {
    border-color: #e74a3b !important;
    background-image: none !important;
}
form.was-validated .formset-template .form-control, form.was-validated .formset-template .form-select {
    border-color: inherit;
    background-image: none !important;
}
label b {
    font-weight: normal;
    color: black;
}

.volverBtn{
    color: white;
    background: #99999B;
    padding: 1px 20px 0px 15px;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'SourceSansPro-Semibold', sans-serif;
}
.tituloSecundario{
    color: #99999B; 
    font-size:32px; 
    font-family: "Inter", sans-serif;
}
.archivo {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #ededee;
    border-radius: 10px;
    padding: 10px;
    width: 80%;
    max-width: 110px;
    aspect-ratio: 1 / 1;
}

.archivo p {
    margin: 5px 0 0 0;
    font-size: 0.7rem;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.archivo .opc {
    position: absolute;
    top: 5px;
    right: 5px;
}

.archivo .threedots {
    width: 18px;
    height: 18px;
}

.archivo img {
    max-width: 40%;
    height: auto;
}

.carousel-control-prev,
.carousel-control-next {
    top: 50%;
    transform: translateY(-50%);
}
.titulo_encabezado{
    background-color: #235b4e; /* fondo gris claro */
    color: white;
    padding: 7px 20px;
    border-radius: 5px 5px 0px 0px;
}