﻿html, body {
    height: 100%;
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

/* Fondo pantalla completa */
body {
    background-image: linear-gradient(to right, #ddff3338 0%, #ffb30061 51%, #f46800ed 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Contenedor */
.login-container {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    width: 350px;
    max-width: 100%;
    box-shadow: 0 10px 25px #4d1a00;
}

    /* Título */
    .login-container h1 {
        margin-bottom: 20px;
        color: #723c00;
        text-align: center;
    }

/* Inputs */
.form-control {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-bottom: 12px;
    transition: 0.3s;
}

    .form-control:focus {
        border-color: #1b3f7a;
        outline: none;
        box-shadow: 0 0 5px rgba(27,63,122,0.3);
    }

label {
    color: #b54400;
    font-weight: 600;
    font-size: 14px;
}

/* Botón */
.btn-primary {
    width: 100%;
    padding: 12px;
    border: none;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
    background-image: linear-gradient(to right, #f99424 0%, #904b02 51%, #000000 100%);
}

    .btn-primary:hover {
        background-image: linear-gradient(to right, #000000 0%, #904b02 51%, #f99424 100%);
    }

/* Error */
.text-danger {
    font-size: 14px;
    margin-top: 10px;
}

/* 📱 TABLET */
@media (max-width: 768px) {
    .login-container {
        width: 100%;
        max-width: 420px;
        padding: 30px;
    }
}

/* 📱 MÓVIL */
@media (max-width: 480px) {
    body {
        align-items: center;
        padding: 15px;
    }

    .login-container {
        width: 100%;
        padding: 25px;
        border-radius: 10px;
    }

        .login-container h1 {
            font-size: 1.4rem;
        }
}



.rounded-alert {
    border-radius: 14px;
    font-family: 'Roboto', sans-serif;
    width: 360px !important;
}

    .rounded-alert .swal2-title {
        font-size: 20px !important;
    }


    .rounded-alert .swal2-html-container,
    .rounded-alert .swal2-content {
        font-size: 14px !important;
        margin-top: 8px !important;
    }

.btn-alert {
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
}






