@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    --background-dark: rgb(16, 32, 65);
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --accent: rgb(24, 160, 92);
    --input-bg: rgba(255, 255, 255, 0.05);
    --input-border: rgba(255, 255, 255, 0.1);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}


body {
    font-family: system-ui, -apple-system, sans-serif;
    background-color: var(--background-dark);
    color: var(--text-primary);
    min-height: 100vh;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Left Side */
.left-side {
    display: none;
    position: relative;
    width: 50%;
    overflow: hidden;
    background-color: #000;
}

.curve {
    position: absolute;
    top: 0;
    right: -100px;
    width: 200px;
    height: 100%;
    background-color: var(--background-dark);
    border-radius: 50% 0 0 50% / 50%;
    z-index: 2;
}

.background-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(16, 32, 65, 0.4),
            rgba(16, 32, 65, 0.8));
}

.overlay_dos {
    display: none;
}

.content-top {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 2;
}

.logo {
    width: 100px;
}

.logolargo {
    width: 400px;
}

.content-bottom {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Right Side */
.right-side {
    flex: 1;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.header {
    text-align: center;
    margin-bottom: 3rem;
}

.school-logo {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--text-primary);
}

.login-content {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 40px;
}

.login-content h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.login-content>p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    color: var(--text-secondary);
    font-size: 20px;
    font-weight: bolder;
}

input {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--text-primary);
    border-radius: 0.5rem;
    outline: none;
    transition: border-color 0.3s;
}

input:focus {
    border-color: var(--accent);
}

#token {
    letter-spacing: 0.5em;
    font-size: 1.2em;
    text-align: center;
}

.btn-cus {
    font-size: 16px;
    font-weight: 600;
    padding: 12px 15px;
    background: rgb(24, 160, 92);
    color: #ffffff;
    border: none;
    border: rgb(24, 160, 92) solid 2px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cus:hover {
    background: #fff;
    color: rgb(24, 160, 92);
}

/* Responsive */
@media (min-width: 1024px) {
    .left-side {
        display: block;
    }

    .right-side {
        padding: 3rem;
    }
}

@media (max-width: 1023px) {
    .container {
        justify-content: center;
    }

    .right-side {
        max-width: 500px;
        z-index: 100;
    }

    .container {
        background-image: url(https://sfo3.digitaloceanspaces.com/e-fuente/e-fuentedevida.net/inicio22_2/servicios_busqueda/elrecurso/alumnos.webp);
        background-repeat: no-repeat;
        background-size: cover;
    }

    .overlay_dos {
        display: block;
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom,
                rgba(16, 32, 65, 0.59),
                rgba(16, 32, 65, 0.893));
    }

    input {
        width: 100%;
        padding: 0.75rem 1rem;
        background-color: rgba(255, 255, 255, 0.27);
        border: 1px solid rgba(255, 255, 255, 0.305);
        color: var(--text-primary);
        border-radius: 0.5rem;
        outline: none;
        transition: border-color 0.3s;
    }

    input::placeholder {
        color: #ffffff6d;
    }
}

@media screen and (max-width: 470px) {
    .login-content {
        max-width: 300px;
    }

    .logolargo {
        width: 300px;
    }
}

@media screen and (max-width: 370px) {
    .login-content {
        max-width: 200px;
    }

    .logolargo {
        width: 200px;
    }
}


/* --- custom --- */
/* Para navegadores WebKit (Chrome, Safari, Edge) */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Para Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}