.header-login a.login {
    color: #475569;
    position: relative;
    background-color: white;
}

main {
    width: 100%;
    overflow-x: hidden;
    /* Evita el scroll lateral */
}

header.header-login {
    box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, .1);
}

.header-login a.contact,
.more-info,
.login-employee .col-12.col-md-6.login_form form button {
    position: relative;
    color: white;
    background: linear-gradient(to right, #00BBB4, #38D430);
    padding: 9px 30px !important;
}

.header-login a.login::before,
.header-login a.contact::before {
    content: '';
    position: absolute;
    top: -7%;
    left: -3%;
    z-index: -1;
    border-radius: 15px;
    /* Coincide con los bordes del botón */
    width: 106%;
    height: 116%;
    background: linear-gradient(to right, #00BBB4, #38D430);
}

.header-login a.button,
.more-info,
.login-employee .col-12.col-md-6.login_form form button {
    padding: 9px 42px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
}

.more-info {
    padding: 14px 55px !important;
}

.py-custom-1 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.py-custom-2 {
    padding-top: 7rem;
    padding-bottom: 7rem;
}

.py-custom-3 {
    padding-top: 9rem;
    padding-bottom: 9rem;
}

.py-custom-4 {
    padding-top: 12rem;
    padding-bottom: 12rem;
}

.py-custom-home {
    padding-top: 12rem;
    padding-bottom: 5rem;
}

.py-custom-5 {
    padding-top: 15rem;
    padding-bottom: 15rem;
}

.w-custom {
    max-width: 1550px;
}

.w-custom-1 {
    max-width: 1375px;
}

.w-custom-2 {
    max-width: 1200px;
}

.w-custom-3 {
    max-width: 1050px;
}

.w-custom-4 {
    max-width: 950px;
}

.w-custom-5 {
    max-width: 825px;
}

.mb-custom-1 {
    margin-bottom: 2rem;
}

.mb-custom-2 {
    margin-bottom: 4rem;
}

.mb-custom-3 {
    margin-bottom: 6rem;
}

.mb-custom-4 {
    margin-bottom: 8rem;
}

.mb-custom-5 {
    margin-bottom: 10rem;
}

.background-img-1 {
    position: relative;
}

.background-img-1 .gestion h2 {
    font-size: 32px;
    color: #00BBB4;
}

.background-img-1 .gestion2 .gestion-r-title {
    font-size: 32px;
    color: #475569;
    line-height: 1.2;
}

.background-img-1 .gestion2 .gestion-r-subtitle {
    font-size: 20px;
    color: #475569;
}

.background-img-1::before {
    content: url("/images/banner3.png");
    width: 100%;
    height: 100%;
    position: absolute;
    top: calc(50% - 245px);
    left: 0%;
}

.servicios .tag-servicios,
.plataforma .tag-plataforma {
    color: #00BBB4;
    background-color: rgba(0, 187, 180, 0.1);
    padding: 9px 36px;
    border-radius: 5px;
    font-size: 15px;
}

.servicios .title-servicios,
.plataforma .title-plataforma {
    font-size: 32px;
    font-weight: bold;
    color: #333333;
    line-height: 1.2;
}

.plataforma .subtitle-plataforma {
    font-size: 18px;
    color: #475569;
}

.servicios-columns span.servicios-column-title {
    font-size: 18px;
    font-weight: 500;
    color: #333333;
    min-height: 80px;
}

.servicios-columns .servicios-column-text {
    font-size: 13px;
    color: #475569;
}

.background-color-1 {
    position: relative;
}

.background-color-1::before {
    background-color: #F1F5F9;
    content: "";
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: calc(100% - 200px);
    z-index: -1;
}

main.platform .background-color-1::before {
    height: 100%;
}

.background-color-2 {
    background-color: #F1F5F9;
}

.plataforma-column span.plataforma-column-title {
    font-size: 17px;
    font-weight: bold;
    line-height: 1.2;
    color: #333333;
}

.plataforma-column span.plataforma-column-text {
    font-size: 15px;
    line-height: 1.2;
    color: #475569;
}

.beneficios .tag-beneficios {
    color: #475469;
    background-color: #F1F5F9;
    border: 1px solid #94A3B8;
    padding: 8px 61px;
    border-radius: 5px;
    font-size: 15px;
}

.beneficios .title-beneficios {
    font-size: 32px;
    font-weight: bold;
    color: #333333;
}

.beneficios .subtitle-beneficios {
    font-size: 18px;
    color: #475569;
}

.beneficios .block-title-beneficios {
    font-size: 22px;
    font-weight: bold;
    color: #333333;
}

.beneficios .block-text-beneficios {
    font-size: 18px;
    color: #333333;
}

.contacto .block-ubicacion-title {
    font-size: 18px;
    color: #333333;
    font-weight: 500;
}

.contacto .block-ubicacion-subtitle {
    font-size: 15px;
    color: #475569;
}

.contacto .block-contact-title {
    font-size: 60px;
    color: #333333;
}

.contacto .block-contact-subtitle,
.pre-footer .block-contact-subtitle {
    font-size: 15px;
    color: #475569;
}

.contacto .button.more-info {
    padding: 14px 53px 14px 18px !important;
}

footer.footer {
    border-top: 2px solid #CBD5E1;
}

.pre-footer ul li a,
footer.footer .copy {
    font-size: 12px;
    color: #475569;
}

.slider-home {
    position: relative;
    width: 100%;
    margin-top: -150px;
}

.block-mobile-banner2 {
    position: relative;
}

.block-mobile-banner2::before {
    content: url("/images/banner2-mobile.png");
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

#contact-form .input-group,
#contact-form .textarea {
    position: relative;
}

#contact-form .input-group input,
#contact-form .textarea textarea {
    background-color: #F1F5F9;
    border: unset;
    padding-top: 15px;
    padding-bottom: 15px;
    border-radius: 15px;
}

#contact-form .form-label,
#contact-form .textarea .form-label {
    font-weight: 500;
    color: #333333;
    font-size: 15px;
}

#contact-form .input-group::before {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
}

#contact-form .input-group.input-user::before {
    content: url("/images/icon-user.png");
}

#contact-form .input-group.input-email::before {
    content: url("/images/icon-email.png");
}

#contact-form .input-group.input-phone::before {
    content: url("/images/icon-mobile.png");
}

#contact-form .input-group.input-farm::before {
    content: url("/images/icon-farmacy.png");
}

#contact-form .input-group input {
    padding-left: 45px;
}

#contact-form .input-group input:focus {
    z-index: 0 !important;
}

#contact-form .textarea #char-count {
    position: absolute;
    right: 30px;
    bottom: 10px;
}

#contact-form .form-check-label {
    font-size: 12px;
    color: #333333;
}

#contact-form .form-check-label a {
    color: #38D430;
}

#contact-form .more-info {
    padding: 14px 20px 14px 18px !important;
}

main.contact .block-contact-title-page {
    font-size: 48px;
    color: #333333;
}

main.contact .block-contact-subtitle-page {
    font-size: 15px;
    color: #475569;
}

.pharmacy .banner-pharmacy span.text-banner-pharmacy {
    font-size: 32px;
    color: #475569;
}

.pharmacy .banner-pharmacy {
    position: relative;
}

.pharmacy .banner-pharmacy::before {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: -1;
}

.pharmacy .banner-pharmacy.mediterranea::before {
    content: url("/images/mediterranea-banner-1.png");
}

.pharmacy .banner-pharmacy.ramon-cajal::before {
    content: url("/images/cajal-banner-1.png");
}

.pharmacy .banner-pharmacy.romanica::before {
    content: url("/images/romanica-banner-1.png");
}

.pharmacy .banner-pharmacy.plaça-roja::before {
    content: url("/images/roja-banner-1.png");
}

.pharmacy .block-info-pharmacy {
    position: relative;
    min-height: 338px;
    background: linear-gradient(45deg, #00BBB4, #38D430 125%);
    padding: 20px;
    border-radius: 35px;
}

.pharmacy .block-info-pharmacy .last-info {
    position: absolute;
    bottom: 20px;
}

.pharmacy .block-info-pharmacy .block-horari-pharmacy-text {
    font-size: 17px;
    color: white;
    font-weight: 500;
}

.pharmacy .block-info-pharmacy .block-horari-pharmacy-subtext {
    font-size: 17px;
    color: white;
}

.login-employee .col-12.col-md-6.login_form {
    padding: 40px;
}

.login-employee .col-12.col-md-6.login_form input {
    width: 100%;
    background-color: #F1F5F9;
    border: unset;
    height: 56px;
    border-radius: 15px;
    position: relative;
    padding-left: 55px;
    z-index: 0;
}

.login-employee .col-12.col-md-6.login_form .icons {
    max-width: 450px;
    width: 100%;
    position: relative;
    margin: auto;
}

.login-employee .col-12.col-md-6.login_form .input-group {
    position: relative;
}

.login-employee .col-12.col-md-6.login_form .input-group::before {
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
    left: 20px;
}

.login-employee .col-12.col-md-6.login_form .input-group.email::before {
    content: url("/images/icon-email-login.png");
}

.login-employee .col-12.col-md-6.login_form .input-group.password::before {
    content: url("/images/icon-pass.png");
}

.login-employee .col-12.col-md-6.login_form .header {
    text-align: center;
}

.login-employee .col-12.col-md-6.login_form form button {
    max-width: 191px;
    margin: auto;
    border: unset;
}

.login-employee .col-12.col-md-6.login_form h1.title {
    font-size: 32px;
    color: #333333;
    font-weight: bold;
}

.login-employee .col-12.col-md-6.login_form .subtitle {
    font-size: 15px;
    color: #475569;
}

.login-employee .reset-passw p {
    max-width: 450px;
    width: 100%;
    margin: auto;
    text-align: right;
    font-size: 15px;
    font-weight: 600;
}

.login-employee .reset-passw p a {
    color: #2CB8A6 !important;
}

.login-employee .reset-passw p:hover {
    text-decoration: underline;
}

.login-employee .reset-passw button.btn {
    text-align: center;
}

.login-employee button.reset-password {
    max-width: 100% !important;
}

.login-employee input.reset-password {
    max-width: 100% !important;
}

.pharmacy .pharmacy-servicios-title {
    font-size: 32px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 20px;
}

.pharmacy .pharmacy-servicios-text {
    font-size: 18px;
    color: #475569;
}

.pharmacy .preguntas-frecuentes .head {
    font-size: 14px;
    color: #475569;
    font-weight: bold;
}

.pharmacy .preguntas-frecuentes .body {
    font-size: 14px;
    color: #475569;
}

.pharmacy .banner-pharmacy .img-logo {
    display: flex;
    justify-content: end;
}

.menu button.btn-menu {
    display: none;
}

div#mobileMenu a {
    display: block;
    margin-bottom: 15px;
    max-width: 150px;
    font-size: 15px;
    font-weight: 500;
}

div#mobileMenu a.links {
    max-width: 150px;
}

div#mobileMenu a.login {
    margin-top: 30px;
}

div#mobileMenu .img-fluid {
    max-width: 190px;
}

.offcanvas {
    --bs-offcanvas-width: 300px;
}

div#mobileMenu a.login::before {
    width: 104% !important;
    left: -2%;
}

div#mobileMenu a.login,
div#mobileMenu a.contact {
    height: 33px;
    text-align: center;
    justify-items: center;
}

.platform .plataforma .pasos-desk {
    display: block;
}

.platform .plataforma .pasos-tablet,
.platform .plataforma .pasos-mobile {
    display: none;
}

@media (min-width: 992px) {
    .main-header.navbar.navbar-expand.sidebar-lbl-custom .navbar-nav .nav-item {
        display: none;
    }
}

@media (max-width: 768px) {
    .background-img-1::before {
        content: unset;
    }

    .background-img-1 .gestion {
        position: relative;
    }

    /*.background-img-1 .gestion::before{
        content:url("/images/banner3.png");
        max-width:100%;
        max-height:100%;
        position:absolute;
        top:calc(50% - 245px);
        left:0%;
    }*/

    .background-img-1 .gestion h2 {
        font-size: 28px;
    }

    .background-img-1 .gestion2 .gestion-r-title {
        font-size: 22px;
    }

    .background-img-1 .gestion2 .gestion-r-subtitle {
        font-size: 15px;
    }

    .servicios .title-servicios,
    .plataforma .title-plataforma {
        font-size: 22px;
    }

    .plataforma .subtitle-plataforma {
        font-size: 15px;
    }

    .beneficios .title-beneficios {
        font-size: 22px;
    }

    .beneficios .subtitle-beneficios {
        font-size: 15px;
    }

    .reverse-order-block {
        flex-direction: column;
    }

    .reverse-order-sec {
        order: 2;
    }

    .reverse-order-first {
        order: 1;
    }

    .contacto .block-contact-title {
        font-size: 32px;
    }

    footer.footer {
        border-top: 1px solid #CBD5E1;
        margin: 0px 20px;
    }

    span.block-mobile-banner2-title {
        font-size: 22px;
        color: white;
        font-weight: bold;
    }

    .background-img-1 .py-custom-4 {
        padding-top: 8rem;
        padding-bottom: 6rem;
    }

    .servicios-columns.py-custom-1 {
        padding-top: 2rem;
        padding-bottom: 3rem;
    }

    .header-login a.button {
        padding: 5px 25px;
    }

    .header-login a.contact {
        padding: 5px 13px !important;
    }

    .header-login a.login::before,
    .header-login a.contact::before {
        width: 105% !important;
        left: -3%;
        border-radius: 14px;
        height: 112%;
        top: -6%;
    }

    .header-login a.button {
        font-size: 13px !important;
    }

    .pharmacy .pharmacy-servicios-title {
        font-size: 22px;
        margin-top: 20px;
    }

    .pharmacy .pharmacy-servicios-text {
        font-size: 15px;
    }

    .block-service-pharmacy {
        min-height: 160px !important;
    }

    .txt-service-pharmacy {
        max-width: 50%;
    }

    .servicios.tabs .nav.nav-tabs {
        display: block;
    }

    .servicios.tabs .nav.nav-tabs .nav-item {
        text-align: start;
    }

    .servicios.tabs .nav.nav-tabs .nav-item .nav-link {
        border-top: 0px;
        border-left: 0px;
        border-right: 0px;
        border-bottom: 1px solid;
        border-color: #D9D9D9;
    }

    .servicios.tabs .nav.nav-tabs .nav-item .nav-link.active {
        border-color: #38D430;
    }

    .block-subservice-pharmacy {
        margin-bottom: 15px;
    }

    .pharmacy .subservicios .row {
        padding: 0px !important;
    }

    .pharmacy .subservicios {
        padding-top: 10px !important;
    }

    .block-subservice-pharmacy {
        min-height: 215px !important;
    }

    .pharmacy .banner-pharmacy span.text-banner-pharmacy {
        font-size: 22px;
    }

    .menu a.button.contact,
    .menu a.button.login {
        display: none;
    }

    .menu button.btn-menu {
        display: block;
    }

    .platform .plataforma .pasos-tablet {
        display: block;
    }

    .platform .plataforma .pasos-desk,
    .platform .plataforma .pasos-mobile {
        display: none;
    }

    .block-whirechats-chats main.block-chat{
        padding: 15px !important;
    }
}

@media (max-width: 500px) {
    .img-service-pharmacy {
        max-width: 130px;
        height: auto;
    }

    .txt-service-pharmacy {
        max-width: 65%;
    }

    .pharmacy .servicios .tab-content {
        padding: 0px !important;
    }

    .pharmacy .banner-pharmacy.mediterranea::before {
        content: url("/images/mediterranea-banner-mobile.png");
    }

    .pharmacy .banner-pharmacy.ramon-cajal::before {
        content: url("/images/cajal-banner-mobile.png");
    }

    .pharmacy .banner-pharmacy.romanica::before {
        content: url("/images/romanica-banner-mobile.png");
    }

    .pharmacy .banner-pharmacy.plaça-roja::before {
        content: url("/images/roja-banner-mobile.png");
    }

    .py-custom-home {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .pharmacy .banner-pharmacy span.text-banner-pharmacy {
        font-size: 15px;
    }

    .pharmacy .block-info-pharmacy {
        min-height: auto;
        margin-bottom: 20px;
        margin-left: 40px;
        margin-right: 40px;
        border-radius: 15px;
    }

    .pharmacy .block-info-pharmacy .block-horari-pharmacy-text,
    .pharmacy .block-info-pharmacy .block-horari-pharmacy-subtext {
        font-size: 14px;
    }

    .pharmacy .block-info-pharmacy-img {
        margin-left: 40px;
        margin-right: 40px;
        max-width: -webkit-fill-available;
    }

    .pharmacy .mb-custom-4 {
        margin-bottom: 1rem;
    }

    .pharmacy .servicios.py-custom-2 {
        padding-top: 4rem;
        padding-bottom: 1rem;
    }

    .pharmacy .subservicios.py-custom-1 {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .pharmacy .block-info-pharmacy .last-info {
        position: static !important;
        margin-top: 30px;
    }

    .platform .plataforma .pasos-mobile {
        display: block;
    }

    .platform .plataforma .pasos-desk,
    .platform .plataforma .pasos-tablet {
        display: none;
    }
}

.block-service-pharmacy {
    width: 100%;
    height: auto;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    position: relative;
    min-height: 320px;
    text-align: start;
}

.block-service-pharmacy-1 {
    background-color: #E4D0D4;
}

.block-service-pharmacy-2 {
    background-color: #F2E5E2;
}

.block-service-pharmacy-3 {
    background-color: #CBE9F4;
}

.block-service-pharmacy-4 {
    background-color: #EBEAD6;
}

.block-service-pharmacy-5 {
    background-color: #D0E3F7;
}

.block-service-pharmacy-6 {
    background-color: #E8E9ED;
}

.block-service-pharmacy-7 {
    background-color: #CFEADA;
}

.block-service-pharmacy-8 {
    background-color: #FBDCD1;
}

.block-service-pharmacy-9 {
    background-color: #FCE7D5;
}

.block-service-pharmacy-10 {
    background-color: #F6F4E1;
}

.block-service-pharmacy-11 {
    background-color: #DBEFE1;
}

.block-service-pharmacy-12 {
    background-color: #CBE9F4;
}

.block-service-pharmacy-13 {
    background-color: #EBEAD6;
}

.block-service-pharmacy-14 {
    background-color: #F9FBFB;
}

.block-service-pharmacy-15 {
    background-color: #EEECF7;
}

.title-service-pharmacy {
    font-weight: bold;
}

.title-service-pharmacy,
.txt-service-pharmacy,
.txt-subservice-pharmacy {
    font-size: 15px;
    color: #333333;
}

.img-service-pharmacy {
    position: absolute;
    bottom: 0;
    right: 0;
}

.pharmacy .servicios .tab-content {
    padding: 15px;
}

.pharmacy .subservicios .title-subservicios {
    color: #333333;
    font-size: 24px;
    font-weight: bold;
}

.pharmacy .subservicios .subtitle-subservicios {
    color: #475569;
    font-size: 18px;
}

.block-subservice-pharmacy {
    min-height: 250px;
    padding: 15px;
    text-align: initial;
    border-radius: 10px;
    position: relative;
}

.block-subservice-pharmacy img {
    position: absolute;
    bottom: 15px;
}

.pharmacy .subservicios .row {
    padding: 15px;
}

button.btn-demo {
    border: 2px solid #475569;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 13px;
}

.kitdigital {
    max-width: 700px;
    margin: 20px 0px;
    width: 100%;
}

.dropdown_language {
    position: relative;
    display: inline-block;
    align-content: center;
}

.dropdown_language .dropdown-content {
    display: none;
    position: absolute;
    min-width: 40px;
    min-height: 40px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.dropdown_language .dropdown-content a {
    text-decoration: none;
    display: block;
    background-color: white;
}

.dropdown_language .dropdown-content a img {
    margin: auto;
    padding: 10px 0px;
}

.dropdown_language:hover .dropdown-content {
    display: block;
}

/* BACKOFFICE */

/*** MAIN BACKOFFICE ***/
.sidebar-lbl-custom.main-header,
.main-sidebar.sidebar-lbl-custom {
    background-color: white;
    border-right: 1px solid #e9e9e9;
}

.main-header,
.content-wrapper {
    border-bottom: unset;
    background-color: white !important;
}

.user-initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 5px;
    background-color: #e9e9e9;
    /* gris, puedes cambiarlo */
    color: black;
    font-weight: bold;
    font-size: 14px;
}

.main-sidebar.sidebar-lbl-custom * {
    color: #838383;
}

.main-sidebar.sidebar-lbl-custom .brand-link {
    background-color: white;
    padding: 0px;
}

.sidebar-lbl-custom ul.nav-sidebar li.nav-item .nav-link.active {
    background-color: white;
}

.sidebar-lbl-custom ul.nav-sidebar li.nav-item .nav-link.active * {
    color: #01726e !important;
    font-weight: 600;
}

aside.main-sidebar.sidebar-lbl-custom i {
    font-size: 14px;
    margin-right: 10px;
}

.sidebar-lbl-custom a:hover,
.sidebar-lbl-custom .nav-item .nav-link:hover * {
    color: #01726e !important;
}

a.transform_client_button {
    padding: 7px 25px;
    background-color: rgba(0, 187, 180, 0.03) !important;
    border: 1px solid #00BBB4;
    border-radius: 5px;
    color: #00BBB4;
    text-transform: uppercase;
}

a.transform_client_button i {
    padding-right: 8px;
}

a.transform_client_button:hover {
    background-color: rgba(0, 187, 180, 0.1) !important;
}

a.table_edit_button {
    padding: 5px 15px;
    background-color: rgba(0, 187, 180, 0.03) !important;
    border: 1px solid #00BBB4;
    border-radius: 5px;
    color: #00BBB4;
    font-size: 12px;
}

a.table_edit_button:hover {
    background-color: rgba(0, 187, 180, 0.1) !important;
}

a.table_delete_button {
    padding: 5px 15px;
    background-color: rgba(255, 0, 0, 0.03) !important;
    border: 1px solid red;
    border-radius: 5px;
    color: red;
    font-size: 12px;
}

a.table_delete_button:hover {
    background-color: rgba(255, 0, 0, 0.1) !important;
}

a.btn.btn-primary.w-auto.create_new_element,
.form_save_button {
    color: #00BBB4;
    background-color: rgba(0, 187, 180, 0.03) !important;
    border: 1px solid #00BBB4;
    text-transform: uppercase;
    font-size: 14px;
    border-radius: 5px !important;
}

a.btn.btn-primary.w-auto.create_new_element:hover,
.form_save_button:hover {
    background-color: rgba(0, 187, 180, 0.1) !important;
    border: 1px solid #00BBB4 !important;
    color: #00BBB4 !important;
}



.custom_form .form-group label {
    font-size: 14px !important;
    font-weight: bold;
    color: #555 !important;
    margin-bottom: 5px !important;
    display: block;
}

.custom_form .form-group input,
.custom_form .form-group select,
.custom_form .form-group .select2-selection,
.custom_form .form-group textarea {
    width: 100% !important;
    padding: 8px;
    font-size: 14px;
    min-height: 35px;
    color: #333;
    background-color: #F9FAFB !important;
    border: 1px solid #DDD !important;
    border-radius: 6px !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1) !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.custom_button_save {
    background-color: #00BBB4;
    color: #fff;
    border: none;
    padding: 4px 10px;
    font-size: 14px;
    border-radius: 6px !important;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.custom_button_save:hover {
    background-color: #00A39C;
    color: #fff;
}

.custom_button_cancel {
    background-color: white;
    color: #333;
    border: 1px solid #CCC;
    padding: 4px 10px;
    font-size: 14px;
    border-radius: 6px !important;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.custom_button_cancel:hover {
    background-color: #E0E0E0;
    color: #000;
    border: 1px solid #CCC;
}

.link_add {
    color: #00BBB4;
    font-size: 14px;
    transition: color 0.3s ease;
    text-decoration: underline;
}

.link_add:hover {
    color: #00A39C;
    text-decoration: underline !important;
}

.custom_button_edit {
    color: #00BBB4;
    font-size: 15px;
    transition: color 0.3s ease;
}

.custom_button_edit:hover {
    color: #00A39C;
    /* Color más oscuro al pasar el cursor */
}

.custom_button_delete {
    color: #B91C1C;
    font-size: 15px;
    transition: color 0.3s ease, color 0.3s ease;
}

.custom_button_delete:hover {
    color: #F87171;
}

.ver .card {
    gap: 20px;
    background-color: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.ver .card p {
    font-size: 14px;
    color: #4B5563;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ver .card span i {
    color: #00BBB4;
    font-size: 14px !important;
}

.ver .card span {
    font-size: 16px;
    color: #111827;
    font-weight: bold;
    color: #374151;
    display: block;
}


a.btn.btn-primary.w-auto.create_new_element i,
.form_save_button i {
    padding-right: 5px;
}

div#table1_wrapper #table1_filter label,
div#table1_wrapper #table1_length label {
    font-weight: 500;
}

div#table1_wrapper #table1_filter input:focus-visible {
    outline-offset: 0px;
    padding: 3px 10px;
}

div#table1_wrapper #table1 tbody tr td {
    padding: 15px 10px;
}

div#table1_wrapper table#table1.dataTable.no-footer {
    border-bottom: unset;
    margin-bottom: 25px;
}

div.dataTables_length select{
    border:1px solid lightgrey !important;
    border-radius:5px !important;
}

div.dataTables_filter input[type="search"]{
    border:1px solid lightgrey !important;
    border-radius:5px !important;
    padding: 3px 10px;
}

div.dataTables_paginate a.paginate_button.current{
    border:1px solid lightgrey !important;
    border-radius:5px !important;
    background:transparent !important;
}
.content .dataTables_wrapper .dataTables_paginate .paginate_button:hover,
.content .dataTables_wrapper .dataTables_paginate .paginate_button:active{
    border:1px solid lightgrey !important;
    color:#666 !important;
    border-radius:5px !important;
    background:transparent !important;
}

div#calendar .fc-today-button,
div#calendar .fc-prev-button,
div#calendar .fc-next-button{
    border:1px solid lightgrey !important;
    color:#666 !important;
    border-radius:5px !important;
    background:transparent !important;
}

div#calendar .fc-next-button{
    margin-left:5px;
}

table#table1 thead tr th{
    border:unset;
}

table#table1 tbody tr td{
    border:unset;
}

.logo-image-back {
    box-shadow: unset !important;
}

.content .card {
    box-shadow: unset;
}

.main-sidebar.sidebar-lbl-custom .has-treeview .nav-link i.fa-circle {
    visibility: hidden;
}

.actions_lead .dropdown-toggle-dots i {
    color: grey;
    font-size: 18px;
}

.actions_lead .dropdown-toggle-dots::after {
    content: unset;
}

.actions_lead .dropdown-menu.dropdown-menu-right.show {
    left: -15px !important;
}

@media (max-width: 768px) {
    div#table1_wrapper #table1 tbody tr td {
        padding: 10px 15px;
    }

    div#table1_wrapper #table1 tbody tr td .table_edit_button,
    div#table1_wrapper #table1 tbody tr td .table_delete_button {
        margin: 5px;
        display: block;
    }
}

#preview-container {
    margin-top: 20px;
    gap: 20px;
    background-color: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

#document-list .document-item {
    background-color: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 12px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

#preview-container * {
    display: inline-flex;
}

#preview-container p {
    margin-right: 10px;
}

.theme-general .content-wrapper {
    height: auto;
}

.js-cookie-consent-agree {
    color: #000;
}

/*** CHAT BACKOFFICE ***/
div#chat-footer,
div#chat-footer * {
    background-color: white !important;
    color: #555 !important;
}

div#chat-footer textarea {
    background-color: white;
    padding: 5px 15px;
    color: #555;
    border: 1px solid #DDD !important;
}

div#chat-footer .justify-end.min-w-max,
div#chat-footer .w-10.max-w-fit{
    display: none;
}

header.header-chats .grid {
    padding: 10px;
}

header.header-chats label {
    margin-bottom: 0px;
}

header.header-chat,
header.header-chat * {
    background-color: white !important;
    color: #555 !important;
}

main.main-chat {
    min-height: 300px;
}

div#chat-dialog-container {
    top: 50%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

h4.welcome-chats {
    margin-top: 25px;
}

.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;
}

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

.table.dataTable {
    box-sizing: border-box !important;
    border-collapse: collapse;
}

table.dataTable thead th {
    border-bottom: 2px solid #dee2e6;
    padding: 8px 10px;
}

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

nav.main-header.navbar.navbar-expand.sidebar-lbl-custom {
    background-color: white !important;
    padding: 0px 30px 0px 0px;
}

table.dataTable thead th,
table.dataTable thead td {
    border-bottom: unset !important;
}

.custom_form input.active_recipe {
    box-shadow: unset !important;
    width: 15px !important;
    flex: unset !important;
    height: 15px;
}

.card-header.background-primary-gradient {
    background: linear-gradient(to right, #00BBB4, #38D430);
}

.titles-card-header {
    background: white;
    border-bottom: unset !important;
}

.titles-card-header h3,
.titles-card-header h3 i {
    color: #333;
    font-size: 18px;
    font-weight: bold;
    position: relative;
}

#modal.custom_form .form-group input[type="text"],
#editRecipeModal.custom_form .form-group input[type="text"] {
    min-width: 350px;
}

div#document-list-container .document-item:last-child,
div#recipesList .document-item:last-child,
div#activitiesList .document-item:last-child {
    border-bottom: unset !important;
}

.main-sidebar.sidebar-lbl-custom .user-menu .nav-link.dropdown-toggle::after,
.main-sidebar.sidebar-lbl-custom .user-menu .dropdown-menu {
    display: none;
}

.main-sidebar.sidebar-lbl-custom .user-menu .nav-link.dropdown-toggle {
    pointer-events: none;
}

.hover-bg-light:hover {
    background-color: #f5f5f5 !important;
    transition: background-color 0.2s ease;
}

.hover-bg-light {
    background-color: #f9f9f9 !important;
}

.info-user-title{
    font-size: 14px;
    font-weight: 600;
}

.info-user-text{
    font-size: 14px;
}

#pharmacyTabs .nav-link.active,
#pharmacy-tabs .nav-link.active {
    border:1px solid #00BBB4;
    border-radius:5px;
}

.main-header .navbar-nav .button-my-profile{
    background-color: #00BBB4;
    border-radius: 50px;
    padding: 4px;
    color: white !important;
}

.main-header .navbar-nav .button-logout{
    background-color: red;
    border-radius: 50px;
    padding: 4px;
    color: white !important;
}

.custom_form .select2 textarea.select2-search__field {
    padding: 8px !important;
    border: unset !important;
    box-shadow: unset !important;
}

.table_notifications .form-check-input{
    margin-top: -6px;
    margin-left: -8px;
}

.table_notifications thead .form-check-input{
    margin-top: -18px;
}

.stat-card-info{
    box-shadow:unset;
    border:1px solid #17a2b8;
}

.stat-card-info .inner *,
.stat-card-info .icon *{
    color:#17a2b8 !important;
}

.stat-card-info .small-box-footer{
    background-color:#17a2b8 !important;
}

.block-whirechats-chats .block-chats main li a{
    border-color:#17a2b8 !important;
}

.block-whirechats-chats .block-chats main li a aside .border-b,
.block-whirechats-chats .block-chats{
    border:unset;
}

.mi-mensaje-enviado,
.mi-mensaje-recibido{
    position:relative;
    padding-right:40px !important;
    padding-top:0px !important;
    padding-bottom:0px !important;
}

.mi-mensaje-enviado{
    border-color:#17a2b8 !important;
    background-color:#17a2b814 !important;
}

.mi-mensaje-recibido{
    border-color:#17a2b8 !important;
    background-color:white !important;
}

.mi-mensaje-enviado span,
.mi-mensaje-recibido span{
    color:grey !important;
    position:absolute !important;
    bottom:14px !important;
    right:10px !important;
}

.block-whirechats-chats main.block-chat{
    border: 1px solid #17a2b830 !important;
    border-radius: 15px;
    margin-bottom: 15px;
    padding: 25px 55px;
    margin-bottom: 25px;
}