.mt-1 {
    margin-top: 1%;
}

.ml-1 {
    margin-left: 1%;
}

.mr-1 {
    margin-right: 1%;
}

body {
    background-color: #f9fbfc !important;
}

/* register*/
.lbl-switch {
    display: inline-block;
    width: 52px;
    height: 27px;
    background: #aaa;
    border-radius: 100px;
    position: relative;
    cursor: pointer;
}

#btn-switch:checked~.lbl-switch {
    background: #61a0ff;

}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: #fff;
    background-color: #2D9BF9;
    border-radius: 25px 25px 0 0;
}

.bg-grey {
    vertical-align: middle;
    background-color: #F5F6FA;
    padding-top: 18px;
    padding-bottom: 18px;
    padding-left: 18px;
}

#preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transform: scaleX(-1);
    /* -1 derecha*/
}

.lbl-switch:after {
    position: absolute;
    content: '';
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 100px;
    top: 4px;
    left: 5px;
    transition: 0.3s;
}

.t-option {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tooltips .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #2D9BF9;
    color: #fff;
    text-align: center;
    border-radius: 20px;
    padding: 5px 0;

    /* Posición del tooltip */
    position: absolute;
    z-index: 1;
    bottom: 100%;
    /* Posiciona el tooltip arriba del elemento padre */
    left: 50%;
    margin-bottom: 5px;
    /* Espacio entre el tooltip y el elemento */
    transform: translateX(-50%);
    /* Centra horizontalmente */

}

table.dataTable tr.selected {
    color: #606060;
}

/* Triángulo inferior (cola del globo) */
.tooltips .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #2D9BF9 transparent transparent transparent;
}

.tooltips:hover .tooltiptext {
    visibility: visible;
}

.circular-img {
    width: 150px;
    /* elige un valor fijo o usa 'height' */
    height: 150px;
    /* igual al width para forzar cuadrado */
    object-fit: cover;
    /* recorta la imagen para cubrir el contenedor */
    border-radius: 50%;
    /* convierte el cuadrado en círculo */
    overflow: hidden;
    /* oculta cualquier exceso */
}

.bg-lightblue {
    background-color: #EAF5FF !important; 
    margin: 0 0 24 24;
}

.photo-content {
    position: relative;
}

.photo-content .cover-photo {
    background-color: white;
    background-size: cover;
    background-position: center;
    min-height: 85px;
    width: 100%;
}

.photo-content .profile-photo {
    bottom: -80px;
    left: 33%;
    max-width: 150px;
    position: absolute;
}

.profile-info {
    padding: 30px 20px;
    background: #F7FAFC;
}

.profile-info h4 {
    color: #464a53 !important;
}

.profile-info h4.text-primary {
    color: #2763ff !important;
}

.profile-info p {
    color: #828690;
}

.profile-info .prf-col {
    min-width: 250px;
    padding: 10px 50px 0;
}

#btn-switch:checked~.lbl-switch:after {
    left: 28px;

}

#btn-switch {
    display: none;
}

.text-primary {
    color: #2D9BF9 !important;

}

a.text-primary:hover,
a.text-primary:focus {
    color: #1085eb !important;
}

.text-p {
    color: #2D9BF9 !important;
}


.btn-primary {
    color: #fff;
    background-color: #2D9BF9;
    /* border-color: #2763ff;*/
    border-radius: 25px;
}

.btn-primary:hover {
    color: #fff;
    background-color: #4425cb;
    /*border-color: #4123c0; */
}

.btn-primary:focus,
.btn-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(114, 88, 224, 0.5);
}

.btn-primary.disabled,
.btn-primary:disabled {
    color: #fff;
    background-color: #2763ff;
    /* border-color: #2763ff; */
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #4123c0;
    /* border-color: #3d21b5;*/
}

.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.show>.btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(114, 88, 224, 0.5);
}

.btn-outline-primary {
    color: #2D9BF9;
    border-color: #2D9BF9;
    border-radius: 25px;

}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #2D9BF9;
    border-color: #2D9BF9;
}

.btn-outline-primary:focus,
.btn-outline-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(89, 59, 219, 0.5);
}

.btn-outline-primary.disabled,
.btn-outline-primary:disabled {
    color: #2D9BF9;
    background-color: transparent;
}

.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.show>.btn-outline-primary.dropdown-toggle {
    color: #fff;
    background-color: #2D9BF9;
    border-color: #2D9BF9;
}

.btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.show>.btn-outline-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(89, 59, 219, 0.5);
}

.btn-warning {
    color: #fff;
    background-color: #FFBC82;
    border-color: #FFBC82;
    border-radius: 25px;
}

.btn-warning:hover {
    color: #fff;
    background-color: #ef9800;
    border-color: #e29000;
}

.text-dark {
    color: #606060 !important;
}

a.text-dark:hover,
a.text-dark:focus {
    color: #1f1f1f !important;
}

.accordion-bordered .accordion__body {
    border: 1px solid white;
    border-top: none;
    border-radius: 8px;
}

.accordion__header {
    padding: 0.9375rem;
    border: 1px solid #BDC7D3;
    cursor: pointer;
    position: relative;
    color: #606060;
    font-weight: 500;
    background-color: #BDC7D3;
    border-radius: 8px;

}

.accordion__body--text {
    padding: 0.9375rem;
    background-color: white;
    /* font-weight: bold; */
}

[data-theme-version="dark"] .accordion__header {
    color: #fff;
    border-color: #424D63;
}

.accordion__header--indicator {
    font-family: 'themify';
    position: absolute;
    right: 1.5625rem;
    top: 50%;
    transform: translateY(-50%);
}

.accordion__header--indicator.indicator_bordered {
    display: inline-block;
    width: 25px;
    text-align: center;
    height: 25px;
    border: 1px solid #eaeaea;
    border-radius: 50%;
    line-height: 25px;
}

.accordion__header:not(.collapsed) .accordion__header--indicator::before {
    content: "\e622";
}

.accordion__header:not(.collapsed) .accordion__header--indicator.style_two::before {
    content: "\e648";
}

.accordion__header.collapsed .accordion__header--indicator::before {
    content: "\e61a";
}

.accordion__header.collapsed .accordion__header--indicator.style_two::before {
    content: "\e64b";
}


.accordion__header2 {
    padding: 0.9375rem;
    border: 1px solid #d3d3d3;
    cursor: pointer;
    position: relative;
    color: #606060;
    font-weight: 500;
    background-color: #d3d3d3;
}

.accordion__body2--text {
    padding: 0.9375rem;
    background-color: #ffffff;
    /* font-weight: bold; */
}

[data-theme-version="dark"] .accordion__header2 {
    color: #fff;
    border-color: transparent;
}

.accordion__header2--indicator {
    font-family: 'themify';
    position: absolute;
    right: 1.5625rem;
    top: 50%;
    transform: translateY(-50%);
}

.accordion__header2--indicator.indicator_bordered {
    display: inline-block;
    width: 25px;
    text-align: center;
    height: 25px;
    border: 1px solid transparent;
    border-radius: 50%;
    line-height: 25px;
}

.accordion__header2:not(.collapsed) .accordion__header2--indicator::before {
    content: "\e622";
}

.accordion__header2:not(.collapsed) .accordion__header2--indicator.style_two::before {
    content: "\e648";
}

.accordion__header2.collapsed .accordion__header2--indicator::before {
    content: "\e61a";
}

.accordion__header2.collapsed .accordion__header2--indicator.style_two::before {
    content: "\e64b";
}

.btn-warning:focus,
.btn-warning.focus {
    box-shadow: 0 0 0 0.2rem rgba(222, 150, 25, 0.5);
}

.btn-warning.disabled,
.btn-warning:disabled {
    color: #212529;
    background-color: #FFBC82;
    border-color: #FFBC82;
}

.btn-warning:not(:disabled):not(.disabled):active,
.btn-warning:not(:disabled):not(.disabled).active,
.show>.btn-warning.dropdown-toggle {
    color: #212529;
    background-color: #e29000;
    border-color: #d58700;
}

.btn-warning:not(:disabled):not(.disabled):active:focus,
.btn-warning:not(:disabled):not(.disabled).active:focus,
.show>.btn-warning.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(222, 150, 25, 0.5);
}

.btn-dark {
    color: #fff;
    background-color: #B0B0B0;
    border-color: #B0B0B0;
    border-radius: 25px;
}

.btn-dark:hover {
    color: #fff;
    background-color: #323232;
    border-color: #2c2c2c;
}

.btn-dark:focus,
.btn-dark.focus {
    box-shadow: 0 0 0 0.2rem rgba(97, 97, 97, 0.5);
}

.btn-dark.disabled,
.btn-dark:disabled {
    color: #fff;
    background-color: #B0B0B0;
    border-color: #B0B0B0;
}

.btn-dark:not(:disabled):not(.disabled):active,
.btn-dark:not(:disabled):not(.disabled).active,
.show>.btn-dark.dropdown-toggle {
    color: #fff;
    background-color: #2c2c2c;
    border-color: #252525;
}

.btn-dark:not(:disabled):not(.disabled):active:focus,
.btn-dark:not(:disabled):not(.disabled).active:focus,
.show>.btn-dark.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(97, 97, 97, 0.5);
}

.btn-info {
    color: #fff;
    background-color: #4DC786;
    border-color: #4DC786;
    border-radius: 20px;
}

.btn-info:hover {
    color: #fff;
    background-color: #2fdeb7;
    border-color: #24dcb3;
}

.btn-info:focus,
.btn-info.focus {
    box-shadow: 0 0 0 0.2rem rgba(73, 199, 171, 0.5);
}

.btn-info.disabled,
.btn-info:disabled {
    color: #fff;
    background-color: #4DC786;
    border-color: #4DC786;
}

.btn-info:not(:disabled):not(.disabled):active,
.btn-info:not(:disabled):not(.disabled).active,
.show>.btn-info.dropdown-toggle {
    color: #fff;
    background-color: #24dcb3;
    border-color: #22d2aa;
}

.btn-info:not(:disabled):not(.disabled):active:focus,
.btn-info:not(:disabled):not(.disabled).active:focus,
.show>.btn-info.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(73, 199, 171, 0.5);
}

.btn-danger {
    color: #fff;
    background-color: #FF1616;
    border-color: #FF1616;
    border-radius: 25px;
}

.btn-danger:hover {
    color: #fff;
    background-color: #ef0000;
    border-color: #e20000;
}

.btn-danger:focus,
.btn-danger.focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 57, 57, 0.5);
}

.btn-danger.disabled,
.btn-danger:disabled {
    color: #fff;
    background-color: #FF1616;
    border-color: #FF1616;
}

.btn-danger:not(:disabled):not(.disabled):active,
.btn-danger:not(:disabled):not(.disabled).active,
.show>.btn-danger.dropdown-toggle {
    color: #fff;
    background-color: #e20000;
    border-color: #d50000;
}

.btn-danger:not(:disabled):not(.disabled):active:focus,
.btn-danger:not(:disabled):not(.disabled).active:focus,
.show>.btn-danger.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 57, 57, 0.5);
}

thead tr {
    background-color: #F5F6FA;
}

thead th {
    color: #606060;
}

.bottom-controls {
    background-color: #F5F6FA !important;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: #16181b;
    text-decoration: none;
    background-color: #f8f9fa;
}

.dropdown-item.active,
.dropdown-item:active {
    color: #fff !important;
    text-decoration: none;
    background-color: #2D9BF9;
}

.dropdown-item.disabled,
.dropdown-item:disabled {
    color: #6c757d;
    pointer-events: none;
    background-color: transparent;
}

.btn-outline-dark {
    color: #454545;
    border-color: #454545;
    border-radius: 25px;

}

.btn-outline-dark:hover {
    color: #fff;
    background-color: #454545;
    border-color: #454545;
}

.btn-outline-dark:focus,
.btn-outline-dark.focus {
    box-shadow: 0 0 0 0.2rem rgba(69, 69, 69, 0.5);
}

.btn-outline-dark.disabled,
.btn-outline-dark:disabled {
    color: #454545;
    background-color: transparent;
}

.btn-outline-dark:not(:disabled):not(.disabled):active,
.btn-outline-dark:not(:disabled):not(.disabled).active,
.show>.btn-outline-dark.dropdown-toggle {
    color: #fff;
    background-color: #454545;
    border-color: #454545;
}

.btn-outline-dark:not(:disabled):not(.disabled):active:focus,
.btn-outline-dark:not(:disabled):not(.disabled).active:focus,
.show>.btn-outline-dark.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(69, 69, 69, 0.5);
}

[data-theme-version="dark"] {

    body {
        background-color: #121212 !important;
        color: #e0e0e0;
    }

    .bg-grey {
        background-color: #1e1e1e;
    }

    .bg-lightblue {
        background-color: #1a2a38;
    }

    #preloader {
        background: #121212;
    }

    .photo-content .cover-photo {
        background-color: #1a1a1a;
    }

    .profile-info {
        background: #1e1e1e;
    }

    .profile-info h4 {
        color: #ffffff !important;
    }

    .profile-info h4.text-primary {
        color: #61a0ff !important;
    }

    .profile-info p {
        color: #a0a0a0;
    }

    .text-primary {
        color: #61a0ff !important;
    }

    a.text-primary:hover,
    a.text-primary:focus {
        color: #82b2ff !important;
    }

    .text-p {
        color: #61a0ff !important;
    }

    .text-dark {
        color: #d0d0d0 !important;
    }

    a.text-dark:hover,
    a.text-dark:focus {
        color: #f0f0f0 !important;
    }

    thead tr,
    .bottom-controls {
        background-color: #1e1e1e !important;
    }

    thead th {
        color: #cccccc;
    }

    .dropdown-item {
        color: #e0e0e0;
        background-color: #1e1e1e;
    }

    .dropdown-item:hover,
    .dropdown-item:focus {
        background-color: #2c2c2c;
    }

    .dropdown-item.active,
    .dropdown-item:active {
        background-color: #61a0ff;
    }

    .accordion__body--text,
    .accordion__body2--text {
        background-color: #1c1c1c;
    }

    .accordion__header,
    .accordion__header2 {
        background-color: #2c2c2c;
        color: #ffffff;
        border-color: #444;
    }

    /* Switch & toggle adjustments */
    .lbl-switch {
        background: #444;
    }

    #btn-switch:checked~.lbl-switch {
        background: #61a0ff;
    }

    .lbl-switch:after {
        background: #121212;
    }

    /* Button adjustments */
    .btn-primary {
        background-color: #1e88e5;
    }

    .btn-primary:hover {
        background-color: #1565c0;
    }

    .btn-primary:focus,
    .btn-primary.focus {
        box-shadow: 0 0 0 0.2rem rgba(97, 137, 255, 0.5);
    }

    .btn-outline-primary {
        color: #61a0ff;
        border-color: #61a0ff;
    }

    .btn-outline-primary:hover {
        background-color: #61a0ff;
        color: #fff;
    }

    .btn-dark {
        background-color: #333;
        border-color: #333;
    }

    .btn-dark:hover {
        background-color: #555;
        border-color: #555;
    }

    .btn-info {
        background-color: #00c853;
        border-color: #00c853;
    }

    .btn-info:hover {
        background-color: #00b140;
        border-color: #00a636;
    }

    .btn-warning {
        background-color: #ffa000;
        border-color: #ffa000;
    }

    .btn-warning:hover {
        background-color: #ff8f00;
        border-color: #ff8f00;
    }

    .btn-danger {
        background-color: #e53935;
        border-color: #e53935;
    }

    .btn-danger:hover {
        background-color: #c62828;
        border-color: #c62828;
    }

    .btn-outline-dark {
        color: #cccccc;
        border-color: #cccccc;
    }

    .btn-outline-dark:hover {
        background-color: #cccccc;
        color: #121212;
    }

    /* Tooltip */
    .tooltips .tooltiptext {
        background-color: #61a0ff;
        color: #fff;
    }

    .tooltips .tooltiptext::after {
        border-color: #61a0ff transparent transparent transparent;
    }

}