* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    background: #a34ac4;
    overflow-x: hidden;
    position: relative;

    /* IMPORTANTE */
    isolation: isolate;
}

/* ========================= */
/* CÍRCULOS DECORATIVOS */
/* ========================= */

.bg-circle {
    position: fixed;
    border-radius: 50%;
    background: rgba(123, 31, 162, 0.28);
    z-index: -1;
    pointer-events: none;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -120px;
    left: -120px;
}

.circle-2 {
    width: 220px;
    height: 220px;
    top: 80px;
    right: -90px;
}

.circle-3 {
    width: 160px;
    height: 160px;
    bottom: 80px;
    right: 120px;
}

.circle-4 {
    width: 260px;
    height: 260px;
    top: -140px;
    right: -120px;
    background: rgba(123, 31, 162, 0.30);
}

.circle-5 {
    width: 180px;
    height: 180px;
    bottom: 140px;
    left: 100px;
    background: rgba(123, 31, 162, 0.22);
}

.circle-6 {
    width: 140px;
    height: 140px;
    bottom: 40px;
    left: -40px;
    background: rgba(123, 31, 162, 0.18);
}

/* ========================= */
/* CONTENEDOR PRINCIPAL */
/* ========================= */

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 0 12px;
    position: relative;
    z-index: 1;
}

/* ========================= */
/* CAJA DEL FORMULARIO */
/* ========================= */

.container {
    width: 100%;
    max-width: 400px;
    background: #7b1fa2;
    padding: 80px 32px 38px;
    border-radius: 26px;
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

/* ========================= */
/* ICONO SUPERIOR */
/* ========================= */

.icon-circle {
    width: 130px;
    height: 130px;
    background: #f3c9ff;
    border-radius: 50%;
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-circle img {
    width: 125px;
    height: 125px;
    object-fit: contain;
}

/* ========================= */
/* TITULO */
/* ========================= */

.container h2 {
    margin-top: 35px;
    margin-bottom: 24px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 40px;
    color: white;
}
/* ========================= */
/* INPUTS */
/* ========================= */

.container input,
.container select {
    width: 100%;
    padding: 14px;
    margin: 12px 0;
    border-radius: 10px;
    border: none;
    background: #f2f2f2;
    font-size: 14px;
}

/* ========================= */
/* BOTÓN */
/* ========================= */

.container button {
    margin-top: 18px;
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: #f3b6ff;
    color: #5a007a;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.container button:hover {
    background: #eea7ff;
}

/* ========================= */
/* TEXTO */
/* ========================= */

.container p {
    margin-top: 20px;
    font-size: 14px;
}

.container a {
    color: #ffd6ff;
    text-decoration: none;
}

.container a:hover {
    text-decoration: underline;
}

/* ========================= */
/* RESPONSIVE CELULAR */
/* ========================= */

@media (max-width: 480px) {

    .login-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100svh;
        padding: 0 28px;
    }

    .container {
        max-width: 100%;
        padding: 70px 24px 28px;
        border-radius: 22px;
    }

    .icon-circle {
        width: 110px;
        height: 110px;
        top: -38px;
    }

    .icon-circle img {
        width: 105px;
        height: 105px;
    }

    container h2 {
    margin-top: 28px;
    margin-bottom: 18px;
    font-size: 22px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

    .container input,
    .container select {
        padding: 12px;
        margin: 9px 0;
        font-size: 13px;
    }

    .container button {
        padding: 13px;
        margin-top: 14px;
    }

    .container p {
        margin-top: 16px;
        font-size: 13px;
    }
}