#loadingOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 9999;
}

#loadingOverlay > div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.statusDiv {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
    min-width: 300px;
    max-width: 500px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease-in-out;
}

.statusDiv.fade-in {
    opacity: 1;
    transform: translateX(0);
}

.statusDiv.fade-out {
    opacity: 0;
    transform: translateX(100%);
}

.statusDiv .status-message {
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 0.375rem;
    transition: all 0.3s ease-in-out;
}

.statusDiv .status-message:last-child {
    margin-bottom: 0;
}

.statusDiv .status-message .close {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: 0.7;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.statusDiv .status-message .close:hover,
.statusDiv .status-message .close:focus {
    color: #000;
    text-decoration: none;
    opacity: 1;
}

/* Responsive behavior for mobile */
@media (max-width: 768px) {
    .statusDiv {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
        transform: translateY(-100%);
    }
    
    .statusDiv.fade-in {
        transform: translateY(0);
    }
    
    .statusDiv.fade-out {
        transform: translateY(-100%);
    }
}