/* === GENERAL === */
body {
    background: url('/imagenes/login.webp') no-repeat center center fixed;
    background-size: cover;
    color: white;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow: hidden; /* Evita el scroll */
}

/* === CONTENEDOR PRINCIPAL === */
.mobile-container {
    width: 90%;
    max-width: 350px;
    min-height: 500px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    box-shadow: 0 0 15px rgba(27, 77, 150, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 3px solid #1b4d96;
    margin: 20px auto;
}

/* === INPUTS === */
.form-control {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    border: 1px solid #eff3f7;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    margin-bottom: 15px;
}

/* === BOTONES PERSONALIZADOS === */
.btn-custom {
    background: linear-gradient(to right, #366FE7, #4A90E2);
    border: none;
    color: white;
    border-radius: 20px;
    padding: 10px;
    font-size: 16px;
    width: 100%;
    transition: background 0.3s, transform 0.2s;
    cursor: pointer;
}

.btn-custom:hover {
    background: linear-gradient(to right, #2b5bbd, #3a78d8);
    transform: scale(1.03);
}

.btn-custom:active {
    background: linear-gradient(to right, #204a96, #2a6cc2);
    transform: scale(0.98);
}

/* === PIE DE PÁGINA (FOOTER) === */
.footer-custom {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 1cm;;
    background: linear-gradient(to right, #182752, #4A90E2);
    color: rgb(14, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.footer-custom a {
    color: rgb(7, 0, 0);
    font-size: 20px;
    margin: 0 10px;
    transition: color 0.3s, transform 0.2s;
}

.footer-custom a:hover {
    color: #ffaa00;
    transform: scale(1.2);
}

/* === MEDIA QUERIES (RESPONSIVE) === */
@media (max-width: 768px) {
    .mobile-container {
        width: 95%;
        min-height: 400px;
        padding: 15px;
    }

    .form-control,
    .btn-custom {
        font-size: 14px;
    }

    .footer-custom {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .mobile-container {
        width: 98%;
        min-height: 350px;
        padding: 10px;
    }

    .form-control,
    .btn-custom {
        font-size: 12px;
    }

    .footer-custom {
        height: 35px;
    }
}
