﻿
.table {
    --bs-table-bg: none;
}

.card {
    padding: 0;
}

.custom-language-select {
    border-radius: 0 !important;
    padding: 2px 6px !important;
    height: auto !important;
    font-size: 14px;
}

.form-select {
    background-position: right .3rem center;
    background-size: 10px;
    border-radius: .25rem !important;
    border: 1px solid #ced4da;
    color: rgb(73, 80, 87);
}
    .form-select:disabled, .form-select[readonly] {
        opacity: 1;
    }
    .form-select:focus {
        outline: 0;
        border-color: #f16363a8;
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 0, 0, 0.6);
    }

.custom-language-select {
    padding: 0 !important;
    border-radius: 0 !important;
    border: 1px solid #ccc;
    background-image: none;
}
    .custom-language-select:disabled {
        background-color: #e9ecef !important; /* gris BS4 */
        color: #6c757d !important; /* texto gris BS4 */
        border-color: #ced4da !important;
        opacity: 0.65 !important;
        cursor: not-allowed;
    }

.close-old {
    background: none;
    border: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff ;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    line-height: 1;
}
    .close-old:hover {
        opacity: 100;
        color: #ff0000 !important;
    }

.modal-header {
    display: flex;
    align-items: center;
}

.modal-title {
    margin-bottom: 0;
    line-height: 1;
}

.navbar-toggler {
    color: transparent !important;
    border-color: transparent !important;
    box-shadow: none;
}

/* TEXTO DE LA TABLA */
table.dataTable tbody td {
    border-top: 1px solid #dee2e6 !important;
    color: #495057 !important; /* gris BS4 */
}

/* CABECERAS */
table.dataTable thead th {
    color: #495057 !important;
}

/* FILAS */
table.dataTable tbody tr {
    background-color: #f8f9fa;
}

/* BORDES DE CELDAS */
table.dataTable td, table.dataTable th {
    border-color: #ddd !important; /* gris claro BS4 */
}

/* ELIMINAR la línea gris debajo */
table.dataTable tbody tr:first-child td {
    border-top: 0 !important;
}

#SettlementSheet_IPF:disabled {
    color: #495057;
    /*background-color: #fff;*/
    border: 1px solid #ced4da;
}

.toolcard-header {
    color: #495057;
}

.table {
    color: #495057;
    font-size: 13px;
}

/* Quitar línea gris justo antes del footer */
table.dataTable tbody tr:last-child td {
    border-bottom: 0 !important;
}

/* Evitar línea superior del último row */
table.dataTable tbody tr:last-child td {
    border-top: 0 !important;
}

/* eliminar borde inferior extraño en la primera columna */
.dataTables_scrollBody {
    border-bottom: 0 !important;
}

table.dataTable tfoot th, table.dataTable tfoot td {
   /* border-top: 1px solid #000 !important;*/
}

.table tfoot tr {
    border-top: 1px solid #000 !important;
}


table.dataTable tbody tr.selected td {
    color: white !important;
}

/* Reset radio BS5 */
.form-check-input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 1em;
    height: 1em;
    border: 1px solid #495057;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
}
    /* estado checked estilo BS4 */
    .form-check-input[type="radio"]:checked::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0.6em;
        height: 0.6em;
        background-color: #095bd4;
        border-radius: 50%;
        transform: translate(-50%, -50%);
    }

.form-check-input:checked {
    background-color: transparent;
    width: 1em;
    height: 1em;
    /*border-color: #0d6efd;*/
    border: 1px solid #095bd4;
}

@media (min-width: 576px) {
    #login {
        padding: 4rem 2rem !important;
    }
}