body {
    background-color: #1E305C;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 15px;
    min-height: 100vh;
}

header {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

header img {
    width: 40%;
    max-width: 220px;
    height: auto;
    background-color:  #1E305C;
}

.main-card {
    background-color: white;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    width: 100%;
    max-width: 400px;
}

#workerCodeInput {
    font-size: 1.25rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: red !important;
}

#checkButton {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    border: none;
    color: white;
    margin: 20px auto;
    display: block;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.photo-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4 / 3;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
}


.selfie-preview {
    max-width: 100%;
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
    object-fit: cover;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

#canvasPreview {
    position: absolute !important;
    left: -9999px !important;
}

#checkButton.IN {
    background-color: #198754;
}

#checkButton.OUT {
    background-color: #dc3545;
}

#create-worker-btn-container {
    margin-top: 20px;
}