/*VARIABLES*/

:root {
    --azul: #089cdb;
    --rojo: #ed1d28;
}

/*GLOBAL*/

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: #b9bcbc;
    border-radius: 4px;
}

::-webkit-scrollbar-track {
  background-color: transparent;
}


html {
  scrollbar-width: thin;
  height: 100vh;
  overflow: hidden;
}

html {
    scrollbar-color: #b9bcbc transparent;
}

body{
    height:100%;
}










/*LOGIN*/


.login .container-fluid {

    height: 100vh;

}

.login .login-image {
    position: relative;
    padding: 0;
    overflow: hidden;
}

    .login .login-image .main {
        width: 100%;
        height: 100vh;
        object-fit: cover;
    }

.login .logo {
    position: absolute;
    top: 4vh;
    left: 5vh;
    width: 20vh;
    height: auto;
}

.login .centered-div {
    max-width: 380px;
    margin: 0 auto;
    padding: 20px;

}

.login .login-form {
    display: flex;
    justify-content: center;
    align-items: center;
}

.login .login-form h1 {
    font-size: 3.2rem;
    margin-bottom: 0vh;
    margin-left: -17px;
}

.login .login-form h4 {
    font-size: 2.1rem;
    margin-bottom: 20px;
    margin-top: -8px;
    font-weight:400;
}

.login input:-webkit-autofill,
.login input:-webkit-autofill:hover,
.login input:-webkit-autofill:focus,
.login input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px transparent inset !important;
    background-color: #fff !important;
}

.login .pass a {
    position: relative;
    top: -31px;
    margin-right: 10px;
    text-decoration: none;
    font-size: 0.8rem;
    color: #b5b5b4;
}

.login .email input, .login .pass input {
    width: 100%;
    padding: 5px;
    border: none;
    border-bottom: 2px solid #000;
    background: white;
    outline: none;
    margin-top: 18px;
}



.login .btn {
    width: 200px;
    margin-top: 15px;
    border-radius: 11px;
}
.login .terminos {
    font-size: 0.9rem;
    margin-top: 10px;
    margin-bottom: 60px;
}
    .login .terminos label a {
        text-decoration: none;
        font-weight: bold;
        color: #000;
    }
.login .form-check-input {
    float: none;
}

.btn-red {
    color: #fff;
    background-color: #cc0000;
    border-color: #cc0000;
}

.btn-red:hover {
    color: #cc0000;
    background-color: #fff;
    border-color: #cc0000;
}

.btn-black {
    color: #fff;
    background-color: #000002;
    border-color: #000002;
}

.login .reset-pass label{
    display: none;
}
@media screen and (max-width: 768px) {
    .login .login-image {
        height: 100vh;
        position: absolute;
        z-index: -1;
    }
        .login .login-image .main{

        }
    .login .centered-div {
        /* margin-top: 45px;*/
    }
    .login .login-form {
        margin-top: 40%;
        justify-content: center;
        align-items: center;
        background: white;
        border-radius: 15px;
    }
}











    /*HOME*/

    .main-container {
        padding: 15px 30px 0px 30px;
        padding-left: 350px;
        transition-duration: 500ms;
        width: 100%;
    }

    .main-container-collapsed {
        padding-left: 50px;
    }

    .main-container-content {
        width: 100%;
        max-width: 1200px;
        margin: auto;
        max-height: calc(100vh - 50px);
        overflow-x: hidden;
        overflow-y: scroll;
    }

    .profile-container {
        width: 220px;
        height: 65px;
        display: flex;
        align-items: center;
        border: none;
        background-color: transparent;
    }

    .profile-image {
        width: 37px;
        height: 37px;
        border-radius: 50%;
        margin-right: 10px;
    }

    .profile-image-my-data {
        width: 110px;
        height: 110px;
        border-radius: 50%;
        margin:auto;
        margin-bottom: 20px;
        cursor: pointer;
    }

    .profile-container .name {
        font-size: 0.8rem;
    }

    .profile-container .specialty {
        font-size: 0.7rem;
    }

    .selector-container .col-3 {
        padding-left: 5px;
        padding-right: 5px;
    }

    .selector-button {
        margin-bottom: 30px;
        transition: 100ms;
    }

    .selector-container .selector-button {
        text-align: center;
        width: 100%;
        height: 46px;
        background-color: var(--azul);
        border-radius: 10px;
        border: none;
        color: white;
    }

    .selector-container .selector-button:hover {
        transform: scale(1.05);
        box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
    }

    .selector-container .selector-actual {
        background-color: var(--rojo);
    }

.main-page{
    height: 100%;
}
.main-content {
    height: calc(100% - 223px);
}


@media screen and (max-width: 768px) {

    .selector-button {
        margin-bottom: 12px;
    }
}






















/*MENU LATERAL*/

.menu-container {
    background-color: #f9f9f9;
    height: 100vh;
    padding: 15px;
    padding-right: 25px;
    padding-bottom: 70px;
    border-radius: 0 20px 0 0;
    width: 330px;
    position: absolute;
    left: 0;
    transition-duration: 500ms;
    box-shadow: 0px 0px 20px gainsboro;
}

    .menu-container-collapsed {
        transform: translateX(-310px)
    }

    .collapsed-menu-button {
        position: absolute;
        background-color: #f9f9f9;
        right: 0px;
        height: 100vh;
        top: 0px;
        border: none;
        border-radius: 0 20px 0 0;
    }

    .menu-container .top-button {
        position: absolute;
        right: 25px;
        border: none;
        background: transparent;
    }

    .transitable {
        transition-duration: 750ms;
    }

    .rotated {
        transform: rotateZ(180deg);
    }

    .home-logo {
        max-width: 130px;
        margin-bottom: 50px;
    }

    .new-patient {
        position: absolute;
        right: 25px;
        bottom: 20px;
        border-radius: 10px;
        background-color: var(--rojo);
        border: none;
        color: white;
        line-height: 30px;
        padding: 3px 13px;
        transition: all 500ms ease;
    }

        .new-patient:hover {
            transform: scale(1.1);
        }

        .new-patient .b {
            display: none;
        }

        .new-patient:hover .a {
            display: none;
        }

        .new-patient:hover .b {
            display: block;
        }

    .cards-container {
        margin-top: 35px;
        overflow-y: scroll;
        height: 80%;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .card {
        background-color: #f2f2f2;
        border: none;
        margin-top: 5px;
        margin-bottom: 5px;
        border-radius: 15px;
        transition: 100ms;
    }

    .card-body {
        padding: 15px 15px;
    }

    .card:hover {
        transform: scale(1.03);
        background-color: #eaeaea;
        cursor: pointer;
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    }

    .card .card-arrow {
        position: absolute;
        right: 10px;
        top: 35%;
    }

    .card .card-hour {
        position: absolute;
        right: 30px;
        top: 60%;
        font-size: 0.72rem;
        line-height: 13px;
        color: #a9acac;
    }

    .card .card-title {
        font-size: 0.98rem;
        font-weight: bold;
        margin-bottom: 0px;
        line-height: 16px;
    }

    .card .card-text {
        font-size: 0.78rem;
        line-height: 13px;
    }




    .menu-container .selector-container {
        height: 28px;
        background-color: black;
        border-radius: 14px;
        /*width: 175px;*/
        margin-top: 10px;
        margin-left: 15px;
        padding: 0px;
    }

        .menu-container .selector-container .option {
            background-color: transparent;
            height: 100%;
            border-radius: 12px;
            color: white;
            border: none;
            text-align: center;
            font-size: 0.8rem;
            width: 48%;
            text-align: center;
        }

        .menu-container .selector-container .selected {
            background-color: white;
            height: 100%;
            border-radius: 14px;
            color: black;
            border: solid 2px #000000;
        }

    .menu-container .menu-search {
        background-color: transparent;
        border: none;
        position: absolute;
        right: 30px;
        top: 135px;
    }

    .menu-container .search-input {
        width: 100%;
        border: none;
        border-bottom: solid 1.5px #babcbc;
        font-size: 0.9rem;
        margin-top: 15px;
        background-color: transparent;
        outline: none;
        transition: all 500ms ease;
    }
.responsive-menu-button {
    position: fixed;
    z-index: 2;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #8c8c8c;
    display:none;
}
@media screen and (max-width: 768px) {
    .responsive-menu-button {
        display:block;
    }
    .menu-container {
        left: -100vh;
        width: 100vh;
        position: fixed;
        background-color: #f9f9f9;
        z-index: 1;
    }
    .menu-container-collapsed {
        transform: translateX(100vh);
    }
    .main-container {
        padding-left: 30px;
    }
    .rotated {
        transform: rotateZ(0deg);
    }
    .menu-container .top-button{
        display:none;
    }
    .main-container-collapsed {
    }
    .selector-button {
        margin-bottom: 12px;
    }
}















    /*Evoluci�n patiente*/

    .row .izq {
        /*padding-left: 5px;*/
    }

    .row .der {
        /*padding-right: 5px;*/
    }
@media screen and (max-width: 768px) {
    .row .izq {
        padding-left: 0px;
        padding-right: 0px;
    }

    .row .der {
        padding-left: 0px;
        padding-right: 0px;
    }
}
    .section {
        width: 100%;
        background-color: #ecedec;
        border-radius: 17px;
        padding: 20px 30px 20px 30px;
    }
@media (max-width: 992px) {
    .section {
     margin-bottom:15px;
    }
}
    .section-title {
        font-weight: bold;
        font-size: 1rem;
        display: block;
    }

    .section-subtitle {
        font-size: 0.65rem;
        line-height: 0.7rem;
        margin-top: 4px;
        margin-bottom: 20px;
    }


    .section .selector-container {
        height: 24px;
        background-color: black;
        border-radius: 12px;
    }

        .section .selector-container .option {
            background-color: transparent;
            height: 100%;
            border-radius: 12px;
            color: white;
            border: none;
            text-align: center;
            font-size: 0.75rem;
        }

        .section .selector-container .selected {
            background-color: white;
            height: 100%;
            border-radius: 12px;
            color: black;
            border: solid 2px #000000;
        }

    .section .second-selector-container {
        margin-top: 20px;
        margin-bottom: 20px;
    }

        .section .second-selector-container .second-option {
            background-color: transparent;
            color: #9ca0a1;
            border: none;
            text-align: center;
            font-size: 0.85rem;
        }

        .section .second-selector-container .second-selected {
            color: black;
            border-bottom: solid 1.5px #000000;
        }

    .custom-date {
        margin-top: 10px;
        display: none;
    }

    .custom-date-title {
        text-align: center;
        font-size: 0.8rem;
    }

    .custom-date input {
        font-size: 0.75rem;
        padding: 6px 6px;
        border: none;
        background-color: #f9f9f9;
    }

    .custom-date-button {
        font-size: 0.8rem;
        border: none;
        background-color: #a9acac;
        color: white;
        border-radius: 10px;
        margin-top: 24px;
        padding: 1px 8px;
    }


    .alert-container .alert-card {
        background-color: white;
        padding: 15px 15px;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
        border-radius: 8px;
        position: relative;
        margin-top: 15px;
    }

    .alert-container .alert-title {
        font-size: 0.83rem;
        line-height: 0.8rem;
        font-weight: bold;
    }

    .alert-container .alert-subtitle {
        font-size: 0.7rem;
        line-height: 0.7rem;
    }

    .alert-container .alert-button {
        font-size: 0.75rem;
        line-height: 0.7rem;
        background-color: black;
        border: none;
        color: white;
        font-weight: 200;
        padding: 4px 8px;
        border-radius: 10px;
        position: absolute;
        right: 25px;
        top: 18px;
    }

    .alert-container .alert-icon {
        width: 20px;
        height: 20px;
        text-align: center;
        background-color: var(--rojo);
        color: white;
        font-size: 0.8rem;
        border-radius: 5px;
        position: absolute;
        top: -10px;
        right: 10px;
    }



/*CUESTIONARIOS*/

.active-quest {
    background-color: var(--azul);
    height: 70px;
    margin: 8px 0px 8px 0px;
    border-radius: 10px;
    line-height: 1.3;
}

.gris {
    opacity: 0.5;
}

.active-quest .date {
    text-align: center;
}

    .active-quest .date .num {
        font-size: 1.4rem;
        font-weight: bold;
        color: white;
        display: block;
        margin-top: 24px;
        line-height: 0.4;
    }

    .active-quest .date .month {
        font-size: 0.8rem;
        color: white;
    }

.active-quest .quest-title {
    font-size: 1rem;
    color: white;
    line-height: 0.95rem;
    margin-top: 11px;
    display: block;
    font-weight: bold;
}

.active-quest .quest-subtitle {
    font-size: 0.7rem;
    color: white;
    font-weight: lighter;
    line-height: 0.4;
}

.active-quest .program {
    width: 100%;
    background-color: black;
    color: white;
    height: 20px;
    line-height: 12px;
    border-radius: 9px;
    font-size: 0.65rem;
    font-weight: lighter;
    margin-top: 25px;
    border: none;
}
.button-quest{
    border:none;
    padding: 0px;
    width:100%;
    transition-duration: 100ms;
}

.button-quest:hover{
    transform: scale(1.02);
}


.button-quest .selected {
    background-color: #a8d9ed;
}

.completed-quest {
    background-color: white;
    height: 70px;
    margin: 8px 0px 8px 0px;
    border-radius: 10px;
    line-height: 1.3;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
}



.quest-icon {
    flex: 0 0 auto;
    padding: 15px;
    display: flex;
    align-items: center; /* Centra verticalmente los elementos */
    justify-content: center;
}
.quest-content {
    flex: 1;
    text-align:left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: white;
}
.completed-quest .quest-title {
    font-size: 1rem;
    color: black;
    margin-top: 13px;
    display: block;
    font-weight: bold;
}

.completed-quest .quest-subtitle {
    font-size: 0.7rem;
    color: #a9acac;
    line-height: 0.7rem;
}

.button-quest .selected .quest-subtitle {
    background-color: #a8d9ed;
    color: white;
}

.calendar-icon {
    font-size: 30px;
    margin-top: 14px;
    color: white;
}





















/*CHAT*/
.chat-container {
    width: 100%;
    height: calc(100vh - 425px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-left: 11px;
    padding-right: 11px;
}

.mensaje-enviado {
    max-width: 80%;
    min-width: 150px;
    background-color: #4bc7e6;
    border-radius: 15px 15px 0 15px;
    padding: 15px;
    margin: 10px 0;
    float: right;
    clear: both;
    position: relative;
    color: white;
    font-size: 0.7rem;
}

.mensaje-recibido {
    max-width: 80%;
    min-width: 150px;
    background-color: var(--azul);
    border-radius: 15px 15px 15px 0;
    padding: 15px;
    margin: 10px 0;
    float: left;
    clear: both;
    position: relative;
    color: white;
    font-size: 0.7rem;
}

.mensaje-enviado::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: -10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 11px 0 0 11px;
    border-color: transparent transparent transparent #4bc7e6;
}

.mensaje-recibido::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: -10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 11px 11px 0 0;
    border-color: transparent var(--azul) transparent transparent;
}

.fecha-mensaje {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 0.6rem;
    color: white;
    opacity: 80%;
}

.chat-input-container {
    width: 100%;
    padding: 12px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.chat-message {
    flex: 1;
    border: none;
    border-radius: 5px;
    margin-right: 10px;
    font-size: 0.75rem;
}

.chat-button {
    padding-left: 15px;
    padding-right: 15px;
    height: 20px;
    line-height: 1.5;
    background-color: var(--rojo);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.7rem;
    border: 2px solid var(--rojo);
}
.chat-button:hover {
    background-color: white;
    color: var(--rojo);
}


.chat-section {
    /*height: 100%;
    max-height: calc(100% - 145px);*/
}










    /*DATOS PACIENTE*/

    .fieldWrapper {
        display: flex;
        align-items: center;
        border-bottom: solid 1px #babcbc;
        margin-bottom: 13px;
        padding-bottom: 6px;
    }

    .fieldWrapper input, .fieldWrapper select {
        flex: 1;
        border: none;
        background: #f2f2f2;
        border-radius: 4px;
        font-size: 0.8rem;
        font-weight: bold;
        height: 21px;
    }

    .fieldWrapper label {
        font-size: 0.7rem;
        color: #babcbc;
        display: block;
        width: 30%;
    }

    .save-form {
        background-color: var(--azul);
        border-color: var(--azul);
        border: solid 2px var(--azul);
        color: white;
        font-size: 0.9rem;
        line-height: 28px;
        height: 28px;
        padding: 0px 10px;
        border-radius: 8px;
        float: right;
        margin: 5px
    }

    .save-form:hover {
        background-color: white;
        color: var(--azul);
    }

    .save-form-red {
        background-color: var(--rojo);
        border-color: var(--rojo);
        border: solid 2px var(--rojo);
        color: white;
        font-size: 0.9rem;
        line-height: 28px;
        height: 28px;
        padding: 0px 10px;
        border-radius: 8px;
        float: right;
        margin: 5px
    }

    .save-form-red:hover {
        background-color: white;
        color: var(--rojo);
    }

.red-notif-point {
    width: 12px;
    height: 12px;
    position: absolute;
    color: white;
    text-align: center;
    top: -2px;
    right: 5%;
    border-radius: 10px;
    background-color: var(--rojo);
}

.red-notif {
    width: 25px;
    height: 25px;
    position: absolute;
    color: white;
    text-align: center;
    top: -10px;
    right: 5%;
    border-radius: 8px;
    background-color: var(--rojo);
}

.data-type-selectable {
    text-align: center;
    color: #999999;
    cursor: pointer;
}

.data-type-selected {
    color: #000000;
}