body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: #f8f9fa;
    background-image: url('login-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-family: Jost, sans-serif;

}
.header {
    text-align: center;
    margin-bottom: 20px;
}
.header img , #workerImage {
    width: 64px;
    height: auto;
    border-radius: 50%;
}
.header img {
    width: 128px;
}
.header h1 {
    margin-top: 10px;
}
#footer {
    position: absolute;
    bottom: 0px;
    width: 100%;
}
.text-right {
    text-align: right;
}
#footer p {
    margin: 0;
    padding: 10px;
    font-size: 12px;
    color: grey;
}
#footer a {
    color: grey;
    text-decoration: none;
}

#companyName {
    font-size: 20px;
    color: grey;
}
.card {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}
#workerIdButton{
    width: 100%;
}
#footer-switch{
    text-align:center;
    font-size: 10px;
    color: grey;
    padding: 6px;
}
#footer-switch p {
    cursor: pointer;
}
#pin, #accion {
    display: none;
}
#clave {
    text-align: center;
}
#pinPage2 {
    padding-top:20px;
}
.numeric-keyboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
}
.numeric-keyboard button {
    padding: 15px;
    font-size: 18px;
    border: none;
    /*background-color: #007bff;
    color: white;*/
    border-radius: 5px;
    cursor: pointer;
}
.numeric-keyboard button:active {
    background-color: #0056b3;
}
#pinPage2 button {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    border: none;
    margin: 6px 0;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #007bff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#error, #success {
    display: none;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    z-index: 1000;
}
#error {
    background-color: red;
}
#success {
    background-color: green;
}