body {
    margin: 0;
    padding: 0;
    background: url('../img/fondos/fondo_p2.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: Arial, sans-serif;
    text-align: center;
    backdrop-filter: blur(2px);
}

.container {
    text-align: center;
    background: linear-gradient(145deg, rgba(32, 14, 31, 0.44), rgba(8, 41, 70, 0.89));
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.6);
    width: 75%;
    max-width: 400px;
    backdrop-filter: blur(4px);
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
    font-size: 1.8rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

label {
    display: block;
    color: #fff;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

input[type="text"], input[type="password"] {
    width: 85%;
    padding: 12px;
    margin: 10px 0;
    border: none;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.2);
    text-align: center;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

input:focus {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 8px rgba(143, 182, 217, 0.9);
}

button {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: linear-gradient(145deg, rgb(32, 14, 31), rgba(143, 182, 217, 0.89));
    color: white;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

.b-p {
    display: inline-block;
    padding: 10px 20px;
    color:white;
    background: linear-gradient(173deg, rgba(92, 71, 166, 0.3), rgba(36, 44, 51, 0.89));
    text-decoration: none;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 13px;
    text-align: center;
    margin: 10px 5px 0;
    transition: background 0.3s ease, transform 0.2s ease;
}

.b-p:hover {
    background-color: #a02050;
    transform: scale(1.05);
}
