.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 900;
}

.dialog-container {
    position: absolute;
    background: rgba(255, 255, 255, 1);
    opacity: 1;
    border-radius: 10px;
    padding: 10px 10px 10px 20px;
    width: 400px;
    box-shadow: 0 8px 16px var(--planify_divs_border);
    animation: fadeIn 0.2s ease-out;
    z-index: 9999;
    text-align: center;
}

.dialog-container div {
    margin-bottom: 20px;
    text-align: left;
}

.dialog-container button {
    margin-right: 5px;
}

.lbl_yourShifts {
    font-weight: bold;
    text-decoration: underline;
    font-size: 14pt;
}

.error {
    color: darkred;
    margin-bottom: 15px;
    animation: shake 0.3s ease;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    50% {
        transform: translateX(5px);
    }
    75% {
        transform: translateX(-5px);
    }
    100% {
        transform: translateX(0);
    }
}