/* Loader Overlay Styles */
#satishdb-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.satishdb-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #2271b1;
    border-radius: 50%;
    animation: satishdb-spin 1s linear infinite;
}

@keyframes satishdb-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#satishdb-loader-overlay p {
    margin-top: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #2271b1;
}

/* Custom Modal Styles */
#satishdb-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
}

.satishdb-modal-container {
    background: #fff;
    width: 450px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    overflow: hidden;
    animation: satishdb-modal-fade 0.3s ease-out;
}

@keyframes satishdb-modal-fade {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.satishdb-modal-header {
    padding: 20px;
    background: #fcfcfc;
    border-bottom: 1px solid #eee;
}

.satishdb-modal-header h2 {
    margin: 0;
    font-size: 18px;
    color: #1d2327;
}

.satishdb-modal-body {
    padding: 25px 20px;
    font-size: 14px;
    line-height: 1.5;
    color: #3c434a;
}

.satishdb-modal-footer {
    padding: 15px 20px;
    background: #fcfcfc;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.satishdb-btn {
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.satishdb-btn-cancel {
    background: #fff;
    border-color: #dcdcde;
    color: #2c3338;
}

.satishdb-btn-cancel:hover {
    background: #f6f7f7;
    border-color: #c3c4c7;
}

.satishdb-btn-danger {
    background: #d63638;
    color: #fff;
}

.satishdb-btn-danger:hover {
    background: #b32d2e;
}
