/* Global Confirmation Modal */
.delete-confirm {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.delete-confirm.show {
    display: flex;
}

.confirm-dialog {
    background: #1a1f2e;
    border: 1px solid #2a3142;
    border-radius: 12px;
    padding: 24px;
    max-width: 400px;
    width: 90%;
    animation: confirmFadeIn 0.2s ease;
}

@keyframes confirmFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.confirm-title {
    font-size: 18px;
    font-weight: 600;
    color: #e8eaed;
    margin-bottom: 12px;
}

.confirm-message {
    color: #7e8ba3;
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.confirm-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-confirm {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    position: relative;
}

.btn-cancel {
    background: #2a3142;
    color: #e8eaed;
}

.btn-cancel:hover {
    background: #333a4d;
}

.btn-delete-confirm {
    background: rgb(255 60 60 / 54%);
    color: white;
}

.btn-delete-confirm:hover {
    background: #dc2626;
}

.btn-delete-confirm:disabled,
.btn-cancel:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-delete-confirm .btn-text {
    display: inline;
}

.btn-delete-confirm .fa-spinner {
    display: none;
}

.btn-delete-confirm:disabled .btn-text {
    display: none;
}

.btn-delete-confirm:disabled .fa-spinner {
    display: inline-block;
}
