/*  
============================
Styles login
Author: rdany8719@gmail.com
============================
*/

:root {
    --primary: #0f6ad8;
    --primary-dark: #0b3e91;
    --cyan: #23c4d8;
    --text: #163253;
    --text-light: #6f7d93;
    --border: #d9e2ef;
    --bg: #f8fbff;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html,
body {
    width: 100%;
    height: 100%;
}
body {
    font-family: "Inter", sans-serif;
    background: var(--bg);
    overflow: hidden;
}
.login {
    display: flex;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
.login-left {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    background: #fff;
}
/* logo */
.login-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 70px 0;
}
.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    flex-shrink:0;
    background: #eef6ff;
    background:url("../img/logos/logo_sitah.webp") center center / contain no-repeat;
}
.login-logo img{
    width:77px;
    height:77px;
}
.login-brand{
    display:flex;
    flex-direction:column;
    justify-content:center;
}
.login-brand h1 {
    font-size: 27px;
    font-weight: 650;
    letter-spacing: -1px;
    color: var(--text);
}
.login-brand h1 span {
    color: var(--cyan);
    font-weight: 470;
}
.login-brand p {
    margin-top: -7px;
    font-size: 13px;
    color: var(--text-light);
}
.login-content {
    width: 100%;
    max-width: 460px;
    margin: auto;
    margin-left: auto;
    margin-right: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 25px;
    transform: translateX(67px);
}
.login-content h2 {
    font-size: 47px;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text);
}
.login-content>p {
    margin-top: 7px;
    margin-bottom: 50px;
    font-size: 20px;
    color: var(--text-light);
}
.login-group {margin-bottom: 12px;}
.login-group label {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 500;
    color: #4d6079;
}
.login-control {position: relative;}
.login-control input {
    width: 100%;
    height: 53px;
    padding: 0 22px;
    border: 1px solid var(--border);
    border-radius: 57px;
    background: #fff;
    outline: none;
    font-size: 18px;
    color: #2f3b4c;
    transition: .25s;
}
.login-control input::placeholder {color: #9aa8bb;}
.login-control input:hover {border-color: #c5d3e4;}
.login-control input:focus {
    border-color: #58b8ff;
    box-shadow: 0 0 0 5px rgba(61, 151, 255, .10);
}
.login-password button {
    position: absolute;
    top: 50%;
    right: 22px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #61738d;
    cursor: pointer;
    transition: .2s;
}
.login-password button:hover {background: #eef5ff;}
.login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    height: 53px;
    margin-top: 10px;
    border: none;
    border-radius: 57px;
    background: linear-gradient(90deg, #16b7e8 0%, #0f6ad8 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 27px rgba(15, 106, 216, .28);
    transition: .25s;
}
.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 45px rgba(15, 106, 216, .34);
}
.login-btn:active {transform: translateY(0);}
.login-footer {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 50px;
}
.login-footer span {
    flex: 1;
    height: 1px;
    background: #d9e2ef;
}
.login-footer small {
    color: #7d8aa0;
    font-size: 14px;
}
.login-links{
    margin-top:20px;
    text-align:center;
}
.login-links a{
    color:#6f7d93;
    font-size:14px;
    text-decoration:none;
}
.login-links a:hover{
    color:#0f6ad8;
}

/* logo */
.login-company {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 70px 0;
}
.company-logo {
    width: 320px;
    height: 70px;
    border-radius: 10px;
    background: #eef4fb;
    background:url("../img/logos/logo_letras.webp") center center / contain no-repeat;
}
.company-text {
    color: #7b8798;
    font-size: 15px;
    line-height: 1.4;
}

/* login-right */
.login-right {
  position: relative;
  display: flex;              
  flex-direction: column;     
  justify-content: center;    
  align-items: center;        
  width: 38%;
  background:linear-gradient(180deg,#16b7e8 0%,#1495dd 45%,#0f6ad8 100%);
  color: #fff;
  overflow: hidden;
}
.login-wave{
    position:absolute;
    left:-250px;
    top:-5%;
    width:500px;
    height:110%;
    background:#fff;
    border-radius:50%;
    opacity:1;
    z-index: 1;
}
.login-wave::after{
    content:"";
    position:absolute;
    right:-18px;
    top:0;
    width:55px;
    height:100%;
    border-radius:50%;
    background:linear-gradient(
        to right,
        rgba(255,255,255,0),
        rgba(255,255,255,.22)
    );
}
.login-wave-2{
    position:absolute;
    left:210px;
    top:-5%;
    width:45px;
    height:110%;
    background:rgba(255,255,255,.18);
    border-radius:50%;
    z-index: 2;
}
.login-drop {
  position: absolute;
  top: 50%;
  left: 14%;
  transform: translate(+50%,-50%);
  z-index: 10;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #fafbfc url("../img/logos/gota_sin_letras.webp") no-repeat center/100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* media */
@media (max-width:1200px) {
    .login-left {
        width: 100%;
        padding: 40px;
    }
    .login-right {display: none;}
    .login-content {
        margin: 70px auto;
        transform: none;
    }
}
@media (max-width:768px) {
    .login-left {padding: 30px;}
    .login-header {
        justify-content: center;
        margin-bottom: 40px;
    }
    .login-brand h1 {font-size: 34px;}
    .login-content h2 {
        font-size: 42px;
        text-align: center;
    }
    .login-content>p {
        font-size: 18px;
        text-align: center;
    }
    .login-control input {
        height: 60px;
        font-size: 16px;
    }
    .login-btn {
        height: 60px;
        font-size: 18px;
    }
    .login-company {display: none;}
}