/* Toast Notifications */
#swp_toast_container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100001;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.swp_toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.3s ease;
    max-width: 380px;
}

.swp_toast.show {
    opacity: 1;
    transform: translateX(0);
}

.swp_toast.hide {
    opacity: 0;
    transform: translateX(40px);
}

.swp_toast i {
    font-size: 18px;
    flex-shrink: 0;
}

.swp_toast_success {
    background: #16a34a;
}

.swp_toast_error {
    background: #dc2626;
}

.swp_toast_warning {
    background: #d97706;
}

.swp_toast_info {
    background: #4a90d9;
}

/* Confirm Dialog */
.swp_confirm_overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 100002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.swp_confirm_overlay.visible {
    opacity: 1;
}

.swp_confirm_box {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transform: scale(0.95);
    transition: transform 0.2s;
}

.swp_confirm_overlay.visible .swp_confirm_box {
    transform: scale(1);
}

.swp_confirm_title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.swp_confirm_detail {
    font-size: 13px;
    color: #666;
    margin-bottom: 16px;
    line-height: 1.5;
}

.swp_confirm_buttons {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.swp_confirm_btn {
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.15s;
}

.swp_confirm_cancel {
    background: #f3f4f6;
    color: #374151;
}

.swp_confirm_cancel:hover {
    background: #e5e7eb;
}

.swp_confirm_ok {
    background: #4a90d9;
    color: #fff;
}

.swp_confirm_ok:hover {
    background: #3a7bc8;
}

@media (max-width: 480px) {
    #swp_toast_container {
        left: 10px;
        right: 10px;
    }

    .swp_toast {
        max-width: none;
    }
}