*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    display:flex;
    justify-content:center;
    align-items:center;
    height:100vh;
    background:#ffffff; /* Fondo agua claro */
}

/* ==========================
   CONTENEDOR PRINCIPAL
========================== */
.container{
    width:75%;
    background:white;
    display:flex;
    border-radius:15px;
    overflow:hidden;
    
    transition:.3s;
}

/* ==========================
      LADO IZQUIERDO AGUA
========================== */
.left{
    width:50%;
    background:linear-gradient(160deg, #00A2FF 0%, #00D4E0 50%, #59FFF8 100%);
    color:white;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction:column;
    text-align:center;
    padding:40px 25px;
    position:relative;
    overflow:hidden;
}

/* Ondas de agua internas */
.left::before{
    content:"";
    position:absolute;
    width:380px;
    height:380px;
    background:rgba(255,255,255,0.25);
    border-radius:50%;
    top:-90px;
    right:-110px;
    filter:blur(25px);
}

.left::after{
    content:"";
    position:absolute;
    width:300px;
    height:300px;
    background:rgba(255,255,255,0.18);
    border-radius:50%;
    bottom:-80px;
    left:-60px;
    filter:blur(28px);
}

/* TITULOS */
.left h1{
    font-size:85px;
    font-weight:bold;
    letter-spacing:2px;
    margin-bottom:-10px;
    text-shadow:0 0 10px rgba(255,255,255,.5);
}

.left h3{
    font-size:28px;
    margin-bottom:8px;
    font-weight:600;
}

.left p{
    font-size:14px;
    opacity:.95;
    max-width:80%;
    line-height:22px;
    margin-top:5px;
}

/* ==========================
         FORMULARIO
========================== */
.right{
    width:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction:column;
    padding:30px;
}

.right form{
    width:80%;
    text-align:center;
}

input{
    width:100%;
    padding:14px;
    margin:12px 0;
    border-radius:50px;
    border:1px solid #7FF3EE;
    background:#DFFFFA;
    font-size:14px;
    outline:none;
    transition:.3s;
}

input:focus{
    border-color:#00E3DB;
    box-shadow:0 0 10px #00e3db90;
}

/* ==========================
   PASSWORD CON OJO
========================== */
.password-box{
    width:100%;
    position:relative;
}

.password-box input{
    padding-right:45px;
}

.toggle{
    position:absolute;
    right:15px;
    top:50%;
    transform:translateY(-50%);
    font-size:20px;
    cursor:pointer;
    color:#00C7CF;
}

/* ==========================
          BOTÓN
========================== */
.btn{
    width:100%;
    background:#00C6D2;
    color:white;
    border:none;
    padding:14px;
    border-radius:50px;
    font-size:17px;
    margin-top:25px;
    cursor:pointer;
    transition:.3s;
    box-shadow:0 0 10px #00d9fd7c;
}

.btn:hover{
    background:#00a5cc;
    box-shadow:0 0 15px #00f7ffad;
}
.container p.error {
    color: red;
    font-size: 0.9em;
    margin-top: 10px;
}



/* ==========================
       RESPONSIVE
========================== */
@media (max-width:850px){
    .container{
        width:90%;
        height:auto;
        flex-direction:column;
    }
    .left{
        width:100%;
        height:260px;
        padding:30px;
    }
    .right{
        width:100%;
        padding:40px 25px;
    }
    .left h1{ font-size:55px; }
    .left h3{ font-size:22px; }
}

@media (max-width:450px){
    input, .btn{ font-size:14px; }
    .toggle{ font-size:18px; }
}
