/* =========================================
   ESTILOS BASE
========================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    padding-top: 200px;
    background-image: url("/static/image/bg1.svg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    font-family: 'Montserrat', sans-serif;
}

/* Contenedor principal */
.container {
    position: relative;
    width: 400px;
    padding: 30px 50px;
    background: #FFF;
    text-align: center;
    border-radius: 100% 0% 0% 0% / 55% 0% 0% 0%;
}

/* Fondo superior decorativo */
.container::after {
    content: '';
    position: absolute;
    top: -200px;
    left: 0;
    right: 0;
    width: 100%;
    height: 420px;
    background-image: url('/static/image/bg2.png');
    background-position: top;
    background-size: cover;
    z-index: -11;
}

/* Rocket */
.container .rocket {
    width: 20px;
    position: absolute;
    top: -10px;
    right: -999%;
    animation: animate 1s ease infinite alternate;
    transition: all 0.3s ease;
}

/* Textos */
.container .text {
    margin: 30px 0 5px 0;
}
.container .text h1 {
    color: #9900FF;
    font-size: 2.5rem;
}
.container .text p {
    font-size: 1rem;
    color: #ff14b1;
}

/* Inputs animados */
.container .form .animated-input {
    display: flex;
    flex-direction: column;
}
.container .form .animated-input input[type='text'] {
    font-size: 1.6rem;       /* texto interno más grande */
    padding: 22px 18px;      /* altura del cuadro */
    border-bottom: 3px solid #9900FF;
    background: #ffffff;
    border-radius: 12px;
}

/* Placeholder más grande */
.container .form .animated-input input[type='text']::placeholder {
    font-size: 1.4rem;
    color: #b36dff; /* un violeta suave */
}

.container .form .animated-input input[type='text']:focus {
    border-color: #ff14b1;
    padding: 22px 18px;
}

.container .form .animated-input input[type='text'],
.container .form .animated-input input[type='password'] {
    font-size: 1.3rem;
    padding: 20px 10px 2px 10px;
    outline: none;
    border: none;
    border-bottom: solid 1px #616161;
    background: none;
    transition: all 0.3s ease;
}

.container .form .animated-input input:focus {
    padding: 20px 10px;
    border-color: #ff14b1;
}

.container .form .animated-input input[type='password'] {
    margin-top: 10px;
}

/* Remember & forgot */
.container .form .check {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    user-select: none;
}

.container .form .check input {
    display: none;
}

.container .form .check .disc {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #fff;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0 0 3px #000;
    transition: 0.2s ease;
}

.container .form .check input:checked ~ .disc {
    background: #9900FF;
}

.container .form .check .remember {
    color: #9900FF;
    font-weight: bold;
}

.container .form .check .forget a {
    text-decoration: none;
    color: #616161;
}

.container .form .check .forget a:hover {
    color: #9900FF;
}


/* Botón */
.container .btn {
    border: none;
    outline: none;
    width: 200px;
    padding: 15px;
    margin: 10px auto;
    font-size: 1.5rem;
    color: #fff;
    background: #ff14b1;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 1px 1px 6px #616161;
    transition: all 0.3s ease;
}

.container .btn:hover {
    background: #ff3BD5;
}

/* Crear cuenta */
.container .account a {
    text-decoration: none;
    color: #616161;
}

.container .account a:hover {
    color: #9900FF;
}

/* Animación */
@keyframes animate {
    0% { top: -120px; }
    100% { top: -130px; }
}


/* =========================================
   RESPONSIVE
========================================= */

/* ----------- MOBILE (hasta 600px) ----------- */
@media (max-width: 600px) {
    body {
        padding-top: 120px;
        overflow-y: auto;
        background-position: center;
    }

    .container {
        width: 90%;
        padding: 25px 25px;
        border-radius: 60% 0 0 0 / 40% 0 0 0;
    }

    .container::after {
        top: -150px;
        height: 300px;
        background-size: contain;
    }

    .container .rocket {
        width: 180px;
        top: -80px;
        right: -2%;
    }

    .container .text h1 {
        font-size: 1.8rem;
    }

    .container .text p {
        font-size: 1rem;
    }

    .container .form .animated-input input {
        font-size: 1rem;
        padding: 15px 8px 2px;
    }

    .container .btn {
        width: 100%;
        font-size: 1.2rem;
        padding: 12px;
    }
}

/* ----------- TABLETS (600–900px) ----------- */
@media (min-width: 600px) and (max-width: 900px) {
    body {
        padding-top: 160px;
    }

    .container {
        width: 70%;
    }

    .container .rocket {
        width: 230px;
        right: -5%;
        top: -100px;
    }
}

/* ----------- DESKTOP GRANDE (+1200px) ----------- */
@media (min-width: 1200px) {
    .container {
        width: 450px;
    }

    .container .rocket {
        width: 320px;
        right: -12%;
    }
}
