/* Index.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

.OK {
    color: #28a745;
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid #28a745;
    border-radius: 5px;
    padding: 10px;
    margin: 1rem 0;
    text-align: center;
    font-size: 1rem;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.Error {
    color: #a72828;
    background-color: rgba(167, 40, 40, 0.1);
    border: 1px solid #a72828;
    border-radius: 5px;
    padding: 10px;
    margin: 1rem 0;
    text-align: center;
    font-size: 1rem;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    position: absolute;
    top: 0px;
    left: 20px;
    width: 98%;
}

.imagen_logo {
    width: 200px;
    height: auto;
}

.imagen_logo1 {
    width: 120px;
    height: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


.titulo {
    font-size: 24px;
    font-weight: 700;
    color: #1d008f;
    text-align: center;
    position: absolute;
    right: 150px;
    top: 12px;
    padding: 10px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.pilla {
    display: block;
}

.management {
    display: block;
    color: #ffffff;
    text-shadow: 1px 1px 2px #0400ff;
}

footer {
    position: absolute;
    bottom: 50px;
    left: 70%;
}

footer a {
    margin-right: 50px;
    text-decoration: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
}


body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url('Img/hol7.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    max-width: 350px;
    width: 100%;
    text-align: center;
}

.login-container a {
    cursor: pointer;
}

.register-container a {
    cursor: pointer;
}

.login-container img {
    width: 50%;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    background-color: #f1f1f1;
    padding: 1rem;
}

.register-container,
.login-container {
    transition: transform 1s ease-in-out;
    /* Transición de movimiento */
}

.register-container {
    transform: translateY(120%);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    width: 100%;
    text-align: center;
}

.register-container img {
    width: 50%;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    background-color: #f1f1f1;
    padding: 1rem;
}

.login-form h2 {
    margin-bottom: 1rem;
    color: #333333;
    font-size: 1.2rem;
    font-weight: 600;
}

.login-form input,
.login-form select {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background-color: #f9f9f9;
    font-size: 1rem;
    color: #333;
    outline: none;
    transition: border 0.3s;
}

.login-form input:focus,
.login-form select:focus {
    border: 1px solid #6c63ff;
}

.login-form select {
    appearance: none;
    -webkit-appearance: none;
    /* Safari */
    background-color: #f9f9f9;
    background-image: url('../Img/dropdown-icon.png');
    /* Icono personalizado */
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 1.5rem;
    cursor: pointer;
}

button {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background-color: #6c63ff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #5753c9;
}


.login-form button {
    width: 100%;
    padding: 0.8rem;
    background-color: #6c63ff;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-form button:hover {
    background-color: #574bdd;
}

a h3,
a {
    font-size: 15px;
    color: #000000;
    text-decoration: none;
}

/* Responsivo para tabletas y móviles */
@media (max-width: 768px) {

    body {
        background-image: url(Img/hol7\ -\ copia.jpg);
    }

    header {
        position: absolute;
        top: 0px;
        left: 20px;
        width: 98%;
    }

    .login-container img {
        width: 40%;
    }

    header {
        width: 90%;
    }

    .login-container {
        padding: 1.5rem;
        max-width: 90%;
    }

    .register-container img {
        width: 40%;
    }

    .register-container {
        padding: 1.5rem;
        max-width: 90%;
    }

    .imagen_logo {
        width: 180px;
    }

    footer {
        width: 100%;
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        bottom: 20px;
        left: 0;
    }

    footer a {
        margin-right: 20px;
    }

    .titulo {
        display: none;
    }
}

@media (max-height: 668px) {

    .imagen_logo1 {
        display: none;
    }

    footer {
        width: 100%;
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        bottom: 10px;
        left: 0;
    }

    .OK {
        margin-top: 0px;
    }

    .register-container {
        padding: 1rem;
    }

    .login-container {
        padding: 1rem;
    }

    .login-form h2 {
        font-size: 1rem;
    }

    .login-form input,
    .login-form button {
        padding: 0.6rem;
        font-size: 0.9rem;
    }

    .imagen_logo {
        width: 150px;
    }
}