body {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

form {
    box-shadow: 0 0 20px rgba(212, 209, 209, 0.81);
    padding: 50px 35px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 380px;
}

form h2 {
    font-size: 35px;
    color: #0D0D0D;
    margin: 0;
}

form p {
    font-size: 16px;
    color: #5E5E5E;
    margin-bottom: 35px;
}

.input-wrapper {
    position: relative;
    width: 305px;
    margin-bottom: 35px;
}

input {
    color: #0D0D0D;
    padding: 20px 15px 20px 60px;
    width: 100%;
    border-radius: 25px;
    border: 0;
    box-shadow: 0 0 20px rgba(192, 203, 251, 0.7);
    outline: none;
    font-size: 16px;
}

input::placeholder {
    font-size: 16px;
    color: #BBBBE2;
}

.input-icon {
    position: absolute;
    height: 30px;
    width: 30px;
    left: 20px;
    top: 50px;
    transform: translateY(-138%);
}

.btn {
    padding: 20px;
    background: linear-gradient(90deg,
            rgba(140, 43, 231, 1) 25%,
            rgba(61, 1, 245, 1) 100%);
    box-shadow: 0 0 20px rgba(192, 203, 251, 0.7);
    color: #FFFFFF;
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
}

.btn:hover {
    background: rgb(153, 47, 252);
}

.success {
    position: absolute;
    top: 50px;
    color: #00C83C;
    font-size: 18px;
}

.error {
    position: absolute;
    top: 50px;
    color: #E02D00;
    font-size: 18px;

}

@media(max-width: 991px) {
    body {
        padding: 10px;
    }

    form {
        padding: 20px;
        width: 100%;
    }

    .input-wrapper {
        position: relative;
        width: 88%;
        margin-bottom: 35px;
    }

    input {
        padding: 20px 0px 20px 45px;

    }

    .input-icon {
        height: 20px;
        width: 20px;
    }
}




.admin-body {
    font-family: Arial, sans-serif;
    padding: 30px;
    background: #f2f2f2;
}

.admin-body h2 {
    text-align: center;
}

.admin-table {
    margin: auto;
    border-collapse: collapse;
    width: 90%;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.admin-table th,
.admin-table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: center;
}

.admin-table th {
    background-color: #00aaff;
    color: white;
}

.admin-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.admin-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #00aaff;
    text-decoration: none;
}

body {
    background-image: url('images/fondo.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    /* <-- Esto hace que el fondo sea fijo */
}

form {
    background-color: rgba(179, 179, 179, 0.136);
    /* fondo blanco semi transparente */
    padding: 20px;
    border-radius: 10px;
}

.boton-animado {
    display: inline-block;
    padding: 8px 20px;
    background-color: #25c961ff;
    /* color tipo WhatsApp */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.boton-animado:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}