﻿/* General reset */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #f0f0f5, #c2c2d6);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Form styling */
form {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    /* Logo styling */
    form .logo {
        height:150px;
        margin-bottom: 20px;
    }

    /* Title styling */
    form h1 {
        font-size: 1.5rem;
        font-weight: bold;
        color: #333;
        margin-bottom: 20px;
    }

    /* Input fields and labels */
    form div {
        width: 100%;
        margin-bottom: 15px;
    }

    form label {
        font-size: 0.9rem;
        color: #555;
        margin-bottom: 5px;
        display: block;
        text-align:left;
    }

    form input[type="text"],
    form input[type="password"],
    form .aspNetDisabled {
        width: 95%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 0.9rem;
        transition: all 0.3s ease-in-out;
    }

        form input[type="text"]:focus,
        form input[type="password"]:focus {
            border-color: #4facfe;
            box-shadow: 0 0 5px rgba(79, 172, 254, 0.5);
            outline: none;
        }

    /* Button styling */
    form button,
    form input[type="submit"] {
        width: 100%;
        padding: 10px;
        background: #3366cc;
        color: #fff;
        font-size: 1rem;
        font-weight: bold;
        text-transform: uppercase;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: all 0.3s ease-in-out;
    }

        form button:hover,
        form input[type="submit"]:hover {
            background: #7094db;
        }

    /* Footer text */
    form div:last-of-type {
        text-align: center;
        margin-top: 15px;
        font-size: 0.8rem;
        color: #888;
    }

        form div:last-of-type a {
            color: #4facfe;
            text-decoration: none;
        }

/* Responsive Design */
/* Responsive Design */
@media (max-width: 480px) {
    form {
        padding: 15px; /* Ajustar el relleno interno */
        margin: 10px; /* Agregar margen externo */
        width: calc(100% - 10%); /* Evitar que el formulario toque los bordes */
        box-sizing: border-box; /* Asegurar que el padding y border no excedan el ancho */
    }

        form h1 {
            font-size: 1.2rem;
        }

        form input[type="text"],
        form input[type="password"] {
            padding: 8px;
            width: 95%;
        }

        form button {
            padding: 8px;
            font-size: 0.9rem;
        }
}
