﻿
* {
    box-sizing: border-box;
    
}


@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}




.row::after {
    content: "";
    clear: both;
    display: table;
}

[class*="col-"] {
    float: left;
    padding: 10px;
}

html {
    font-family: "Lucida Sans", sans-serif;
}
body{
    background-color: #F2F9FE;
    font-family: 'Inter', sans-serif;
    /* background-color: gainsboro; */
}
.flow {
    display: none;
}

.logo_selfie {
  /* height: 2rem; */
  height: 60px;            /* h-8 */
  width: 100px;
}

@media (min-width: 576px) {
  .logo_selfie {
    height: 3rem;          /* sm:h-12 */
    width: 100px;           /* sm:w-20 */
  }
}

/* === Estilos para el logo de Red de Salud === */
/* En Tailwind: h-8 w-48 hidden sm:block */
.logo_redsalud {
  height: 2rem;            /* h-8 */
  width: 12rem;            /* w-48 */
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
  }
label{
    color:#6A7183;
    font-size: 14px;
    font-weight: bold;
}
.terms-conditional-body{
    width:60%;
    background:white;
    margin:auto;
    height: 600px;
    overflow-y: scroll;
    padding:20px
  }
  #close_modal_terms{
    display: flex;
    flex-direction: row;
    margin: auto;
  }
  .terms-conditional-body h4{
  text-align: left;
  }
  .terms-conditional-body p{
  text-align: left;
  }

/*.header {
            background-color: #9933cc;
            color: #ffffff;
            padding: 15px;
        }*/
.box_kpi{
    border-radius: 10px;
    border: 1px solid #0094E2;
}

.text-signal{
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
}
.text_title_kpi{
    font-size: 13px;
    font-weight: 500;
    color:#01387B;
}
.text_kpi{
    font-weight: 700;
    color: #2271BF;
}
.text_kpi_unity{
    color: #80848E;
    font-size: 14px;
    font-weight: 400;
}

.header{
    background-color:white;
    height:70px;
    width:100%;
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content:space-between;
    padding-left:20px;
    padding-right:20px;
    margin-bottom: 50px;
  }
  .form-control{
    border-radius: 20px;
    background-color: #F3F9FF;
  }
  
  .form-group label{
    margin-bottom: 5px;
  }
  .title-box{
    text-align: center;
  }
  .box-form{
    /* margin-top:10px; */
    width: 70%;
    gap:5px;
    /* margin-top: 50px; */
    padding: 20px;
    /* place-content-items:center; */
    align-content: center;
    align-self: center;
    margin:auto;
    flex-direction: column;
    /* margin:0 auto; */
    background-color:white;
  }

  /* // modal auhenticate */
  #flow-authenticate {
      padding-top: 10px;
      padding:40px;
      box-shadow: 0px 0px 9px 0px #D0D0D04D;
      background:white;
      width:500px;
      margin: auto;
      border-radius: 10px;
  }
  #open_modal_heart{
    width: 100%;
  }
  #form-authenticate{
    height: 500px;
  }
  .title_form_card_auth{
    color: #CF095E;
    font-size: 35px;
    font-weight: bold;
  }
  .input_box_redsalud {
    -moz-appearance: none;
    appearance: none;
    border:none;
    border-radius: 7px ;
    padding: 1rem;
    line-height: 1.25;
    color: #979797;
    outline: none;
    background-color: #f3f3f3;
  }
  
  .input_box_redsalud .appearance-none {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }

  .card-custom{
    margin: auto;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    max-width: 500px;
    overflow: hidden;
    border-radius: 30px;
    margin-top: 20px;
}
  .text-titulo {
            color: #CF095E;
        }

        .text-parrafo {
            color: #01387B;
            font-size: 1.125rem;
        }

        .btn-enviar {
            background-color: #CF095E;
            border: none;
            border-radius: 50px;
            padding: 0.75rem 1.5rem;
            transition: background-color 0.2s ease;
        }

        .btn-enviar:hover {
            background-color: #9c084f;
        }

        .btn-enviar:active, .btn-enviar:focus {
            background-color: #b50e61;
            box-shadow: 0 0 0 0.25rem rgba(207, 9, 94, 0.25);
        }

        .card{
            border: none;
            border-radius: 30px;
            overflow: hidden;
            max-width: 486px;
            width: 100%;
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
        }
        .container-description{
            border-top-left-radius: 30px;
            border-top-right-radius: 30px;
            border-top: 1px solid #8DD8FF;
            padding: 2.625rem 3.75rem 1.5rem;
            position: relative;
            margin-top: -2rem;
            background-color: white;
        }
        .img-banner {
            width: 100%;
            height: auto;
            object-fit: cover;
        }
        @media (max-width: 767.98px) {
             .card {
                width: 100%;
                border-radius: 0;
            }

            .container-description {
                padding: 1.875rem 1.25rem 1.5rem;
                margin-top: -1rem;
            }

            .text-parrafo {
                font-size: 1rem;
            }
        }

  


/* modal error */
.card-body{
    gap: 10px;
    text-align: center;
    display: flex;
    margin:auto;
    flex-direction: column;
  }
  .card-body button{
    width: 100%;
    font-weight: bold;
  }
  .box_card{
    padding: 25px;
    margin: auto;
    background: white;
    border-radius: 10px
  }
  .card-title{
    color: #CF095E;
    font-size: 25px;
    font-weight: bold;
  }
  .card-text{
    color: #80848E;
    font-size: 18px;
  }

  
.header button {
    background-color: #33b6e500;
    border: none;
    color: white;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 8px
}

.menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu li {
    padding: 8px;
    margin-bottom: 7px;
    background-color: #33b5e5;
    color: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

    .menu li:hover {
        background-color: #0099cc;
    }

.aside {
    background-color: #33b5e5;
    padding: 15px;
    color: #ffffff;
    text-align: center;
    font-size: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.footer {
    background-color: #0099cc;
    color: #ffffff;
    text-align: center;
    font-size: 12px;
    padding: 15px;
}


.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
}

    .table th,
    .table td {
        padding: 0.75rem;
        vertical-align: top;
        border-top: 1px solid #dee2e6;
    }

    .table thead th {
        vertical-align: bottom;
        border-bottom: 2px solid #dee2e6;
    }

    .table tbody + tbody {
        border-top: 2px solid #dee2e6;
    }

.table-sm th,
.table-sm td {
    padding: 0.3rem;
}

.table-bordered {
    border: 1px solid #dee2e6;
}

    .table-bordered th,
    .table-bordered td {
        border: 1px solid #dee2e6;
    }

    .table-bordered thead th,
    .table-bordered thead td {
        border-bottom-width: 2px;
    }

.table-borderless th,
.table-borderless td,
.table-borderless thead th,
.table-borderless tbody + tbody {
    border: 0;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

.table-hover tbody tr:hover {
    color: #212529;
    background-color: rgba(0, 0, 0, 0.075);
}

.table-primary,
.table-primary > th,
.table-primary > td {
    background-color: #b8daff;
}

    .table-primary th,
    .table-primary td,
    .table-primary thead th,
    .table-primary tbody + tbody {
        border-color: #7abaff;
    }

.table-hover .table-primary:hover {
    background-color: #9fcdff;
}

    .table-hover .table-primary:hover > td,
    .table-hover .table-primary:hover > th {
        background-color: #9fcdff;
    }

.table-secondary,
.table-secondary > th,
.table-secondary > td {
    background-color: #d6d8db;
}

    .table-secondary th,
    .table-secondary td,
    .table-secondary thead th,
    .table-secondary tbody + tbody {
        border-color: #b3b7bb;
    }

.table-hover .table-secondary:hover {
    background-color: #c8cbcf;
}

    .table-hover .table-secondary:hover > td,
    .table-hover .table-secondary:hover > th {
        background-color: #c8cbcf;
    }

.table-success,
.table-success > th,
.table-success > td {
    background-color: #c3e6cb;
}

    .table-success th,
    .table-success td,
    .table-success thead th,
    .table-success tbody + tbody {
        border-color: #8fd19e;
    }

.table-hover .table-success:hover {
    background-color: #b1dfbb;
}

    .table-hover .table-success:hover > td,
    .table-hover .table-success:hover > th {
        background-color: #b1dfbb;
    }

.table-info,
.table-info > th,
.table-info > td {
    background-color: #bee5eb;
}

    .table-info th,
    .table-info td,
    .table-info thead th,
    .table-info tbody + tbody {
        border-color: #86cfda;
    }

.table-hover .table-info:hover {
    background-color: #abdde5;
}

    .table-hover .table-info:hover > td,
    .table-hover .table-info:hover > th {
        background-color: #abdde5;
    }

.table-warning,
.table-warning > th,
.table-warning > td {
    background-color: #ffeeba;
}

    .table-warning th,
    .table-warning td,
    .table-warning thead th,
    .table-warning tbody + tbody {
        border-color: #ffdf7e;
    }

.table-hover .table-warning:hover {
    background-color: #ffe8a1;
}

    .table-hover .table-warning:hover > td,
    .table-hover .table-warning:hover > th {
        background-color: #ffe8a1;
    }

.table-danger,
.table-danger > th,
.table-danger > td {
    background-color: #f5c6cb;
}

    .table-danger th,
    .table-danger td,
    .table-danger thead th,
    .table-danger tbody + tbody {
        border-color: #ed969e;
    }

.table-hover .table-danger:hover {
    background-color: #f1b0b7;
}

    .table-hover .table-danger:hover > td,
    .table-hover .table-danger:hover > th {
        background-color: #f1b0b7;
    }

.table-light,
.table-light > th,
.table-light > td {
    background-color: #fdfdfe;
}

    .table-light th,
    .table-light td,
    .table-light thead th,
    .table-light tbody + tbody {
        border-color: #fbfcfc;
    }

.table-hover .table-light:hover {
    background-color: #ececf6;
}

    .table-hover .table-light:hover > td,
    .table-hover .table-light:hover > th {
        background-color: #ececf6;
    }

.table-dark,
.table-dark > th,
.table-dark > td {
    background-color: #c6c8ca;
}

    .table-dark th,
    .table-dark td,
    .table-dark thead th,
    .table-dark tbody + tbody {
        border-color: #95999c;
    }

.table-hover .table-dark:hover {
    background-color: #b9bbbe;
}

    .table-hover .table-dark:hover > td,
    .table-hover .table-dark:hover > th {
        background-color: #b9bbbe;
    }

.table-active,
.table-active > th,
.table-active > td {
    background-color: rgba(0, 0, 0, 0.075);
}

.table-hover .table-active:hover {
    background-color: rgba(0, 0, 0, 0.075);
}

    .table-hover .table-active:hover > td,
    .table-hover .table-active:hover > th {
        background-color: rgba(0, 0, 0, 0.075);
    }

.table .thead-dark th {
    color: #fff;
    background-color: #343a40;
    border-color: #454d55;
}

.table .thead-light th {
    color: #495057;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.table-dark {
    color: #fff;
    background-color: #343a40;
}

    .table-dark th,
    .table-dark td,
    .table-dark thead th {
        border-color: #454d55;
    }

    .table-dark.table-bordered {
        border: 0;
    }

    .table-dark.table-striped tbody tr:nth-of-type(odd) {
        background-color: rgba(255, 255, 255, 0.05);
    }

    .table-dark.table-hover tbody tr:hover {
        color: #fff;
        background-color: rgba(255, 255, 255, 0.075);
    }



/* For mobile phones: */
[class*="col-"] {
    width: 100%;
}


@media only screen and (min-width: 768px) {
    /* For desktop: */
    .col-1 {
        width: 8.33%;
    }

    .col-2 {
        width: 16.66%;
    }

    .col-3 {
        width: 25%;
    }

    .col-4 {
        width: 33.33%;
    }

    .col-5 {
        width: 41.66%;
    }

    .col-6 {
        width: 50%;
    }

    .col-7 {
        width: 58.33%;
    }

    .col-8 {
        width: 66.66%;
    }

    .col-9 {
        width: 75%;
    }

    .col-10 {
        width: 83.33%;
    }

    .col-11 {
        width: 91.66%;
    }

    .col-12 {
        width: 100%;
    }
    #box_form_kpi{
        padding-left: 15px;
        padding-right: 15px;
      }
}

  input[type='checkbox']:after {
    width: 7px;
    height: 7px;
    border-radius: 15px;
    top: -3px;
    left: -3px;
    position: relative;
    background-color: rgb(207, 230, 207);
    content: '';
    display: inline-block;
    visibility: visible;
    border: 2px solid white;
  }

  input[type='checkbox']:checked:after {
    width: 7px;
    height: 7px;
    border-radius: 15px;
    top: -3px;
    left: -3px;
    position: relative;
    background-color: #25b18E;
    content: '';
    display: inline-block;
    visibility: visible;
    border: 2px solid rgb(207, 230, 207);
  }


.box-finalize{
    max-width:400px;
    background-color: white;
    margin: auto;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    justify-items: center;
    margin-top: 50px;
      color: #01387B;
}
.error_text{
    font-size: 16px;
}
.text-message-error{
  font-weight: bold;
    font-size:26px;
}

 #box_kpi_vitals{
    width: 50%;
    border-radius: 25px;
}
@media(max-width: 576px) {

    #box_kpi_vitals{
        width: 90%;
     
    }
    [class*="col-"] {
        float: left;
        padding: 5px;
    }
    .box-form{
        width: 90%;
      }
      .form-group{
        margin-bottom: 5px;
      }
    #box_form_kpi{
        padding-left: 30px;
        padding-right: 30px;
      }
    #flow-box{
        width: 90%;
        margin: auto;
    }
    .terms-conditional-body{
        width:90%;
    }
    #flow-authenticate{
        padding:10px;
        width: 80%;
    }
  }