.ck-editor__editable,
textarea {
    min-height: 150px;
}

.datatable {
    width: 100% !important;
}

table.dataTable tbody td.select-checkbox::before,
table.dataTable tbody td.select-checkbox::after,
table.dataTable tbody th.select-checkbox::before,
table.dataTable tbody th.select-checkbox::after {
    top: 50%;
}

.dataTables_length,
.dataTables_filter,
.dt-buttons {
    margin-bottom: 0.333em;
    margin-top: .2rem;
}

.dataTables_filter {
    margin-right: .2rem;
}

.dt-buttons .btn {
    margin-left: 0.333em;
    border-radius: 0;
}

.table.datatable {
    box-sizing: border-box;
    border-collapse: collapse;
}

table.dataTable thead th {
    border-bottom: 2px solid #c8ced3;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: 1px solid #c8ced3;
}

.select2 {
    max-width: 100%;
    width: 100% !important;
}

.select2-selection__rendered {
    padding-bottom: 5px !important;
}

.has-error .invalid-feedback {
    display: block !important;
}

.btn-info,
.badge-info {
    color: white;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
    background-image: none;
}

.sidebar .nav-item {
    cursor: pointer;
}

.btn-default {
    color: #23282c;
    background-color: #f0f3f5;
    border-color: #f0f3f5;
}

.btn-default.focus,
.btn-default:focus {
    box-shadow: 0 0 0 .2rem rgba(209, 213, 215, .5);
}

.btn-default:hover {
    color: #23282c;
    background-color: #d9e1e6;
    border-color: #d1dbe1;
}

.btn-group-xs > .btn,
.btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.searchable-title {
    font-weight: bold;
}
.searchable-fields {
    padding-left:5px;
}
.searchable-link {
    padding:0 5px 0 5px;
}
.searchable-link:hover   {
    cursor: pointer;
    background: #eaeaea;
}
.select2-results__option {
    padding-left: 0px;
    padding-right: 0px;
}

.form-group .required::after {
    content: " *";
    color: red;
}

.form-check.is-invalid ~ .invalid-feedback {
    display: block;
}

.c-sidebar-brand .c-sidebar-brand-full:hover {
    color: inherit;
}

.c-sidebar .c-sidebar-nav-dropdown-toggle:hover, .c-sidebar .c-sidebar-nav-link:hover {
    color: #fff;
    background: #7733ff !important;
}

.c-sidebar .c-active.c-sidebar-nav-dropdown-toggle, .c-sidebar .c-sidebar-nav-link.c-active {
    background: #7733ff59 !important;
}
.custom-select.form-control-sm {
    padding: 0.25rem 1.5rem;
}

.hidden{
    display: none;
}

.show{
    display: block;
}

.c-sidebar{
    background: #181d31 !important;
}

.font-18{
    font-size: 18px;
    font-weight: 700;
}

.svg-2{
    margin-left: -30px;
}

.perfil-img {
    width: 200px;
    height: auto;
    object-fit: cover;
}

.profile-image {
    width: 60px;           /* Ajusta el tamaño a tu gusto */
    height: 60px;
    border-radius: 50%;    /* Hace la imagen circular */
    object-fit: cover;     /* Recorta la imagen para que ocupe todo el espacio */
}

input.form-control {
    border-radius: 30px;
    box-shadow: 1px 1px 1px lightgray;
}

div.d-flex div.form-group{
    margin-right: 1rem;
    width: 33%;
}

.d-flex2{
    display: flex;
}

div.d-flex2 div.form-group{
    margin-right: 1rem;
    width: 50%;
}


.custom-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.custom-radio-group input {
    display: none;
}

.custom-radio-group label {
    padding: 5px 10px;
    border: 2px solid #472292;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    color: #7733ff;
    background-color: white;
    text-align: center;
    min-width: 100px;
}

.custom-radio-group input:checked + label {
    background: #7733ff;
    color: white;
    border-color: #472292;
}

.custom-radio-group label:hover {
    background: #7733ff0a;
}

.img-flag {
    width: 20px;
    height: auto; /* Mantiene la proporción */
    margin-right: 5px; /* Espacio entre la bandera y el texto */
    vertical-align: middle;
}

/* Estilo del switch */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

/* Ocultar el checkbox original */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* Diseño del slider */
.slider {
    position: absolute;
    cursor: not-allowed; /* Indica que no se puede cambiar */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

/* Circulo del slider */
.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

/* Si el checkbox está activado */
input:checked + .slider {
    background-color: #7733ff; /* Morado */
}

/* Mover el círculo cuando está activado */
input:checked + .slider:before {
    transform: translateX(24px);
}

#approved_switch div.form-check{
    display: flex;
    flex-direction: column;
}


div.card-body .select2-container--default .select2-selection--single {
    height: calc(1.5em + .75rem + 2px);
    border: 1px solid #aaa;
    border-radius: 30px;
    padding-left: 5px;
    padding-top: 2px;
}

.bg-purple{
    background: #7733ff;
    color:white;
}

.bg-purple:hover{
    background: #472292;
    color:white !important;
}

#dv-funciones span.select2-selection.select2-selection--multiple{
    width: 98% !important;
}
