@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap');

body {
    background: linear-gradient(to left, rgba(46, 60, 118, 1.2), rgba(46, 60, 118, 0.4)),
                url("https://altertecnia.com/wp-content/uploads/almacenes-inteligentes-portada.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.nav-links {
    position: absolute;
    top: 20px;
    right: 50px;
}

.nav-links a {
    margin: 0 15px;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.login-container {
    background: rgba(255, 183, 77);
    padding: 20px;
    border-radius: 20px;
    width: 400px;
    position: relative;
}

.login-container h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #1a1a1a;
}

.register-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding: 10px;
    border-radius: 20px;
    width: 100%;
}

.register-section p {
    margin-bottom: 0;
    color: white;
    flex: 1;
    text-align: left;
}

.register-section button {
    flex: 1;
    text-align: center;
}

.btn-facebook {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

@media (max-width: 768px) {
    body {
        padding: 30px 16px;
        height: auto;
        min-height: 100vh;
    }

    .nav-links {
        top: 16px;
        right: 20px;
    }

    .login-container {
        width: min(90vw, 360px);
        padding: 18px;
    }

    .register-section {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .register-section p {
        text-align: center;
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 60px;
    }

    .nav-links {
        position: static;
        text-align: center;
        margin-bottom: 20px;
    }

    .nav-links a {
        display: inline-block;
        margin: 0 8px;
        font-size: 0.95rem;
    }

    .login-container {
        width: 100%;
        padding: 16px;
    }

    .register-section {
        width: 100%;
    }
}
