

/* =========================
   BOTÓN ABRIR MODAL
========================= */

.ms-btn-login{
    background: #16c5e471;
    color: white;
    
    border: 1px solid rgba(223, 226, 236, 0.801) !important;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

.ms-btn-login:hover{
    background: #11b5d1;
}


/* =========================
   MODAL OVERLAY
========================= */

.ms-modal-overlay{
    position: fixed;
    inset: 0;
    background: rgba(18, 28, 61, 0.637);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;

    transition: .35s ease;
    z-index: 999;
}

.ms-modal-overlay.active{
    opacity: 1;
    visibility: visible;
}


/* =========================
   CARD MODAL
========================= */

.ms-login-modal{
    width: 530px;
    padding: 38px 32px;

    background-color: rgba(26, 99, 102, 0.412) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 1rem !important;
    box-shadow: 30px 30px 30px rgba(47, 99, 118, 0.85) !important;

    position: relative;

    color: white;

    
}





/* =========================
   CERRAR
========================= */

.ms-close-modal{
    position: absolute;
    top: 18px;
    right: 22px;

    background: transparent;
    border: none;

    color: rgba(255,255,255,.8);

    font-size: 34px;
    cursor: pointer;
}


/* =========================
   TITULOS
========================= */

.ms-brand-title{
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.ms-main-title{
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 8px;
}

.ms-register-link{
    
    text-align: center;
    color: rgba(255,255,255,.7);
    margin-bottom: 28px;
}

.ms-register-link a{
    display: inline;
    color: #1fd5f3;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}


/* =========================
   INPUTS
========================= */

.ms-input-group{
    margin-bottom: 22px;
}

.ms-input-group label{
    display: block;
    margin-bottom: 8px;

    font-size: 15px;
    font-weight: 600;
}

.ms-input-group label span{
    color: #ff6b6b;
}

.ms-input-group input{
    width: 100%;
    height: 48px;

    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.12);

    background: rgba(255,255,255,.08);

    padding: 0 15px;

    color: white;
    font-size: 15px;

    outline: none;
}

.ms-input-group input::placeholder{
    color: rgba(255,255,255,.65);
}

.ms-input-group input:focus{
    border-color: #16c5e4;
    background: rgba(255,255,255,.12);
}


/* =========================
   PASSWORD
========================= */

.ms-password-top{
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 10px;
}

.ms-password-top a{
    color: #1fd5f3;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

.ms-password-box{
    position: relative;
}

.ms-show-password{
    position: absolute;
    top: 0;
    right: 0;

    width: 40px;
    height: 48px;

    display: flex;
    justify-content: center;
    align-items: center;

    border: none;
    border-left: 1px solid rgba(255,255,255,.1);

    background: rgba(255,255,255,.05);

    color: rgba(255,255,255,.7);

    border-radius: 0 14px 14px 0;

    cursor: pointer;
}

#ms-eye-icon {
    width: 18px;
    height: 18px;
}


/* =========================
   CHECKBOX ANIMADO
========================= */

.ms-cbx-wrapper {
  cursor: pointer;
  position: relative;
  margin: auto;
  width: 16px;
  height: 16px;
  -webkit-tap-highlight-color: transparent;
  transform: translate3d(0, 0, 0);
}

.ms-cbx-wrapper:before {
  content: "";
  position: absolute;
  top: -15px;
  left: -15px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(34, 50, 84, 0.03);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.ms-cbx-wrapper svg {
  position: relative;
  z-index: 1;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: #c8ccd4;
  stroke-width: 1.5;
  transform: translate3d(0, 0, 0);
  transition: all 0.2s ease;
}

.ms-cbx-wrapper svg path {
  stroke-dasharray: 60;
  stroke-dashoffset: 0;
}

.ms-cbx-wrapper svg polyline {
  stroke-dasharray: 22;
  stroke-dashoffset: 66;
}

.ms-cbx-wrapper:hover:before {
  opacity: 1;
}

.ms-cbx-wrapper:hover svg {
  stroke: var(--ms-accent, #a3e583);
}

#ms-cbx2:checked + .ms-cbx-wrapper svg {
  stroke: var(--ms-accent, #a3e583);
}

#ms-cbx2:checked + .ms-cbx-wrapper svg path {
  stroke-dashoffset: 60;
  transition: all 0.3s linear;
}

#ms-cbx2:checked + .ms-cbx-wrapper svg polyline {
  stroke-dashoffset: 42;
  transition: all 0.2s linear;
  transition-delay: 0.15s;
}


/* =========================
   RECORDARME
========================= */




/* =========================
   BOTÓN ENTRAR
========================= */

.ms-submit-btn{
    width: 100%;
    height: 50px;

    border: none;
    border-radius: 12px;

    background: #14c5e5;

    color: white;
    font-size: 16px;
    font-weight: 700;

    cursor: pointer;
    transition: .3s;
}

.ms-submit-btn:hover{
    background: #0fb7d3;
    transform: translateY(-2px);
}


/* =========================
   VOLVER
========================= */

.ms-back-home{
    display: block;
    text-align: center;

    margin-top: 26px;

    color: #1fd5f3;
    text-decoration: none;

    font-size: 15px;
    font-weight: 600;
}


/* =========================
   RESPONSIVE
========================= */

@media(max-width: 600px){

    .ms-login-modal{
        width: 92%;
        padding: 40px 25px;
    }

    .ms-main-title{
        font-size: 38px;
    }

    .ms-password-top{
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
