/* Task Overlay Styles */
body.overlay-active {
    overflow: hidden;
}

.task-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.task-overlay.active {
    display: flex !important;
}

.task-overlay-content {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-width: 450px;
    width: 90%;
    animation: overlaySlideIn 0.4s ease-out;
}

.task-overlay-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: overlayPulse 2s infinite;
}

.task-overlay h3 {
    color: #2c3e50;
    margin: 0 0 15px 0;
    font-size: 26px;
    font-weight: 700;
    font-family: inherit;
}

.task-overlay p {
    color: #7f8c8d;
    margin: 0 0 30px 0;
    font-size: 18px;
    line-height: 1.6;
    font-family: inherit;
}

.task-overlay-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: overlaySpinner 1s linear infinite;
    margin: 0 auto;
}

@keyframes overlaySlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes overlayPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.8;
    }
}

@keyframes overlaySpinner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

